[gdal-dev] gdaldem in python doesnt recognise addAlpha = True

Even Rouault even.rouault at spatialys.com
Wed Feb 6 08:45:42 PST 2019


On mercredi 6 février 2019 16:35:40 CET Corina Tudorache wrote:
>  Hi Even,
> I am passing something like thisds = gdal.DEMProcessing('color-relief',
> file, outfile, options=[-alpha], colorFilename = 'data/file.txt')

should be

gdal.DEMProcessing(outfile, infile, "color-relief",
                   colorFilename = 'data/file.txt',
					  options = '-alpha')

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list