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
man_made=bridge layer issue #1799
Comments
|
For now it is like buildings - displayed below all roads. Partial reason is to show roads, junctions etc below bridges (like at http://www.openstreetmap.org/?mlat=50.04999&mlon=19.93513#map=19/50.04999/19.93513) - but I am not sure is it a good reason to keep it this way, it is probably really rare to see situations where there is something interesting below and it is readable. Second reason that it was relatively easy to code displaying it like building. To handle layers it would be much more complicated - it would be part of SQL query starting at openstreetmap-carto/project.yaml Line 772 in dc6b9fe
|
|
@simonpoole In provided example there is a better situation - this steps may be hidden on implementig this suggestion (and somebody would probably change layers to tag it for renderer - and encouraging things like this would be a poor idea) |
I think that it is a good enough reason to layer it like buildings. I plan on closing this ticket as IMHO current solution is not perfect - but there is no clear way to improve this. |
|
sent from a phone
in this example the bridge appears to be below the crossing road, thereby confusing the map reader. I agree with Simon that there is still a flaw in bridge rendering. Maybe there could be an exception for using transparency in conjunction with bridges? |
|
Tbh the entire layering of buildings vs roads can be confusing, but I guess as this render is focused on roads it can't be helped. |
I've said this before and I'll say it again. No transparency. :-) You don't actually want to blend the road colour and the bridge colour together to get a darker murky brown. What you are actually wanting to do is find the roads that (physically) lie below the bridge, and colour those bits with a different (perhaps lighter? tunnel-like?) colour, while still drawing the bridge polygon first and the roads after. So think I'm going to close this as per @matkoniecz since it's not a huge problem and the fix would be quite challenging. Of course, if a PR appears with an alternative approach, that would be of interest. |
|
@gravitystorm I'm confused then what is translucency/transparency, what is not, and why it is considered a bad thing. Using examples:
Closed bridge-related issue may be not the best place to ask such general questions, but we don't have special place for it, so sorry for "hijacking" it... |
|
opacity/transparency/translucency are all similar things in our conversations (https://en.wikipedia.org/wiki/Transparency_and_translucency has the details. Yes, the tree canopies use opacity. MapQuest Open uses transparency almost everywhere and that leads to terrible colour mixing - it's a really bad idea, and we knew that when I worked on that style a few years ago. (For your examples, ask why are some buildings darker than others?) But for the best explanation of why it is bad, see my link above regarding footpaths and roofs. |
|
Here's another example that demonstrates that we should take the layer value for bridge objects into account for the rendering order: http://www.openstreetmap.org/way/44097288#map=19/41.86046/12.47039 |
Could you do a PR with a fix, so we can have a look at how much complexity it adds? |



First thanks a lot for supporting the tag in the first place.
There seems to be a minor problem with respect to supporting the layer tag correctly wit http://www.openstreetmap.org/#map=18/47.38605/8.53404
The text was updated successfully, but these errors were encountered: