[GRASS-dev] [GRASS GIS] #2349: CELL raster format: make ZLIB level 3 standard compression instead of RLE

GRASS GIS trac at osgeo.org
Thu Aug 28 14:31:04 PDT 2014


#2349: CELL raster format: make ZLIB level 3 standard compression instead of RLE
-------------------------+--------------------------------------------------
 Reporter:  neteler      |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  blocker      |   Milestone:  7.0.0                    
Component:  Raster       |     Version:  svn-releasebranch70      
 Keywords:  compression  |    Platform:  All                      
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by neteler):

 Replying to [comment:5 glynn]:
 >  * The compression level can be set via GRASS_ZLIB_LEVEL, whose value
 should be an integer between 0 and 9. If not set (or if the value cannot
 be parsed as an integer), zlib's default compression level will be used
 (lib/gis/flate.c:333, if a different default is preferred).

 In relbranch7 there is currently:

 Z_DEFAULT_COMPRESSION = 1 - "gives the best compromise between speed and
 compression" as per r61424.

 Perhaps zlib compression 1 should be adopted for trunk?

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2349#comment:10>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list