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

Inform user of logically deleted records in shapefiles and allow removal #23662

Open
qgib opened this issue Oct 21, 2016 · 2 comments
Open

Inform user of logically deleted records in shapefiles and allow removal #23662

qgib opened this issue Oct 21, 2016 · 2 comments
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Oct 21, 2016

Author Name: Alessandro Sarretta (@alesarrett)
Original Redmine Issue: 15740

Redmine category:unknown


If a shapefile contains logically deleted records, the user is not informed about that.

The only thing a user can do to delete these records is to edit the shapefile or save it with as a new file (#23337).
Without knowing whether layers already contained in a QGIS projects or new layers have this issue, a user should always edit all the layers to be sure that they not contain logically deleted records.

One possible solution might be to inform the user, when opening a QGIS project or loading a new shapefile, about the presence of logically deleted records in the layers of the project, and provide a simple way to fix this. This could be a "save as" options for corrupted layers or an automatic editing (one record added and then deleted?).

I guess this automatic check could possibly slow down the start of a big project with a lot of layers. The activation of this check might be activated as default but maybe also unchecked in a setting parameter to avoid to slow down the opening of the project when a user is sure to have non-corrupted layers.

Test file can be found attached to this PostGIS ticket:
https://trac.osgeo.org/postgis/ticket/3645


Related issue(s): #23661 (relates)
Redmine related issue(s): 15739


@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Sep 22, 2017

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


  • category_id was configured as Unknown

@alexbruy alexbruy added Data Provider Related to specific vector, raster or mesh data providers Vectors Related to general vector layer handling (not specific data formats) labels Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Provider Related to specific vector, raster or mesh data providers Feature Request Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

2 participants