1r.pack(1) GRASS GIS User's Manual r.pack(1)
2
3
4
6 r.pack - Exports a raster map as GRASS GIS specific archive file
7
9 raster, export, copying
10
12 r.pack
13 r.pack --help
14 r.pack [-c] input=name [output=name] [--overwrite] [--help]
15 [--verbose] [--quiet] [--ui]
16
17 Flags:
18 -c
19 Switch the compression off
20
21 --overwrite
22 Allow output files to overwrite existing files
23
24 --help
25 Print usage summary
26
27 --verbose
28 Verbose module output
29
30 --quiet
31 Quiet module output
32
33 --ui
34 Force launching GUI dialog
35
36 Parameters:
37 input=name [required]
38 Name of raster map to pack up
39
40 output=name
41 Name for output file (default is <input>.pack)
42
44 r.pack collects raster map elements and support files and compressed
45 them using gzip algorithm for copying. The resulting packed file can be
46 afterwards unpacked within a GRASS GIS session by r.unpack. Since the
47 selected raster map is not exported but natively stored, the current
48 region is not respected. Hence r.pack stores the entire raster map.
49
51 By default, the name of the pack file is determined from the input
52 parameter. Optionally a different name can be given by output parame‐
53 ter. Currently only 2D raster maps are supported.
54
56 Pack up the entire raster map aspect into aspect.pack file:
57 r.pack input=aspect
58 The packed raster map file aspect.pack can afterwards be unpacked by
59 r.unpack input=aspect.pack
60
62 r.unpack, r.in.gdal, g.copy, r.proj, v.unpack
63
65 Original Bash script written by Hamish Bowman, Otago University, New
66 Zealand
67 Converted to Python and updated for GRASS 7 by Martin Landa, Czech
68 Technical University in Prague, Czech Republic
69
71 Available at: r.pack source code (history)
72
73 Main index | Raster index | Topics index | Keywords index | Graphical
74 index | Full index
75
76 © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
77
78
79
80GRASS 7.8.5 r.pack(1)