Bug report #11296
Deleting shapes in shapefiles does not work
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | 2.4.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | duplicate |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 19592 |
Description
After opening an existing ESRI-shapefiel (polygons) and deleting some of the shapes qgis marks the deleted lines in the dbase-file with
*. When saving the shapefile the marked entries are still in the shapefile. Opening such a shapefile in ArcGIS shows all in qgis deleted elements. It seems OGRLayer REPACk is not used in saving.
Related issues
Associated revisions
Repack shapefiles when saving after deleting features
- QgsVectorDataProvider::dataChanged() will be emitted
- QgsVectorLayer::dataChanged() will be emitted
- Clears QgsVectorLayerCache
- Reloads the attribute table
- Clears the selection
Looking forward to people complaining about their lost selection...
Fix #10560
Fix #11989
Refs #8317
Refs #8822
Refs #10483
Refs #11007
Refs #7540
Refs #11398
Refs #11296
History
#1 Updated by Giovanni Manghi about 10 years ago
- Resolution set to duplicate
- Status changed from Open to Closed
duplicte of #11007