[GRASS-SVN] r73161 - grass/trunk/raster/r.compress

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 24 03:37:09 PDT 2018


Author: neteler
Date: 2018-08-24 03:37:09 -0700 (Fri, 24 Aug 2018)
New Revision: 73161

Modified:
   grass/trunk/raster/r.compress/r.compress.html
Log:
r.compress manual: example beautification

Modified: grass/trunk/raster/r.compress/r.compress.html
===================================================================
--- grass/trunk/raster/r.compress/r.compress.html	2018-08-24 10:19:01 UTC (rev 73160)
+++ grass/trunk/raster/r.compress/r.compress.html	2018-08-24 10:37:09 UTC (rev 73161)
@@ -194,14 +194,19 @@
 
 <h2>EXAMPLES</h2>
 
-Printing of current compression state:
+<h3>Printing of current compression state</h3>
+
+Example for an uncompressed raster map:
+
 <div class="code"><pre>
 r.compress compressed_no -p
   <compressed_no> (method 0: NONE). Data type: <CELL>
 </pre></div>
 
-<p>
-Applying RLE compression to a copy of the uncompressed map (not recommended!):
+<!-- do no advertise not recommended and deprecated compressions!
+
+<h3>Applying RLE compression to a copy of the uncompressed map (not recommended!)</h3>
+
 <div class="code"><pre>
 # compression of map using the deprecated RLE compression
 g.copy raster=compressed_no,compressed_RLE
@@ -210,11 +215,13 @@
 r.compress compressed_RLE 
 r.compress compressed_RLE -p 
   <compressed_RLE> is compressed (method 1: RLE). Data type: <CELL>
-unset GRASS_INT_ZLIB
+unset GRASS_COMPRESSOR # switch back to default
 </pre></div>
+-->
 
-<p>
-Applying ZLIB compression to a copy of the uncompressed map:
+<h3>Applying ZLIB compression</h3>
+
+Applying ZLIB compression to a copy of the uncompressed map from above:
 <div class="code"><pre>
 # compression of map using ZLIB compression
 g.copy raster=compressed_no,compressed_ZLIB
@@ -223,11 +230,12 @@
 r.compress compressed_ZLIB
 r.compress compressed_ZLIB -p
   <compressed_ZLIB> is compressed (method 2: ZLIB). Data type: <CELL>
-unset GRASS_INT_ZLIB
+unset GRASS_COMPRESSOR # switch back to default
 </pre></div>
 
-<p>
-Applying BZIP2 compression to a copy of the ZLIB-compressed map:
+<h3>Applying BZIP2 compression</h3>
+
+Applying BZIP2 compression to a copy of the ZLIB-compressed map from above:
 <div class="code"><pre>
 # compression of map using BZIP2 compression
 g.copy raster=compressed_ZLIB,compressed_BZIP2
@@ -236,11 +244,12 @@
 r.compress compressed_BZIP2
 r.compress compressed_BZIP2 -p
   <compressed_BZIP2> is compressed (method 4: BZIP2). Data type: <CELL>
-unset GRASS_COMPRESSOR
+unset GRASS_COMPRESSOR # switch back to default
 </pre></div>
 
-<p>
-Applying ZSTD compression to a copy of the BZIP2-compressed map:
+<h3>Applying ZSTD compression</h3>
+
+Applying ZSTD compression to a copy of the BZIP2-compressed map from above:
 <div class="code"><pre>
 # compression of map using ZSTD compression
 g.copy raster=compressed_BZIP2,compressed_ZSTD



More information about the grass-commit mailing list