[GRASSLIST:2852] Re: import raster

Glynn Clements glynn.clements at virgin.net
Fri Mar 5 12:58:43 EST 2004


Markus Neteler wrote:

> > I've a problem importing some raster:
> > I use r.in.gdal to import a raster and the results are files over 100 mb for 
> > every raster.
> > With r.compress I reduce to 17,4 mb.
> > Is there a method to reduce again these files?
> > I think that GRASS take the raster as a 8 bit image while the original is 
> > black and white (1 bit)

> Anything to improve in r.in.gdal (we all like small files)?

If the file is being compressed, the underlying format (1/2/4 bytes)
won't make much difference.

The only way to get any significant reduction in the file sizes would
be to use zlib (or similar) rather than RLE compression.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list