Feature request #20994

Add a way to pass additional parameters to GDAL commands

Added by Matthias Treitler 11 months ago. Updated 7 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Processing/GDAL
Pull Request or Patch supplied:Yes Resolution:
Easy fix?:No Copied to github as #:28813

Description

The GDAL tool "gdaldem color-relief" https://www.gdal.org/gdaldem.html#gdaldem_color_relief allows to pass the "-alpha" argument so that the output raster also contains the alpha band. The GDAL tools dialog show a input text box for additional creation options however it is not passed to the actual command, not matter what is inserted here.

History

#1 Updated by Giovanni Manghi 11 months ago

  • Status changed from Open to Feedback

There is no "gdal tools" in QGIS3, are you referring to the tool in the Processing toolbox?

#2 Updated by Matthias Treitler 11 months ago

Giovanni Manghi wrote:

There is no "gdal tools" in QGIS3, are you referring to the tool in the Processing toolbox?

sorry for the confusion! Yes the "Color Relief" tool in the processing toolbox!

#3 Updated by Giovanni Manghi 11 months ago

  • Status changed from Feedback to Open
  • Assignee set to Giovanni Manghi
  • Category changed from GDAL Tools to Processing/GDAL

#4 Updated by Alexander Bruy 11 months ago

  • Status changed from Open to Feedback

Additional creation options used to specify dataset creation options like compression method, etc and not additional command-line parameters like '-alpha'.

#5 Updated by Giovanni Manghi 9 months ago

  • Status changed from Feedback to In Progress
  • Pull Request or Patch supplied changed from No to Yes
  • Affected QGIS version changed from 3.4.3 to 3.7(master)

#6 Updated by Alexander Bruy 7 months ago

  • Assignee deleted (Giovanni Manghi)
  • Tracker changed from Bug report to Feature request
  • Subject changed from GDAL-Raster Analysis-Color Relief Algorithm dialog ignores "Additional creation options [optional]" to Add a way to pass additional parameters to GDAL commands
  • Status changed from In Progress to Open

IMHO this should be a feature request, as it asks to add another parameter and hence change algorithm(s) API.

Also available in: Atom PDF