r.pack.html 1.4 KB

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