Feature request #20994

Add a way to pass additional parameters to GDAL commands

Added by Matthias Treitler almost 6 years ago. Updated over 5 years 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 almost 6 years 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 almost 6 years 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 almost 6 years 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 almost 6 years 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 over 5 years 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 over 5 years 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