Bug report #4304

Show only writable raster and vector formats in Processing "save file" dialogs

Added by Paolo Cavallini almost 8 years ago. Updated 5 months ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/Core
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:no timely feedback
Crashes QGIS or corrupts data:No Copied to github as #:14241

Description

Currently "save file" dialogs in Processing show all supported file formats which causes to attempts to write into non-writable format. We should filter the list of formats to write to.


Related issues

Related to QGIS Application - Bug report #15757: GDALTools: file extension not automatically added Closed 2016-10-26

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Target version set to Version 1.7.4

#2 Updated by Paolo Cavallini over 7 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0
  • Affected QGIS version set to master
  • Crashes QGIS or corrupts data set to No

#3 Updated by Paolo Cavallini almost 7 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#4 Updated by Giovanni Manghi over 6 years ago

  • Assignee set to Giuseppe Sucameli

#5 Updated by Paolo Cavallini over 6 years ago

  • Assignee changed from Giuseppe Sucameli to anonymous -

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

  • Assignee deleted (anonymous -)

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

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

#8 Updated by Médéric RIBREUX over 3 years ago

Hello, bug triage...

I think this is difficult to fix because we don't have an easy to use method or function in Python that can extract a list of GDAL drivers that can write to a file.
Perhaps should we add a writableFileRasterFilters() to the QgsProviderRegistry class. Once done, it should be trivial to modify GDAL tools.

#9 Updated by Giovanni Manghi over 2 years ago

  • Category changed from GDAL Tools to Processing/GDAL

#10 Updated by Alexander Bruy over 2 years ago

  • Target version changed from Future Release - Lower Priority to Future Release - High Priority
  • Subject changed from GDAL Tools tries to write to a non-writable format to Show only writable raster and vector formats in Processing "save file" dialogs
  • Category changed from Processing/GDAL to Processing/Core

#11 Updated by Giovanni Manghi about 2 years ago

  • Regression? set to No
  • Easy fix? set to No

#12 Updated by Alexander Bruy over 1 year ago

  • Status changed from Open to Feedback

Should be fixed in master.

#13 Updated by Paolo Cavallini over 1 year ago

Unsure about this: in GRD files, which should be non-writable, are listed in the dropdown menu (BTW: listed twice, this is a separate issue)

#14 Updated by Giovanni Manghi over 1 year ago

  • Status changed from Feedback to Open

Paolo Cavallini wrote:

Unsure about this: in GRD files, which should be non-writable, are listed in the dropdown menu (BTW: listed twice, this is a separate issue)

when trying to save to GRD format the message (from GDAL) says:

"Golden Software ASCII Grid format", which is writable BUT does not have the GRD extension: http://www.gdal.org/formats_list.html

#15 Updated by Giovanni Manghi over 1 year ago

  • Status changed from Open to Feedback

#16 Updated by Jürgen Fischer 5 months ago

  • Status changed from Feedback to Closed
  • Resolution set to no timely feedback

Bulk closing 82 tickets in feedback state for more than 90 days affecting an old version. Feel free to reopen if it still applies to a current version and you have more information that clarify the issue.

Also available in: Atom PDF