Debian Codegraph @

scripts/r.pack/r.pack.html

raw
1 <h2>DESCRIPTION</h2>
2
3 <em>r.pack</em> collects raster map elements and support files and
4 compressed them using <em>gzip</em> algorithm for copying. The resulting
5 packed file can be afterwards unpacked within a GRASS session
6 by <em><a href="r.unpack.html">r.unpack</a></em>.
7
8 Since the selected raster map is not exported but natively stored, the
9 current region is not respected. Hence <em>r.pack</em> stores the entire
10 raster map.
11
12 <h2>NOTES</h2>
13
14 By default, the name of the pack file is determined from the <b>input</b>
15 parameter. Optionally a different name can be given by <b>output</b> parameter.
16
17 Currently only 2D raster maps are supported.
18
19 <h2>EXAMPLE</h2>
20
21 Pack up the entire raster map <i>aspect</i> into <i>aspect.pack</i> file:
22
23 <div class="code"><pre>
24 r.pack input=aspect
25 </pre></div>
26
27 The packed raster map file <i>aspect.pack</i> can afterwards be unpacked by
28
29 <div class="code"><pre>
30 r.unpack input=aspect.pack
31 </pre></div>
32
33 <h2>SEE ALSO</h2>
34
35 <em>
36 <a href="r.unpack.html">r.unpack</a>,
37 <a href="r.in.gdal.html">r.in.gdal</a>,
38 <a href="g.copy.html">g.copy</a>,
39 <a href="r.proj.html">r.proj</a>,
40 <a href="v.unpack.html">v.unpack</a>
41 </em>
42
43 <h2>AUTHORS</h2>
44
45 Original Bash script written by Hamish Bowman, Otago University, New Zealand
46 <br>
47 Converted to Python and updated for GRASS 7 by Martin Landa, Czech Technical University in Prague, Czech Republic