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

Commit changes to database creates invalid geometry #18488

Closed
qgib opened this issue Apr 3, 2014 · 4 comments
Closed

Commit changes to database creates invalid geometry #18488

qgib opened this issue Apr 3, 2014 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption

Comments

@qgib
Copy link
Contributor

qgib commented Apr 3, 2014

Author Name: Hannah Burk (Hannah Burk)
Original Redmine Issue: 9997
Affected QGIS version: 2.2.0


Hi,

When editing a linestring layer (connection to postgres table) commit changes caused all active geometry to become invalid in both map display and db table. This only happened after multiple saves to the db. Linestring geometry attributes can still be queried for length in postgres but validity returns an error and lines cannot be displayed in QGIS.

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2014

Author Name: Jürgen Fischer (@jef-n)


  • category_id removed DB Manager

@qgib
Copy link
Contributor Author

qgib commented Jun 17, 2014

Author Name: Jürgen Fischer (@jef-n)


Not reproducable. Please provide more details.


  • priority_id was changed from High to Normal
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jun 17, 2014

Author Name: Hannah Burk (Hannah Burk)


I'm not sure I would be able to reproduce the issue myself - and I don't intend to try for fear of corrupting more data. I am working with a Postgres database updating table geometry through the database connection in QGIS. I had been working through an open connection for over an hour, committing changes periodically, when a commit corrupted the geometry in the db table. The lines that I had been working on - filtered by attribute in the SQL query - became invalid. The rest of the lines we unaffected - implies the invalidity was a result of something in the SQL update/commit?

I wish I could give you more information than this. Thank you for your time!

@qgib
Copy link
Contributor Author

qgib commented Oct 2, 2014

Author Name: Jürgen Fischer (@jef-n)


unfortunately not reproducable.


  • resolution was changed from to worksforme
  • status_id was changed from Feedback to Rejected

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! Crash/Data Corruption
Projects
None yet
Development

No branches or pull requests

1 participant