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

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

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

Comments

@openstreetmap-trac
Copy link

Reporter: Richard
[Submitted to the original trac issue database at 9.20am, Monday, 12th January 2009]

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

@openstreetmap-trac
Copy link
Author

Author: steve8[at]mdx.ac.uk
[Added to the original trac issue at 5.21pm, Thursday, 22nd January 2009]

Completed in this week's render

@openstreetmap-trac
Copy link
Author

Author: hatzfeld
[Added to the original trac issue at 9.31pm, Tuesday, 17th February 2009]

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-Strae" with layer=-2)

@openstreetmap-trac
Copy link
Author

Author: T99
[Added to the original trac issue at 7.45pm, Thursday, 3rd February 2011]

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.

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 6.20pm, Monday, 9th December 2013]

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

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