[GRASS-user] GRASS export GeoTiff adventure... continued :-)

Glynn Clements glynn at gclements.plus.com
Sun Aug 3 12:18:37 EDT 2008


Markus Metz wrote:

> > I think I solved my problem by removing color tables 
> That doesn't solve the problem, I learned. If you remove the associated
> colour table, r.out.gdal writes a completely black colour table.
> Applications that read the colour table will consequently show a
> completely black image, but the true values are still there. I think
> this is a bug in r.out.gdal. If there is no colour table, no colour
> table should be written to the output file at all, because only then
> would other applications use the real values to display the image. Fixed
> after removing lines 208 and 210 in raster/r.out.gdal/main.c and
> compiling again, GRASS 6.3.0

This should be fixed in 6.4 and 7.0 SVN. If a map doesn't have an
explicit colour table, the default rainbow colour table will be used
instead.

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


More information about the grass-user mailing list