This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

[closed] Railroad Tunnel not being rendered as tunnel

0

At https://www.openstreetmap.org/#map=18/38.23291/15.64425 you can see a railroad track which is tagged as being in a tunnel (visible on the southern track). The northern track would also be in a tunnel, is tagged almost the same, but is not rendered as such (it appears as normal track):

tags of the tunnel track: layer=-1, railway=rail, tunnel=yes

tags of the not-rendered tunnel track: layer=-1, railway=rail, tunnel=yes, voltage=3000, frequency=0, gauge=1435, electrified=contact_line

But the second one is also part of a route relation with the following tags: electrified=contact_line frequency=0 from=Salerno gauge=1435 name=Ferrovia Tirrenica Meridionale route=railway to=Reggio di Calabria type=route voltage=3000

Which tag is preventing the correct rendering of the tunnel?

asked 30 Oct '14, 08:22

Alexander%20Roalter's gravatar image

Alexander Ro...
276151724
accept rate: 0%

closed 30 Oct '14, 10:50

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Please accept your answer and close the question.

(30 Oct '14, 10:40) SimonPoole ♦

The question has been closed for the following reason “The question is self-answered, no further answers seem to be needed. accepting own answers is not possible → closing instead” by aseerel4c26 30 Oct ‘14, 10:50


One Answer:

2

Nevermind I remoed railway:rail from the relation, it now renders correctly.

answered 30 Oct '14, 08:25

Alexander%20Roalter's gravatar image

Alexander Ro...
276151724
accept rate: 0%

Source code available on GitHub .