Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Roads with railway=* are drawn above others #2724

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Roads with railway=* are drawn above others #2724

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: NE2
[Submitted to the original trac issue database at 2.43pm, Tuesday, 16th February 2010]

In Washington, DC, some streets are tagged railway=abandoned_tram or railway=old_tram, which doesn't render as anything special. (Let's not get into whether this tag is a good idea.) But Mapnik draws these on top of other streets, meaning that, for instance, a tertiary highway is above a primary highway. Example: http://www.openstreetmap.org/?lat=38.891103&lon=-76.993682&zoom=18&layers=B000FTF

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 10.44pm, Tuesday, 2nd March 2010]

This has nothing to do with the railway tags, and everything with layering issues within the stylesheet. There are quite a few tickets for this already. It will be addressed eventually.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 8.51pm, Monday, 21st March 2011]

On second thought, this is probably happening during the import, before mapnik even gets to it. osm2pgsql sorts ways as well, and something tagged with railway=* will get a higher priority as the same level highway=*.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 7.58pm, Saturday, 21st May 2011]

As I suspected, the added railway=* tag, even if it never renders, causes the tertiary to be of higher priority and drawn above the primary/secondary highways. This isn't something the mapnik stylesheet can address.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant