Underground layer=-5 metro platform is rendered over buildings
Issue:
A metro platform highway=platform is rendered over the buildings although its layer is set to -5
Expected:
The platform should rendered below the buildings faded or with a dashed outline (similar to railway=subway), but also above layer like highway=pedestrian areas.
https://www.openstreetmap.org/way/487954656 https://www.openstreetmap.org/way/498558859
Related: https://github.com/gravitystorm/openstreetmap-carto/issues/3336 https://github.com/gravitystorm/openstreetmap-carto/issues/2037 https://github.com/gravitystorm/openstreetmap-carto/pull/3162
The correct tagging for underground platforms is location=underground. #3162 is a merged PR which addressed this (at least for platforms mapped as areas) rather than an open issue.
Not sure if this is an actionable issue.
Suggestions made:
- have mappers defined the drawing order of buildings relative to roads through
layer=*- would require combining buildings and roads into one layer (not really feasible) and would not really work design wise (drawing order is not the same as physical order in reality - otherwise tunnels would be widely invisible). - fading - i suppose that means using transparency - not viable design wise - would lead to poor readability due to the unpredicatable color mixing.
- rendering underground platforms with a dashed outline after surface roads - this would mean rendering them also after tunnels of all kinds, which - i imagine - would likely look confusing.
The only practically feasible approach with the current technical constraints i see would be #529 and #3281 - which would amount to giving up on properly layering road polygons (and pursuing #2046).