-
Notifications
You must be signed in to change notification settings - Fork 819
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
Water areas with tunnel=yes should not render above landcover #3312
Comments
It might be solved by #2875 and then removing rendering of underground parkings, see #552 (comment). |
this location doesn't have any underground parking. |
Sorry, now I understand. I don't have the idea what to do, does anybody else have some? BTW: I think this parking should be tagged as layer=0 (or just omit the layer tag). |
Maybe we should hide riverbanks when tagged as underground, like #3162? And maybe the same should be done for Lines 54 to 81 in f8a0f52
|
The code for showing tunneled waterways is here - I think areas should be just hidden, but one can use the same code for filtering them: Lines 120 to 162 in f8a0f52
|
This could be a similar symptom, if the bridge is removed the riverbank is rendered on top of the parking area. Expected would be the that the amenity=parking area is painted on top of the bridge. Assumption: could it be that the layer tag of the parking area is not interpreted correctly? https://www.openstreetmap.org/#map=19/48.52899/9.06783 Layers in this case: bridge: layer=1 |
Wild guess: probably this is because layer tag is not global in this style, it works only in the internal "data layer" (for example it within roads, but parking is in amenity layer). |
See #1799 for more discussion about road/bridge layering. |
Just add |
We could try not rendering water areas, including |
Does this mean that the bridge problems presented in my above posts have to be moved to an seperate issue? |
layer 1 :
a parking https://www.openstreetmap.org/way/601761935
amenity | parking
layer=1
parking=surface
a road https://www.openstreetmap.org/way/601761936
highway | service
layer=-1
a river https://www.openstreetmap.org/way/601763495
layer=-1
tunnel=yes
waterway=river
the riverbank of this part of the river https://www.openstreetmap.org/way/100709132
layer=-1
tunnel=yes
waterway=riverbank
Expected behavior
show the parking area like all surface parking.
if the tunnel is also rendered, it must be very light and not "overwrite" the render of the parking.
Actual behavior
the riverbank (layer=-1) is render on top of the parking (layer=1) in stead of under it
Links and screenshots illustrating the problem
https://www.openstreetmap.org/way/100709132
The text was updated successfully, but these errors were encountered: