railway=tram does not render on roads tagged with bridge=yes with Mapnik #936
Comments
Author: grand.edgemaster[at]gmail.com railway=tram conflicts with the highway= tag, where possible you should create a new way running over the top of the road way. (Plus the behaviour of using multiple top-level tags on a single object is generally undefined) |
Author: steve8[at]mdx.ac.uk Can you point me to an example, so I can investigate? |
Author: lakeyboy Here is an example of it in practice. Princes Bridge in central Melbourne, Australia. [http://www.openstreetmap.org/?lat=-37.81953&lon=144.96803&zoom=17&layers=B00FT] |
Author: lakeyboy I'll just add to this. I have also discovered that a bridge will not render even if the only tags attatched to the way are railway=tram and bridge=yes. As above, the tram line renders, but the bridge does not. Example here in St Kilda, Melbourne, Australia. [http://www.openstreetmap.org/?lat=-37.85586&lon=144.98287&zoom=17&layers=B00FT] |
Author: rhomeo I can confirm the bug. Another example can be found here: http://www.openstreetmap.org/?lat=47.55989&lon=7.58983&zoom=17&layers=B00FT "Mittlere Bcke". |
Author: steve8[at]mdx.ac.uk Trams brought above all roads, so they show on the road when it goes on bridge. |
Author: michal[at]feix.cz I've made a small patch to address this issue. As I don't have R/W access to repository, I'm attaching my diff. It still keeps trams above all bridges but also solves bug with trams beeing drawn over every road on map, even over elevated ones. |
Author: clockwerx |
Author: clockwerx Shifting to above issue. The patch is obviously a bit stale now; but the essence of it might be suitable to turn into a PR. |
Reporter: lakeyboy
[Submitted to the original trac issue database at 10.35pm, Wednesday, 28th May 2008]
At the moment, tagging a road with railway=tram, it will render a solid greyish line down the middle of the road, but when the road is tagged with bridge=yes and railway=tram, the bridge renders while the tram line does not. I'm not sure if this is because of conflicting code or that this type of combination is not registered by the Mapnik code.
The text was updated successfully, but these errors were encountered: