r.pack(1grass)

r.pack1grass

Exports a raster map as grass gis specific archive file

Usage

r.pack

r.pack --help

r.pack [-c] input=name [output=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Keywords

raster, export, copying

Overview

r.pack collects raster map elements and support files and compressed them using gzip algorithm for copying. The resulting packed file can be afterwards unpacked within a GRASS GIS session by r.unpack. Since the selected raster map is not exported but natively stored, the current region is not respected. Hence r.pack stores the entire raster map.

Notes

By default, the name of the pack file is determined from the input parameter. Optionally a different name can be given by output parameter. Currently only 2D raster maps are supported.

Examples

Pack up the entire raster map aspect into aspect.pack file:

r.pack input=aspect

The packed raster map file aspect.pack can afterwards be unpacked by

r.unpack input=aspect.pack

Source code

Available at: r.pack source code (history)

Accessed: Monday Feb 24 17:51:45 2025

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Authors

Original Bash script written by Hamish Bowman, Otago University, New Zealand
Converted to Python and updated for GRASS 7 by Martin Landa, Czech Technical University in Prague, Czech Republic

From grass-doc 8.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.