Skip to content

Conversation

@deevroman
Copy link
Contributor

@deevroman deevroman commented Dec 25, 2025

The wiki requires that the relation has strictly one member with theoutline role https://osm.wiki/Relation:building

Now the absence of outline leads to an incomprehensible crash: https://beakerboy.github.io/OSMBuilding/?id=8093777&type=relation

The presence of multiple outlines may not cause a crash, but it is an error because mappers try to use it in the same way as outer in multipolygons.

I added clear exception throwing and tests.

@Beakerboy Beakerboy merged commit 460afb5 into Beakerboy:main Dec 29, 2025
2 checks passed
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.

2 participants