[gdal-dev] gdaldem color-relief transparency

Paolo Cavallini cavallini at faunalia.it
Thu Dec 22 07:51:15 PST 2016


Hi all,
sorry if this is not the right list. Please redirect me elsewhere in case.
I cannot give a transparency to NULL when creating a coloured raster:

gdaldem color-relief -alpha temp_clip.tif byr.txt temp_col.tif -of GTiff

where byr.txt is:

0% 5 113 176 255
25% 146 197 222 255
50% 247 247 247 255
75% 244 165 130 255
100% 202 0 32 255
nv 255 255 255 0

I tried several other combinations, but I cannot hava a transparency of
NULLs.
Where am I wrong?
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the gdal-dev mailing list