Opened 10 years ago

Closed 5 years ago

#1483 closed enhancement (fixed)

highway=something_link should be rendered below other (principal) highways

Reported by: Richard Owned by: mapnik-team@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

I *think* (been trying to work this one out!) that motorway_link, trunk_link, primary_link etc. should be rendered below all other principal highway types - i.e. below unclassified and residential even. This would prevent line caps showing up.

http://www.openstreetmap.org/?lat=51.52878&lon=-3.12972&zoom=17&layers=B000FTF - trunk_link gives out onto primary roundabout

http://www.openstreetmap.org/?lat=51.508191&lon=-0.734389&zoom=18 - motorway_link gives out onto unclassified roundabout

Change History (6)

comment:1 Changed 10 years ago by steve8@…

Resolution: fixed
Status: newclosed

Completed in this week's render

comment:2 Changed 10 years ago by hatzfeld

Priority: minormajor
Resolution: fixed
Status: closedreopened

The result is less than satisfactory - take a look at http://www.openstreetmap.org/?lat=50.96877&lon=7.03156&zoom=17&layers=B000FTF

  1. motorway_link should not be rendered below a service road of the same layer
  2. the layer tag should be respected (see tunnel "Piccolomini-Straße" with layer=-2)

comment:3 Changed 9 years ago by steve8@…

Owner: changed from steve8@… to mapnik-team@…
Status: reopenednew

comment:4 Changed 8 years ago by T99

Rendering intersections is tricky. You can use way types to set the rendering order but even when you find an order that works in most cases it can fail in some cases.

You could also say that ways that terminate at the intersection should be rendered below any ways that go through it. However, consider the case where way A terminates in the middle of way B while way B terminates in the middle of way A. This cannot be rendered one way at a time, you have to render it one intersection at a time. Possibly a big change.

Additionally, when a wide way terminates at the intersection and is rendered below a a narrow way, then no part of the wide way should be extend beyond the narrow way, even when the ways meet at a narrow angle. Easier said than done.

comment:5 Changed 5 years ago by math1985

Not sure when it has changed, but links are now rendered below all other types of highways. I think this bug can be closed.

comment:6 Changed 5 years ago by math1985

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.