[GRASS5] zlib compression for CELL maps

Glynn Clements glynn at gclements.plus.com
Wed Jan 4 13:52:53 EST 2006


Jaro Hofierka wrote:

> >>Recently, we tried to import srtm files and floating point maps 
> >>took much less disk space then integers :-(
> >>I tried to use the GRASS_INT_ZLIB variable, but the compression flag in 
> >>a header file is still set to 1 (should be 2?). Problably I missed 
> >>something.
> > 
> > 
> > Did you export it, e.g.:
> > 
> > 	GRASS_INT_ZLIB=1
> > 	export GRASS_INT_ZLIB
> > 
> > or (bash-specific):
> > 
> > 	export GRASS_INT_ZLIB=1
> > ?
> 
> I did it using g.gisenv set="GRASS_INT_ZLIB=1"
> Then I checked using g.gisenv get=GRASS_INT_ZLIB.

That won't work; GRASS_INT_ZLIB needs to be an environment variable,
not a GRASS variable.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list