Feature request #20390

Add the "Select an input band for output" parameter to GDAL translate

Added by Nicolas Cadieux about 6 years ago. Updated over 5 years ago.

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

Description

There is no "out format field" (-of format) in Gdal Translate. Currently, the output format is guessed from the file extension (not obvious for someone used to working at the command line) and a single format is applied by default to all output files.

Additional fields like -b band would be very nice to have. Since there are many possible parameters, perhaps and open parameter field would be helpful for this and other gdal tools.

https://www.gdal.org/gdal_translate.html

History

#1 Updated by Giovanni Manghi about 6 years ago

  • Assignee set to Giovanni Manghi

No problem adding the -b flag or others. Regarding the output format: is by Processing design, we output a specific format for temporary outputs (gpkg or tiff bu default) or the format is defined when choosing to save the output to a specific location, so is pointless adding the -of parameter.

#2 Updated by Giovanni Manghi over 5 years ago

  • Subject changed from Missing parameters in GDAL Translate to Add the "Select an input band band for output" parameter to GDAL translate

#3 Updated by Giovanni Manghi over 5 years ago

  • Subject changed from Add the "Select an input band band for output" parameter to GDAL translate to Add the "Select an input band for output" parameter to GDAL translate

Also available in: Atom PDF