[GRASS-user] r.out.gdal export with color table for floating-point values

Otto Dassau dassau at gbd-consult.de
Fri Jul 22 03:18:53 EDT 2011


Hi,

I have an elevation map in GRASS with a color table that distinguishes
decimal values based on the srtm color table, see below. I only want to have
the value 0 in aqua, and all values <> 0 shall reflect land below or above
sea level. 

-10  57 151 105
-0.000001 57 151 105
0 aqua
0.000001  57 151 105
50   117 194 93
100  230 230 128
200  202 158 75

When I export the raster with r.out.gdal (nor now I used GeoTiff and ERDAS
Img) the color table seems to be changed to reflect "only" integer values. so
all 0 floating point values are displayed as aqua.

Is there a solution for this? 

Thanks a lot
 Otto 



More information about the grass-user mailing list