Bug report #6695

Contour extraction doe not consider chosen format

Added by Denis Rouzaud almost 7 years ago. Updated about 3 years ago.

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

Description

In the contour extraction dialog, the chosen format is not taken into account.
It always create shapes!

The -f format option is not specified in the command.
http://www.gdal.org/gdal_contour.html

Associated revisions

Revision 803cbada
Added by Alexander Bruy about 3 years ago

[GDALTools] pass output format to gdal_contour (fix #6695)

Revision 6111beea
Added by Alexander Bruy about 3 years ago

[GDALTools] pass output format to gdal_contour (fix #6695)

History

#1 Updated by Giovanni Manghi over 6 years ago

  • Assignee set to Giuseppe Sucameli

#2 Updated by Paolo Cavallini over 6 years ago

  • Assignee changed from Giuseppe Sucameli to anonymous -

#3 Updated by Jürgen Fischer about 6 years ago

  • Assignee deleted (anonymous -)

#4 Updated by Denis Rouzaud about 6 years ago

-f format:
create output in a particular format, default is shapefiles.

#5 Updated by Jürgen Fischer about 5 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#6 Updated by Andre Joost over 3 years ago

  • Target version changed from Future Release - Lower Priority to Future Release - Nice to have

Just to clarify: The file open dialogue allows different file formats (like DXF), but that just adds the suffix to the target filename. As a result, you get a folder with extension .dxf (or else), containing the shapefile files.

I would expect that the file open dialogue also adds the -f format part to the gdal_contour commandline. It has to be edited manually by clicking on the pencil.

BTW the Processing Toolbox module GDAL/OGR Contour has the same bug.

#7 Updated by Denis Rouzaud over 3 years ago

  • Tag set to easy

#8 Updated by Alexander Bruy about 3 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF