Skip to content

Conversation

@Kaushik4141
Copy link
Contributor

@Kaushik4141 Kaushik4141 commented Jan 27, 2026

this applies the same fix logic from 62e1714 to the merge operation

fix

Now, when coastline ways are merged into a multipolygon, the natural=coastline tag stays on the outer ways rather than being shifted to the relation, as recommended by the OSM wiki

image

changes

Modified modules/actions/merge_polygon.js to extract natural=coastline before merging tags

Added a regression test in test/spec/actions/merge_polygon.js to verify that natural=coastline stays on the way while other tags move to the relation.

Fixes #11816

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

Successfully merging this pull request may close these issues.

natural=coastline tag should remain on outer way when multipolygon is created using "merge" operation

1 participant