Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Above ground platforms mapped as areas that overlap roads render beneath the roads instead of above them. #4221

Closed
evansiroky opened this issue Oct 14, 2020 · 2 comments
Labels
cartography roads wontfix-unfeasible Issues closed because of lack of suitable solution

Comments

@evansiroky
Copy link

Expected behavior

Platforms mapped as areas that have the layer tag greater than a road beneath should render on top of the roads below.

Actual behavior

Platforms mapped as areas always seem to render beneath the roads regardless of whether they are actually above them in real life and via the use of the layer tag.

Links and screenshots illustrating the problem

See example here: https://www.openstreetmap.org/#map=19/39.73658/-75.54966.

Screen Shot 2020-10-14 at 12 36 57 PM

@mboeringa
Copy link

mboeringa commented Oct 14, 2020

This is essentially a duplicate of the man_made=bridge issue, that has been discussed multiple times before, see e.g.:

#3203

Unfortunately, people expect miracles to happen, and all stuff to magically adhere to layer=x tagging in OSM, but that is not the case.

In reality though, rendering both polygons and lines, and the potentially hundreds of different thematic layers that can be created from the OSM tagging system, in a properly layered fashion is really tough. Just imagine, there are eleven valid layer=x values (-5 to 5), and each thematic layer (platform / bridges etc.) needs to be interleaved.

It is not without reason that essentially all other real world competing styles (think e.g. the big ones like Google, Bing, Mapbox), never render this kind of stuff at all (unless it is maybe part of small scale "indoor" rendering of pseudo 3D models at high zoom).

I developed a personal renderer that does resolve some of these issues related to bridges and platforms, but in my case that already requires a few hundred layers to be rendered... Each thematic layer results in eleven separate "layers" for each OSM layer=x tag. That is tough to translate into a system that also needs to perform like this main style.

See this comment though, for an example result of Edinburgh Waverly station, and notice how the man_made=bridge structures properly render over the underlying railroads and platforms:
#3491 (comment)

And for a number of other related issues:

#2130
#2037
#688

@pnorman
Copy link
Collaborator

pnorman commented Oct 14, 2020

Platform areas are rendered independently of roads, and it is not practical to change this. We could move them before roads or after roads, but not interleave them with roads based on the layer tag.

@pnorman pnorman closed this as completed Oct 14, 2020
@jeisenbe jeisenbe added cartography roads wontfix-unfeasible Issues closed because of lack of suitable solution labels Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cartography roads wontfix-unfeasible Issues closed because of lack of suitable solution
Projects
None yet
Development

No branches or pull requests

4 participants