streetcomplete / StreetComplete

Easy to use OpenStreetMap editor for Android
https://streetcomplete.app
GNU General Public License v3.0
3.9k stars 357 forks source link

Minor visual glitch at bridges #5876

Closed Helium314 closed 2 months ago

Helium314 commented 2 months ago

How to Reproduce Use SC with MapLibre, move to https://www.openstreetmap.org/way/37667150 and see part of the Bridge on top of the road: Screenshot_20240901-130653_Street­Complete_Dev

At most bridges this will not occur, I assume what we see is the rounded line cap, but only if there is some angle between bridge edge and road that's far enough from 90°.

Expected Behavior Bridge is below the road, like it was in 58.2.

Additional information The problem could be related to z-order, assuming order is road on bridge on top, then bridge structure, then normal road.

Versions affected Android 10, SC 59.0-alpha2 (and SCEE with alpha4 merged)

westnordost commented 2 months ago

Bridge structures are rendered above non-bridge roads, unlike in osm carto where roads are always rendered above any structure. So, I don't think this is fixable. (And also not really a bug, IMO. You could also say that it is a bug in osm carto that non-bridge roads are rendered above bridge structures.)