#6775 closed defect (fixed)
gdal.DEMProcessingOptions(zeroForFlat=True) doesn't work
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | PythonBindings | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Reported on mailing list:
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)
Note:
See TracTickets
for help on using tickets.
In 37117: