[GRASS5] zlib compression for CELL maps

Jaro Hofierka hofierka at geomodel.sk
Wed Jan 4 14:20:12 EST 2006


Glynn Clements wrote:
> 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,

You're right! Thanks!

Jaro




More information about the grass-dev mailing list