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

applyLayerChanges incomple when deleting features #117

Open
MarkusHesse42 opened this issue Nov 10, 2017 · 0 comments
Open

applyLayerChanges incomple when deleting features #117

MarkusHesse42 opened this issue Nov 10, 2017 · 0 comments

Comments

@MarkusHesse42
Copy link

When features are deleted in applyLayerChanges , the mapping record from gpkg_fid to geogig_fid is not deleted. This leads to inconsistences in the DB and strange effects when using applyLayerChanges several times.

In applyLayerChanges a line liked this
cursor.execute('DELETE FROM "%s_fids" WHERE geogig_fid = "%s"' % (layername, geogigfid))
should be added at the end of the block after "for r in removed:"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant