[GRASS-user] No color for geotiffs exported with r.out.gdal

William Hudspeth bhudspeth at edac.unm.edu
Tue Apr 6 16:06:39 EDT 2010


Markus, 

Thanks for your assistance and explanation. I ended up adding +1 and
multiplying by 100 the source raster....

e.g.

r.mapcalc "new_raster=(old_raster+1.0)*100"

I also transformed the ndvi color table accordingly, and post it here if
anyone should wish to use it...

0.00   5  24  82
70.0   5  24  82
82.0 255 255 255
100.0 255 255 255
102.5 206 197 180
107.5 191 163 124
112.5 179 174  96
115 163 181  80
117.5 144 170  60
123.3 166 195  29
126.6 135 183   3
133.3 121 175   1
136.6 101 163   0
143.3  78 151   0
146.6  43 132   4
155.0   0 114   0
165.0   0  90   1
175.0   0  73   0
185.0   0  56   0
195.0   0  31   0
200.0   0   0   0


Thanks, Bill



















On Fri, 2010-04-02 at 23:10 +0200, Markus Neteler wrote:
> <grass-user at lists.osgeo.org>



More information about the grass-user mailing list