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

Delete a feature in shapefile #22095

Closed
qgib opened this issue Jan 11, 2016 · 1 comment
Closed

Delete a feature in shapefile #22095

qgib opened this issue Jan 11, 2016 · 1 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)

Comments

@qgib
Copy link
Contributor

qgib commented Jan 11, 2016

Author Name: Fabien Del Olmo (Fabien Del Olmo)
Original Redmine Issue: 14085
Affected QGIS version: 2.12.0
Redmine category:vectors


On Windows with QGIS 2.10 or 2.12 (2.8?) there is a big bug when we delete a feature. The data associated with this object is not deleted from the .shp file.

  1. Create a new Shapefile (ponct).
  2. Create 3 points
  3. Delete the 2th point.

The .dbf contains 2 rows (it's ok) but the file "*.shp" is strictly the same as before the deletion.
'ogrinfo -ro -so -al test_qgis.shp' say : "Feature Count: 3"
After a "save as" on this layer, the file becomes good, we have 2 features in the .shp.

On linux and QGIS 2.12.0, there is no problem.

Thread in french : http://georezo.net/forum/viewtopic.php?pid=277247#p277247
Related issue : #19349 ?



Related issue(s): #19349 (relates)
Redmine related issue(s): 11007


@qgib
Copy link
Contributor Author

qgib commented Jan 11, 2016

Author Name: Saber Razmjooei (@saberraz)


This is a well-known bug unfortunately #19349.
Please update the current bug.


  • resolution was changed from to duplicate
  • status_id was changed from Open 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 added this to the Future Release - High Priority milestone 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