Kazuhiko Nakayama
Kazuhiko Nakayama

Reputation: 801

Openstreetmap Tunnel

Is there any way to display all tunnel + road on OpenStreetMap ? I am making a Bike Navigation system for trip. in Tunnel, We lost GPS position , because there is no GPS data in tunnel. I want to know timing when My position enter a tunnel and exit from the tunnel.

in OpenStreetMap, Is there any way to know Position of Tunnel Entry/Exit ?

Is this helpful ? http://wiki.openstreetmap.org/wiki/Key:tunnel

from Tile Bitmap image, To know tunnel, it maybe not possible... if I use original vector data of Openstreetmap, it maybe possible.. I am using android + osmdroid, then, it maybe not easy...

Please advice me .

Upvotes: 1

Views: 398

Answers (2)

Jothi
Jothi

Reputation: 163

In generall tunnel tag will be associated with layer tag as well. To be more specific layer=-1 tag is mostly used for the length of the tunnel.

Upvotes: 0

scai
scai

Reputation: 21469

Yes, tunnel is the correct key. You definitely have to look at the raw (vector) data. The tunnel entry and exit is defined by the first and last node of the tunnel way. Keep in mind that the tunnel can also be split into multiple adjacent ways.

Upvotes: 1

Related Questions