Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Add saved file to map" doesn't work if there are some errors during file creation #21745

Closed
qgib opened this issue Oct 30, 2015 · 5 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Oct 30, 2015

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 13718
Affected QGIS version: master
Redmine category:vectors


Take a postgis multi-point table and save it to shapefile
Check the "Add saved file to map" option
After validation, you'll get a message about an error due to the multipoint geometry and only the single parts features have been written into the shapefile.
If you close the pop-up, you'll find that although your file has been created, QGIS doesn't add it to the canvas, as asked for.

@qgib
Copy link
Contributor Author

qgib commented Nov 6, 2015

Author Name: Giovanni Manghi (@gioman)


Hi, just tested on latest master and I cannot confirm.


  • fixed_version_id removed Future Release - Nice to have
  • category_id was configured as Vectors
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Nov 7, 2015

Author Name: Harrissou Santanna (@DelazJ)


Hi,
I don't have a PostgreSQL DB right now to check again but what do u mean by "can not confirm":

  • QGIS adds the file to the canvas after prompting a message about wrong multipoint features?
  • QGIS doesn't show the message and just creates and adds the file to the canvas. And then do you have all your features?
    Note that I use a PG table that contains multi-geometry point features.

@qgib
Copy link
Contributor Author

qgib commented Nov 7, 2015

Author Name: Giovanni Manghi (@gioman)


Harrissou Santanna wrote:

Hi,
I don't have a PostgreSQL DB right now to check again but what do u mean by "can not confirm":

  • QGIS adds the file to the canvas after prompting a message about wrong multipoint features?

no message

  • QGIS doesn't show the message and just creates and adds the file to the canvas. And then do you have all your features?

the added layer is ok, both for geometries and attributes.

Note that I use a PG table that contains multi-geometry point features.

I have used a multipoint layer.

@qgib
Copy link
Contributor Author

qgib commented Nov 25, 2015

Author Name: Harrissou Santanna (@DelazJ)


Weird. I tested again and all went like a charm (ltr, 2.12, 2.13). I have all the features.
Do you think it may be related to a third-part bug that has been fixed meanwhile? As stated in another report of the same day (#21747), I couldn't merge nor split features but it works now.
Feel free to invalidate this report, please.

@qgib
Copy link
Contributor Author

qgib commented Dec 19, 2015

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to not reproducable
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant