Opened 9 years ago

Closed 8 years ago

#2724 closed defect (wontfix)

Roads with railway=* are drawn above others

Reported by: NE2 Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:


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:

Change History (3)

comment:1 Changed 9 years ago by Ldp

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.

comment:2 Changed 8 years ago by Ldp

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=*.

comment:3 Changed 8 years ago by Ldp

Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.