[GRASS-dev] new r.out.gdal fails to preserve 8bit color

Markus Neteler neteler at itc.it
Tue Jan 16 15:53:41 EST 2007


On Tue, Jan 16, 2007 at 07:03:15PM +0100, Maciej Sieczka wrote:
> Maciej Sieczka wrote:
> > Vytautas,
> > 
> > Exporting a CELL GRASS raster, value range 0-255, r.out.gdal issues an:
> > 
> > ERROR 6: SetColorInterpretation() not supported for this dataset.
> > 
> > and the output map is greyscale.
> 
> There is a discussion about this defect on the GDAL dev list:
> http://www.nabble.com/r.out.gdal%3A-SetColorInterpretation%28%29-not-supported-tf3021127.html
> 

Probably the mapgdal.c file of MapServer could be an inspiration?

Markus




More information about the grass-dev mailing list