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

Deleted features are not really deleted. #17110

Closed
qgib opened this issue Jul 17, 2013 · 4 comments
Closed

Deleted features are not really deleted. #17110

qgib opened this issue Jul 17, 2013 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jul 17, 2013

Author Name: Minoru Akagi (@minorua)
Original Redmine Issue: 8317
Affected QGIS version: master
Redmine category:data_provider


When I save changes of editting to a shapefile after deleting some features, the deleted feature records have not been really deleted from the shapefile. They are just marked as deleted. With 1.8, they are really deleted. Related to 810c11b.


Related issue(s): #16425 (relates), #17515 (relates), #19349 (relates), #19592 (relates)
Redmine related issue(s): 7472, 8822, 11007, 11296


@qgib
Copy link
Contributor Author

qgib commented Jul 17, 2013

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


you should create a spatialindex once in a while - that will also repack it.


  • priority_id was changed from Severe/Regression to Normal

@qgib
Copy link
Contributor Author

qgib commented Jul 17, 2013

Author Name: Minoru Akagi (@minorua)


Users who don't know it will be confused when they move the data to another GIS software. What about doing REPACK in the destructor of QgsOgrProvider, only if any features have been deleted?

@qgib
Copy link
Contributor Author

qgib commented Jul 17, 2013

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


Fixed in changeset "6149d34a5b3d776c582bda5cd3c61ccb15c85f2d".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jul 17, 2013

Author Name: Minoru Akagi (@minorua)


Thanks!

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 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! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant