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

Bridges with layer=5 appearing below bridges on lower layers #980

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

Comments

@openstreetmap-trac
Copy link

Reporter: craigermcgreger[at]yahoo.com
[Submitted to the original trac issue database at 1.13pm, Friday, 13th June 2008]

I have several bridges with layer=5. According to the documentation for the "bridge" and "layer" tags on the OSM wiki, five is a valid value for the "layer" key. However, the layer 5 bridges are being rendered so that they appear below bridges that have a "layer" value of 1 through 4.

Examples of the problem:

  • [http://www.openstreetmap.org/?lat=39.278693&lon=-76.618974&zoom=18]
  • [http://www.openstreetmap.org/?lat=39.267862&lon=-76.62303&zoom=18]
@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 12.01pm, Sunday, 15th June 2008]

I think the problem here is that the road on layer 5 is a motorway_link while the one on layer 3 is a motorway, and mapnik's ordering rules make that quite hard to handle.

It looks Steve has tried to cope with this with special styles for motorway bridges so that each layer is rendered in turn, but he only has rules for layers 0 to 4 at the moment so one needs adding for layer 5 I think.

@openstreetmap-trac
Copy link
Author

Author: craigermcgreger[at]yahoo.com
[Added to the original trac issue at 1.34pm, Sunday, 15th June 2008]

Perhaps the highway classification is'' affecting bridge layering: I just found another place with a similar issue, albeit with layer ''2'' bridges appearing below layer ''1 bridges: [http://www.openstreetmap.org/?lat=39.294262&lon=-76.610606&zoom=18].

In this case, the layer 2 bridge is a "lesser" classification (primary) than the layer 1 bridges (motorways and motorway_links).

Hope this helps.

@openstreetmap-trac
Copy link
Author

Author: ElDiabolo
[Added to the original trac issue at 3.33pm, Saturday, 19th July 2008]

I have another example which has only layers 0,1 and 2:
http://www.openstreetmap.org/?lat=50.925498&lon=6.744136&zoom=18&layers=B00FTF

Note that switching to osmarender gets it displayed correctly.

@openstreetmap-trac
Copy link
Author

Author: schuetzm[at]gmx.net
[Added to the original trac issue at 7.53am, Thursday, 24th July 2008]

Here's another one involving a highway=track bridge on layer 1 and a highway=motorway without layer:
http://www.openstreetmap.org/?lat=49.92459&lon=10.90652&zoom=17&layers=B00FTF

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 8.01am, Thursday, 24th July 2008]

We really don't need hundreds of examples - we understand the problem perfectly well, we just don't have a good way to fix it at the moment.

@openstreetmap-trac
Copy link
Author

Author: steve8[at]mdx.ac.uk
[Added to the original trac issue at 9.16am, Thursday, 24th July 2008]

The original problem of stacking motorway bridges over themselves up to layer 5 should now be resolved. Other cases are much more difficult. I will look at working round them when I get a chance.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 11.06pm, Tuesday, 18th August 2009]

Closing this one, as the case described here was fixed.

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