Re: [gdal-dev] gdal.DEMProcessingOptions

2017-01-12 Thread Even Rouault
> Any ideas what may cause this? Yes, a typo... I just fixed it per https://trac.osgeo.org/gdal/ticket/6775 Even -- Spatialys - Geospatial professional services http://www.spatialys.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.

[gdal-dev] gdal.DEMProcessingOptions

2017-01-12 Thread Johan de Braak
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_asp