[GRASS-dev] [GRASS GIS] #2349: CELL raster format: make ZLIB level 3 standard compression instead of RLE
GRASS GIS
trac at osgeo.org
Thu May 7 20:57:42 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 glynn):
Replying to [comment:19 neteler]:
> Are my tests wrong or am I missing anything else?
First, it shouldn't be necessary to recompile anything except lib/raster
(but you should probably run "make clean" in that directory first, as the
patch changes the R!__ and fileinfo structures which are used throughout
the library).
Second, you need to use
{{{
export GRASS_COMPRESS_NULLS=1
}}}
in order for compressed null files to be generated
(cell_misc/<name>/null2).
Reading should automatically use the compressed null file if it exists or
the raw null file if it doesn't.
If you don't set GRASS_COMPRESS_NULLS, everything should continue to work
as before (including r.null and r.support). If it doesn't, that needs to
be fixed now (i.e. before the changes committed; issues which only arise
when setting GRASS_COMPRESS_NULLS can be dealt with later).
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2349#comment:20>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list