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

Junctions in tunnels / on bridges #604

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

Junctions in tunnels / on bridges #604

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

Comments

@openstreetmap-trac
Copy link

Reporter: einarr
[Submitted to the original trac issue database at 3.02pm, Monday, 3rd December 2007]

The arcades marking the beginning and end of a tunnel should not be shown if all the ways connected at a node have tunnel=yes.

For reference, see http://informationfreeway.org/?lat=69.65717098928287&lon=18.970146284989344&zoom=15&layers=B000F000
(or the attached tile from the same location) where there are two roundabouts in the tunnel system.

@openstreetmap-trac
Copy link
Author

Author: nomis
[Added to the original trac issue at 7.54pm, Friday, 4th July 2008]

I have implemented a prototypic solution for a similiar problem with bridges - see e.g. http://www.openstreetmap.org/?lat=50.89883&lon=8.02429&zoom=17&layers=0B0FTF . Bridges meeting in the air should not have fancy endings.

I'll attach a patch. I know that this solution has its drawbacks, but I think it goes in the right direction.

@openstreetmap-trac
Copy link
Author

Author: nomis
[Added to the original trac issue at 8.02pm, Friday, 4th July 2008]

Sorry - trac for some reasons fails to accept my patch.

It is available at http://www.home.unix-ag.org/simon/files/bridge-endings.patch

@openstreetmap-trac
Copy link
Author

Author: nomis
[Added to the original trac issue at 1.42am, Saturday, 5th July 2008]

I'll attach a patch that fixes this behaviour as well as the bridge behaviour. With the help from bob I made a generic solution which now is used for tunnels as well as for bridges. The heuristics is now that the end-decoration is only drawn if there is exactly one way ending with bridge='yes' or tunnel='yes' respectively.

In case I don't manage to attach it again: http://www.home.unix-ag.org/simon/files/bridge-endings2.patch

@openstreetmap-trac
Copy link
Author

Author: bobkare
[Added to the original trac issue at 4.44pm, Sunday, 6th July 2008]

(In [8789]) Applying patch from nomis, fixes #604

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