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

Add options what do with import conflicts #99

Open
marekcuchy opened this issue Nov 13, 2024 · 0 comments
Open

Add options what do with import conflicts #99

marekcuchy opened this issue Nov 13, 2024 · 0 comments

Comments

@marekcuchy
Copy link
Contributor

While importing, it can happen that some of the imported elements (with equal OSM ID) are already in the DB. Currently, the importer ignores the new elements and logs them.

Add configuration so that the user can choose the conflict-resolving policy:

  • Throw an exception
  • Overwrite the data
  • Keep old data, ignore new data (current policy)

Probably set default to throwing the exception.

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