table of contents
other versions
- buster 7.6.0-1
- testing 7.8.5-1
- unstable 7.8.5-1
- experimental 7.8.6~rc2-1~exp1
r.pack(1grass) | Grass User's Manual | r.pack(1grass) |
NAME¶
r.pack - Exports a raster map as GRASS GIS specific archive fileKEYWORDS¶
raster, export, copyingSYNOPSIS¶
r.packr.pack --help
r.pack [-c] input=name [output=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]
Flags:¶
- -c
-
Switch the compression off - --overwrite
-
Allow output files to overwrite existing files - --help
-
Print usage summary - --verbose
-
Verbose module output - --quiet
-
Quiet module output - --ui
-
Force launching GUI dialog
Parameters:¶
- input=name [required]
-
Name of raster map to pack up - output=name
-
Name for output file (default is <input>.pack)
DESCRIPTION¶
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.EXAMPLE¶
Pack up the entire raster map aspect into aspect.pack file:r.pack input=aspectThe packed raster map file aspect.pack can afterwards be unpacked by
r.unpack input=aspect.pack
SEE ALSO¶
r.unpack, r.in.gdal, g.copy, r.proj, v.unpackAUTHORS¶
Original Bash script written by Hamish Bowman, Otago University, New ZealandConverted to Python and updated for GRASS 7 by Martin Landa, Czech Technical University in Prague, Czech Republic
Last changed: $Date: 2016-04-14 09:01:22 +0200 (Thu, 14 Apr 2016) $
SOURCE CODE¶
Available at: r.pack source code (history)Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
GRASS 7.6.0 |