[GRASS-SVN] r72794 - in grass/trunk/raster: . r.compress

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 10 12:16:22 PDT 2018


Author: mmetz
Date: 2018-06-10 12:16:22 -0700 (Sun, 10 Jun 2018)
New Revision: 72794

Modified:
   grass/trunk/raster/r.compress/r.compress.html
   grass/trunk/raster/rasterintro.html
Log:
ZSTD is now the default compression if available

Modified: grass/trunk/raster/r.compress/r.compress.html
===================================================================
--- grass/trunk/raster/r.compress/r.compress.html	2018-06-10 01:22:35 UTC (rev 72793)
+++ grass/trunk/raster/r.compress/r.compress.html	2018-06-10 19:16:22 UTC (rev 72794)
@@ -77,7 +77,7 @@
 <ul>
 <li><tt>NONE</tt> (uncompressed)</li>
 <li><tt>RLE</tt>  (generic Run-Length Encoding of single bytes; deprecated)</li>
-<li><tt>ZLIB</tt> (DEFLATE, good speed and compression - <b>default compression</b>)
+<li><tt>ZLIB</tt> (DEFLATE, good speed and compression)
 <ul>
 <li>with zlib compression levels (<tt>export GRASS_ZLIB_LEVEL=X</tt>): -1..9
    (-1 is default which corresponds to ZLIB level 6)</li>
@@ -87,7 +87,8 @@
 </li>
 <li><tt>LZ4</tt>  (fastest, low compression)</li>
 <li><tt>BZIP2</tt> (slowest, high compression)</li>
-<li><tt>ZSTD</tt> (compared to ZLIB, faster and higher compression, much faster decompression)</li>
+<li><tt>ZSTD</tt> (compared to ZLIB, faster and higher compression, 
+much faster decompression - <b>default compression</b>)</li>
 </ul>
 
 Important: the NULL file compression can be turned off with 
@@ -124,11 +125,11 @@
 </dd>
 <dt><strong>ZLIB</strong></dt>
 <dd>ZLIB's deflate is the default compression method for all raster 
-maps. GRASS GIS 7 uses by default 1 as ZLIB compression level which is the 
-best compromise between speed and compression ratio, also when 
-compared to other available compression methods. Valid levels are in 
-the range [1, 9] and can be set with the environment variable 
-<tt>GRASS_ZLIB_LEVEL</tt>.</dd>
+maps, if ZSTD is not available. GRASS GIS 7 uses by default 1 as ZLIB 
+compression level which is the best compromise between speed and 
+compression ratio, also when compared to other available compression 
+methods. Valid levels are in the range [1, 9] and can be set with the 
+environment variable <tt>GRASS_ZLIB_LEVEL</tt>.</dd>
 <dt><strong>LZ4</strong></dt>
 <dd>LZ4 is a very fast compression method, about as fast as no 
 compression. Decompression is also very fast. The compression ratio is 
@@ -147,7 +148,7 @@
 <dd>ZSTD (Zstandard) provides compression ratios higher than ZLIB but 
 lower than BZIP2 (for large data). ZSTD compresses up to 4x faster than 
 ZLIB, and usually decompresses 6x faster than ZLIB. ZSTD is the 
-recommended default compression method.</dd> 
+default compression method if available.</dd> 
 </dl>
 
 

Modified: grass/trunk/raster/rasterintro.html
===================================================================
--- grass/trunk/raster/rasterintro.html	2018-06-10 01:22:35 UTC (rev 72793)
+++ grass/trunk/raster/rasterintro.html	2018-06-10 19:16:22 UTC (rev 72794)
@@ -279,10 +279,9 @@
 <h3>Raster compression</h3>
 <!-- keep in sync with raster/r.compress/r.compress.html -->
 
-All GRASS GIS raster map types are by default ZLIB compressed, i.e. using
-ZLIB's deflate algorithm. Through the environment variable
-<tt>GRASS_COMPRESSOR</tt> the compression method can be set to RLE, ZLIB,
-LZ4, BZIP2, or ZSTD.
+All GRASS GIS raster map types are by default compressed. Through the 
+environment variable <tt>GRASS_COMPRESSOR</tt> the compression method 
+can be set to RLE, ZLIB, LZ4, BZIP2, or ZSTD.
 <p>
 Important: the NULL file compression can be turned off with 
 <tt>export GRASS_COMPRESS_NULLS=0</tt>. Raster maps with NULL file 
@@ -305,11 +304,11 @@
 </dd>
 <dt><strong>ZLIB</strong></dt>
 <dd>ZLIB's deflate is the default compression method for all raster 
-maps. GRASS GIS 7 uses by default 1 as ZLIB compression level which is the 
-best compromise between speed and compression ratio, also when 
-compared to other available compression methods. Valid levels are in 
-the range [1, 9] and can be set with the environment variable 
-<tt>GRASS_ZLIB_LEVEL</tt>.</dd>
+maps, if ZSTD is not available. GRASS GIS 7 uses by default 1 as ZLIB 
+compression level which is the best compromise between speed and 
+compression ratio, also when compared to other available compression 
+methods. Valid levels are in the range [1, 9] and can be set with the 
+environment variable <tt>GRASS_ZLIB_LEVEL</tt>.</dd>
 <dt><strong>LZ4</strong></dt>
 <dd>LZ4 is a very fast compression method, about as fast as no 
 compression. Decompression is also very fast. The compression ratio is 
@@ -328,7 +327,7 @@
 <dd>ZSTD (Zstandard) provides compression ratios higher than ZLIB but 
 lower than BZIP2 (for large data). ZSTD compresses up to 4x faster than 
 ZLIB, and usually decompresses 6x faster than ZLIB. ZSTD is the 
-recommended default compression method.</dd> 
+default compression method if available.</dd> 
 </dl>
 
 <p>



More information about the grass-commit mailing list