Bug report #13345

Processing Import into PostGIS: set default output SR

Added by Paolo Cavallini about 9 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:Giovanni Manghi
Category:Processing/OGR
Affected QGIS version:2.18.2 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:21398

Description

The output SR is compulsory (without it it silently fails): better use the input SR as a default, and in any case warn the user.

History

#1 Updated by Alexander Bruy over 8 years ago

  • Status changed from Open to Feedback

Works fine in master. CRS copied from source layer, I can add imported layer and QGIS does not ask for CRS.

#2 Updated by Paolo Cavallini over 8 years ago

Just checked: if I do not choose an Output SRS the layer is not imported, and no warning is given to the user. If I choose it, equal to the SRS of the input layer, it goes fine.

#3 Updated by Giovanni Manghi over 8 years ago

  • Assignee set to Giovanni Manghi
  • Status changed from Feedback to Open

#4 Updated by Sandro Santilli almost 8 years ago

  • Assignee changed from Giovanni Manghi to Sandro Santilli
  • Status changed from Open to Feedback

Paolo could you test with a current version, either from release-2_14 or master_2 ?
If you can still reproduce, can you give exact steps (which input format, with which srs etc)

#5 Updated by Giovanni Manghi almost 8 years ago

  • Status changed from Feedback to Open
  • Assignee changed from Sandro Santilli to Giovanni Manghi
  • Affected QGIS version changed from 2.10.1 to 2.18.2

#6 Updated by Giovanni Manghi over 7 years ago

  • Status changed from Open to Closed
  • Resolution set to fixed/implemented

working on master with alexbruy here. It is actually not possible to retrieve the source crs at the moment, so made that parameter mandatory (and now in master a nice working in the processing tool gui is shown). In the next future it would be possible to retrieve that parameter, at that time a feature request can be filed

https://github.com/qgis/QGIS/pull/4132

Also available in: Atom PDF