[GRASS-user] GTiff export

Hamish hamish_nospam at yahoo.com
Mon Dec 18 20:39:56 EST 2006


Raffaele Morelli wrote:
> 
> I got two raster files imported in Grass using r.in.gdal, one
> represents a dem, the other is a "drape". (the files originated from
> ArcGIS) I am setting up a WebGis app (apache, mapserver,
> php_mapscript) and need a tiff layer to represent elevation and have a
> image background to put my vectors/points on.
> 
> I tried to export the dem file with r.out.gdal, but I obtain something
> similar to a negative a b/w image with no colors!
> Tried several 'createopt' but still with no success.
> With Grass6.2 everything looks fine.


I think that GDAL only saves a color table if you save max 256 values
(type=Byte). Otherwise the meta-data gets too huge.


Hamish




More information about the grass-user mailing list