Le mardi 03 février 2015 07:14:58, user_name a écrit : > Let's say I have 1 band raster images with Gray Color Interpretation and I > want to change their color based on their data values. Data values -1, will > be Blue, -0.5 will be Light Blue, 0 will be Yellow, 0.5 will be Orange and > 1 will be Red. If the data values are <-3000, I want to have that colored > Black and if the data values are >3.402, that should be colored White . > Will that be possible in gdal? One of the color ramp available in qgis is > the RdYlBu. That is what I preferred to use. > > Thank You!
"gdaldem color-relief" is what you want. See http://gdal.org/gdaldem.html Even > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Changing-color-of-raster-images-based- > on-their-data-values-gdal-tp5185138.html Sent from the GDAL - Dev mailing > list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
