Feature request #19794
Add capability for specifying additional options with the gdal:contour processing algorithm
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Easy fix?:||Yes||Copied to github as #:||27619|
Would it be possible to add the OPTIONS parameter to the list available with gdal:contour in QGIS 3?
For example, it would be good to be able to specify the additional option '-fl <contour1> <contour2> etc' to allow generation of contours at user-defined levels.
It looks like this requires quite modest modification to processing\algs\gdal\contour.py. Including OPTIONS in the class attributes and adding 'self.addParameter(...' to initAlgorithm and 'arguments.append(options)' to getConsoleCommands seems to work.