render highway as broken lines when under a building #2394
Comments
Author: jm[at]liotier.org Another way to look at the problem- a railway station above the tracks : http://osm.org/go/0BPCWjWzC-- area:yes[[BR]] And it is not rendered above the default layer railway. There is definitely a problem with the rendering of buildings over ways. |
Author: Waldo000000 I'm surprised that this is "minor" priority. Is it really still not possible to render ways under/through buildings? E.g. a service road through a petrol station: http://www.openstreetmap.org/?lat=-27.697024&lon=153.038597&zoom=18&layers=B000FTF Or undercover service=parking_aisle's. The original poster said "A comment was made on one bug report that this has not been changed because you would not be able to see the path taken by the highway." IMHO even this would be an improvement in the short-term, if it is indeed difficult to render ways as broken lines. |
Author: Ldp It is not difficult to render broken lines, but it is relatively difficult or computationally intensive to detect when a road intersects a building polygon. You might want to look into the covered=yes tagging. |
Author: Waldo000000 I don't think introducing a redundant tag in this case (e.g. covered=yes) to fix a rendering problem is the best solution. And being "relatively difficult" to fix the problem is not a valid reason against fixing the problem. A post on the tagging list suggested "this may need to be fixed on osm2pgsql to handle this situation": http://lists.openstreetmap.org/pipermail/tagging/2009-December/000975.html |
Author: stanton As a matter of fact, covered=yes does not render as broken lines either. That, however, should not be too difficult to fix (we're doing the same for tunnels already, so why not for covered?). As for the redundancy of covered=yes - it may be considered a "courtesy tag" to ease the work of the renderer in a fully-mapped inner city, but imagine a gallery on a mountain road, like a tunnel but open on one side. It is not really a building as it sort of blends into the territory on the uphill side, so I wouldn't draw a building outline here (where's the outline on the uphill side?). Nor is it a real tunnel - hence the tag does have a valid raison d'etre. |
Author: bbauer |
Author: dieterdreist and see also http://trac.openstreetmap.org/ticket/4103 |
Author: math1985 Roads like this should be tagged with tunnel=building_passage. If that is done, they will be rendered correctly. As this is a tagging issue, I will close this ticket. |
Author: Jean-Marc Liotier covered=yes is also in widespread use and it is a correct way to map this. Request for rendering it in Mapnik is https://trac.openstreetmap.org/ticket/2825 |
Author: math1985 Thank you for pointing that out. |
Reporter: Turbodog
[Submitted to the original trac issue database at 9.13pm, Monday, 26th October 2009]
Currently highways are rendered on top of buildings, independent of relative layering. A comment was made on one bug report that this has not been changed because you would not be able to see the path taken by the highway. If this is a concern, or if the rendering sequence is such that buildings are rendered before highways, would it be possible to render the road as broken lines with transparent fill when it passes under the building? The mapper/tagger can break the road into segments so that only the segment under the building is changed if this helps the rendering process.
The text was updated successfully, but these errors were encountered: