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

GRASS GIS trac at osgeo.org
Fri May 15 06:02:11 PDT 2015


#2349: CELL raster format: make ZLIB level 3 standard compression instead of RLE
--------------------------+-------------------------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  critical     |  Milestone:  7.1.0
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  compression, r.compress, null
       CPU:  Unspecified  |   Platform:  All
--------------------------+-------------------------------------------

Comment (by neteler):

 I tried again but don't see a difference in the NULL file size:

 {{{
 export GRASS_COMPRESS_NULLS=1
 g.region raster=eu_dem25_rand100k -p
 r.mapcalc "new_int = round(eu_dem25_rand100k)"
 echo $GRASS_COMPRESS_NULLS
 1
 }}}

 Verification:

 {{{
 root at grass ~ # l grassdata/eu_laea/PERMANENT/cell_misc/*
 grassdata/eu_laea/PERMANENT/cell_misc/eu_dem25_rand100k:
 total 5.6G
 -rw-r--r-- 1 root root   53 Aug 15  2014 f_format
 -rw-r--r-- 1 root root    5 Aug 15  2014 f_quant
 -rw-r--r-- 1 root root   16 Aug 15  2014 f_range
 -rw-r--r-- 1 root root 5.6G Aug 15  2014 null

 grassdata/eu_laea/PERMANENT/cell_misc/new_int:
 total 5.6G
 -rw-r--r-- 1 root root 5.6G May 14 19:03 null
 -rw-r--r-- 1 root root    9 May 14 19:03 range
 }}}

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



More information about the grass-dev mailing list