Hi list,

I have been trying to use gdaldem in python to set the background color to
transparent. Unfortunately gdaldem doesnt recognise addAlpha = True, i get
this error message:
TypeError: DEMProcessingOptions() got an unexpected keyword argument
'addAlpha'

ds = gdal.DEMProcessing(infile, outfile, 'color-relief', format = 'MEM',
colorFilename = '/data/file.txt', addAlpha = True)

Is there a way to fix this behaviour?
Corina



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to