Pārlūkot izejas kodu

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

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67719 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 gadi atpakaļ
vecāks
revīzija
f6dcf8c2ce
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  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>