Bug report #16494

raster clipper exports XYZ grid file, even when another format is selected

Added by Adam Fine almost 7 years ago. Updated almost 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GDAL Tools
Affected QGIS version:2.18.2 Regression?:No
Operating System:OSX Easy fix?:No
Pull Request or Patch supplied:No Resolution:wontfix
Crashes QGIS or corrupts data:No Copied to github as #:24400

Description

When clipping a raster, when I select GeoTIFF for export, the "gdal_translate" command includes "-of XYZ" which exports an ASCII grid file instead.
It doesn't appear to matter what export format you select, "-of XYZ" is added in every circumstance.

I can override it, but clearly it's not the desired behaviour.

Screen Shot 2017-05-01 at 09.42.54.png (70.5 KB) Adam Fine, 2017-05-01 03:39 PM

History

#1 Updated by Giovanni Manghi almost 7 years ago

  • Status changed from Open to Feedback
  • Category changed from Rasters to GDAL Tools

Does the equivalent tool in the Processing toolbox work as expected?
gdal_tools is unsupported and and all its tools ported also to the Processing toolbox.

#2 Updated by Adam Fine almost 7 years ago

Giovanni Manghi wrote:

Does the equivalent tool in the Processing toolbox work as expected?
gdal_tools is unsupported and and all its tools ported also to the Processing toolbox.

Hi Giovanni,
the gdal_tools "clipper" function is still in the raster menu by default, is it not? So it's not clear to the user that it is not supported, or that there is a better tool available. The equivalent tool in the processing toolbox works fine.

This bug doesn't seem to exist in 2.18.7 on Linux or Windows ports. I get the correct "-of GTiff" in the gdal_translate command on both platforms.

#3 Updated by Giovanni Manghi almost 7 years ago

  • Resolution set to wontfix
  • Status changed from Feedback to Closed

Hi Giovanni,
the gdal_tools "clipper" function is still in the raster menu by default, is it not? So it's not clear to the user that it is not supported, or that there is a better tool available. The equivalent tool in the processing toolbox works fine.

it is there, it was left on purpose while migrating everything in the Processing toolbox. In QGIS 3 the tools we once called "gdal tools" are already gone. GDAL tools as it still exists in QGIS 2.18.* will not get any bug fix.

Also available in: Atom PDF