[GRASS-SVN] r67896 - grass/trunk/raster/r.compress
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 20 02:09:08 PST 2016
Author: mmetz
Date: 2016-02-20 02:09:08 -0800 (Sat, 20 Feb 2016)
New Revision: 67896
Modified:
grass/trunk/raster/r.compress/r.compress.html
Log:
r.compress: example with GRASS_COMPRESSOR
Modified: grass/trunk/raster/r.compress/r.compress.html
===================================================================
--- grass/trunk/raster/r.compress/r.compress.html 2016-02-20 10:08:19 UTC (rev 67895)
+++ grass/trunk/raster/r.compress/r.compress.html 2016-02-20 10:09:08 UTC (rev 67896)
@@ -24,7 +24,7 @@
<p>
Raster maps that are already compressed are again compressed. This is
useful if either the compression method set with the environment
-variable <b>GRASS_COMPRESSOR</b> (RLE, ZLIB, LZ4, BZiP2) is changed or
+variable <b>GRASS_COMPRESSOR</b> (RLE, ZLIB, LZ4, BZIP2) is changed or
if the ZLIB compression level is manually changed by setting the
environment variable GRASS_ZLIB_LEVEL.
@@ -137,7 +137,19 @@
unset GRASS_INT_ZLIB
</pre></div>
+<p>
+Applying BZIP2 compression to a copy of the ZLIB-compressed map:
+<div class="code"><pre>
+# compression of map using BZIP2 compression
+g.copy raster=compressed_ZLIB,compressed_BZIP2
+export GRASS_COMPRESSOR=BZIP2 # BZIP2
+r.compress compressed_BZIP2
+r.compress compressed_BZIP2 -p
+ <compressed_BZIP2> is compressed (method 4: BZIP2). Data type: <CELL>
+unset GRASS_COMPRESSOR
+</pre></div>
+
<h2>SEE ALSO</h2>
<em>
More information about the grass-commit
mailing list