[GRASS5] 5.7: make GRASS_INT_ZLIB default?

Glynn Clements glynn at gclements.plus.com
Fri Nov 19 13:02:25 EST 2004


Markus Neteler wrote:

> proposal for 5.7-CVS: make zlib compression instead of RLE the
> default setting, probably modifying:
> 
> grass57/lib/gis > grep GRASS_INT_ZLIB *
> opencell.c:     COMPRESSION_TYPE = getenv("GRASS_INT_ZLIB") ? 2 : 1;
> 
> Are there objections?

The most obvious problem is that raster maps will be unreadable on
versions of GRASS which pre-date the addition of zlib support.

Also, I don't know whether that feature has received any significant
testing.

> I am, however, not sure, how to apply such change (without
> breaking things).

	COMPRESSION_TYPE = getenv("GRASS_INT_NOZLIB") ? 1 : 2;

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




More information about the grass-dev mailing list