Skip to content

Add options what do with import conflicts #99

Description

@marekcuchy

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions