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

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

Comment (by neteler):

For the record - concerning NULL file compression:

At time `cell_misc/null` is uncompressed by default.

Using the environment variable `GRASS_COMPRESS_NULLS=1` NULL compression
is activated for the session for newly created raster maps; and

{{{
export GRASS_COMPRESS_NULLS=1
r.null -z raster_map
}}}

generates a new compressed file `cell_misc/nullcmpr` and removes the old
uncompressed `cell_misc/null` file for existing maps.

Note: At least GRASS GIS 7.2 is needed to read a raster map with
compressed null file.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2349#comment:52&gt;
GRASS GIS <https://grass.osgeo.org>