[Gdal-dev] r.out.gdal: SetColorInterpretation() not supported
Frank Warmerdam
warmerdam at pobox.com
Tue Jan 16 13:00:30 EST 2007
Markus Neteler wrote:
> Frank,
>
> in fact the message is right since the result does not contain
> color (which is essentially my problem). I also tried the HFA
> driver to no avail.
>
> In summary: the resulting file becomes grey scale.
Markus,
What *should* the file be? Is it supposed to have a color table?
Generally speaking to produce a GeoTIFF file with a color table after using
Create() to create it, you need to do the SetColorTable() *before* writing
any raster data.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list