Procházet zdrojové kódy

variables manual: document GRASS_ZLIB_LEVEL (lib/gis/flate.c)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@67720 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler před 9 roky
rodič
revize
3a70b992f3
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 5 1
      lib/init/variables.html

+ 5 - 1
lib/init/variables.html

@@ -186,8 +186,12 @@ PERMANENT
     raster maps are compressed using zlib compression. This applies to all 
     raster maps are compressed using zlib compression. This applies to all 
     raster map types (CELL, FCELL, DCELL).
     raster map types (CELL, FCELL, DCELL).
     <br><br>
     <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
     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>
   <dt>GRASS_MESSAGE_FORMAT</dt>
   <dd>[various modules, wxGUI]<br>
   <dd>[various modules, wxGUI]<br>