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

Improve rendering of tunnels #1993

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

Improve rendering of tunnels #1993

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

Comments

@openstreetmap-trac
Copy link

Reporter: sladen
[Submitted to the original trac issue database at 5.41pm, Thursday, 25th June 2009]

Currently tunnels disappear under all sorts of things:

  • Roads, rivers, seas, airports

and become invisible, disappearing without a trace. Examples:

  • Helsinki: [http://www.openstreetmap.org/?lat=60.371&lon=25.0958&zoom=16&layers=0B00FTF 60.371,25.095] New harbour freight line, vanishing under a forest (Helsinki is full of trees...)
  • Heathrow: [http://www.openstreetmap.org/?lat=51.467&lon=-0.462&zoom=15&layers=0B00FTF 51.467,0.462] Piccadilly, Heathrow Express, main entrance and cargo tunnels disappearing under Airport apron
  • Thames: [http://www.openstreetmap.org/?lat=51.4648&lon=0.2743&zoom=14&layers=0B00FTF 51.464,0.274] Dartford Tunnels and CTRL Thames Tunnel disappearing under estuary
  • Chunnel: [http://www.openstreetmap.org/?lat=51.0979&lon=1.2183&zoom=13&layers=0B00FTF 51.098,1.218] Channel Tunnel vanishing under English Channel

Ideally it would be possible to know where the tunnel goes when it passes under roads/forests/buidings and the like. Other existing map makers tend to do by rendering the tunnel as parallel dashed lines (or similar) on top of other features.

One possibility is rendering in two steps, a core centre, and outer lines. One being at the physical level (layer=) and one being overlaid higher-up.

Multiple stacked tunnels should continue to cross each other at the correct level (see Stratford, Kings Cross, etc... unless people have broken the sub-surface layering again).

@openstreetmap-trac
Copy link
Author

Author: Vid the Kid
[Added to the original trac issue at 9.43am, Thursday, 30th July 2009]

The problem here isn't the tunnels. It's the areas, which are rendered at layer=0 (unless they're otherwise tagged). Colored areas should be rendered earliest, as if they are layer=-infinity. (And icons and labels should be rendered as if they are layer=+infinity, but that's another issue altogether.)

When a tunnel goes under water, I'm not sure what should be done. I sort of like the behavior that the water covers the tunnel, because it's physically above the tunnel. But when the water is expansive, such as the English Channel, that can be problematic...

@openstreetmap-trac
Copy link
Author

Author: sladen
[Added to the original trac issue at 8.51am, Thursday, 15th October 2009]

Vid: a map that fails to display information is not a useful map... The ideal is to display both tunneled ways and landuse (overlaid) in some manner, rather than just one of them.

@openstreetmap-trac
Copy link
Author

Author: iandees
[Added to the original trac issue at 9.10pm, Monday, 9th September 2013]

Cleaning aging tickets.

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