File: r.pack.html

package info (click to toggle)
grass 8.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 277,040 kB
  • sloc: ansic: 460,798; python: 227,732; cpp: 42,026; sh: 11,262; makefile: 7,007; xml: 3,637; sql: 968; lex: 520; javascript: 484; yacc: 450; asm: 387; perl: 157; sed: 25; objc: 6; ruby: 4
file content (47 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<h2>DESCRIPTION</h2>

<em>r.pack</em> collects raster map elements and support files and
compressed them using <em>gzip</em> algorithm for copying. The resulting
packed file can be afterwards unpacked within a GRASS GIS session
by <em><a href="r.unpack.html">r.unpack</a></em>.

Since the selected raster map is not exported but natively stored, the
current region is not respected. Hence <em>r.pack</em> stores the entire
raster map.

<h2>NOTES</h2>

By default, the name of the pack file is determined from the <b>input</b>
parameter. Optionally a different name can be given by <b>output</b> parameter.

Currently only 2D raster maps are supported.

<h2>EXAMPLE</h2>

Pack up the entire raster map <i>aspect</i> into <i>aspect.pack</i> file:

<div class="code"><pre>
r.pack input=aspect
</pre></div>

The packed raster map file  <i>aspect.pack</i> can afterwards be unpacked by

<div class="code"><pre>
r.unpack input=aspect.pack
</pre></div>

<h2>SEE ALSO</h2>

<em>
<a href="r.unpack.html">r.unpack</a>,
<a href="r.in.gdal.html">r.in.gdal</a>,
<a href="g.copy.html">g.copy</a>,
<a href="r.proj.html">r.proj</a>,
<a href="v.unpack.html">v.unpack</a>
</em>

<h2>AUTHORS</h2>

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