Skip to content

Always deduplicate on id and type - #327

Merged
lonvia merged 1 commit into
osmcode:masterfrom
lonvia:fix-deduplication
Oct 16, 2026
Merged

lonvia merged 1 commit into
osmcode:masterfrom
lonvia:fix-deduplication

Conversation

@lonvia

@lonvia lonvia commented Oct 16, 2026

Copy link
Copy Markdown
Member

MergeInputReader has two different code paths for merging data. The one applying to a handler was doing the deduplication right already. The one applying writer was deduplicating on id only.

Added a set of tests to make sure all code paths are covered.

Fixes #318.

@lonvia
lonvia merged commit 2b8e6cd into osmcode:master Oct 16, 2026
29 checks passed
@lonvia
lonvia deleted the fix-deduplication branch October 16, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

MergeInputReader drops objects when IDs collide across OSM types

1 participant