osmose-backend
osmose-backend copied to clipboard
Extend tunnel+bridge on same way check to all `bridge=*+tunnel=*` combinations
Instead of only warning about tunnel=yes + bridge=yes
on the same way, warn about all tunnel=* + bridge=*
on the same way (except when *=no
).
Just a thought that crossed my mind in the other bridge/tunnel issue :) I hope I'm not missing valid cases, e.g. I assume that for instance a bridge that crosses a building (above ground level) is a tunnel=building_passage without bridge tag. Example: https://mybestplace.com/en/article/chongqing-a-subway-passing-through-a-building
If in doubt, feel free to reject this PR
Related #2163
Only a little bit, although it was my inspiration to revisit this check
2163 is about the two tags on different ways that are spatially intersecting. This PR is about a single object having both tags simultaneously