[gdal-dev] gdal.DEMProcessingOptions
Johan de Braak
johan.de.braak at eleaf.com
Thu Jan 12 04:06:55 PST 2017
Running:
opts = gdal.DEMProcessingOptions(zeroForFlat=True)
gdal.DEMProcessing('my\out\file_aspect.tif', 'my\in\dem.tif', 'aspect',
options=opts)
resuts in the error:
Too many command options 'zero_for_flat'
However, if I run it as:
opts = ['-zero_for_flat']
gdal.DEMProcessing('my\out\file_aspect.tif', 'my\in\dem.tif', 'aspect',
options=opts)
It runs fine. Any ideas what may cause this?
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-DEMProcessingOptions-tp5303172.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list