[gdal-dev] [GRASS-user] r.out.gdal export with color table for
dassau at gbd-consult.de
Mon Aug 1 09:40:56 EDT 2011
fowarded from grass list, because it is probably better here with some
I used Float32 as data type for the export to ERDAS Img, so the data a
floating point and there is a color table but the colortable does not reflect
the floating point data.
Color Table (RGB with 174 entries)
Is it possible somehow to adjust the colortable after the GRASS export to get
a color table that distinguishes floating point values as it does in GRASS?
thanks a lot
Am Fri, 22 Jul 2011 09:18:53 +0200
schrieb Otto Dassau <dassau at gbd-consult.de>:
> 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
More information about the gdal-dev