[GRASS-SVN] r67719 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 4 05:27:57 PST 2016


Author: neteler
Date: 2016-02-04 05:27:57 -0800 (Thu, 04 Feb 2016)
New Revision: 67719

Modified:
   grass/trunk/lib/init/variables.html
Log:
variables manual: document GRASS_ZLIB_LEVEL (lib/gis/cmprzlib.c)

Modified: grass/trunk/lib/init/variables.html
===================================================================
--- grass/trunk/lib/init/variables.html	2016-02-03 20:54:14 UTC (rev 67718)
+++ grass/trunk/lib/init/variables.html	2016-02-04 13:27:57 UTC (rev 67719)
@@ -186,8 +186,12 @@
     raster maps are compressed using zlib compression. This applies to all 
     raster map types (CELL, FCELL, DCELL).
     <br><br>
+    Valid zlib compression levels are -1 to 9. The <tt>GRASS_ZLIB_LEVEL=-1</tt> corresponds
+    to the zlib default value (equivalent to <tt>GRASS_ZLIB_LEVEL=6</tt>). Often
+    <tt>GRASS_ZLIB_LEVEL=1</tt> gives the best compromise between speed and compression.
+    <br><br>
     If the variable doesn't exist, or the value cannot be parsed as an
-    integer, zlib's default compression level will be used.</dd>
+    integer, zlib's default compression level 6 will be used.</dd>
   
   <dt>GRASS_MESSAGE_FORMAT</dt>
   <dd>[various modules, wxGUI]<br>



More information about the grass-commit mailing list