[OSM-talk] Ways in tunnels

Jon Stockill lists at stockill.net
Wed Oct 4 12:03:54 BST 2006


David Groom wrote:
> Is there a consenus / best practice on how to tag ways which run through 
> tunnels?
> 
> Lets assume a rail line (A-D) which runs through a tunnel (B-C)
> 
> A_____________B   __   __  __  __  __ C________D
> 
> There seem various ways of tagging this:
> 
> 
> 1)  Way A-D tagged as railway = rail; and segments B-C tagged as tunnel=yes
> 
> 2)  Way A-B   C-D tagged as railway =rail.; and way B-C tagged as railway = 
> rail, tunnel =yes
> 
> 3)  Way A-D tagged as railway = rail; and way B-C tagged as railway = rail 
> tunnel=yes

This could also be extended to:

embankment=yes
cutting=yes
viaduct=yes

These are of course all applicable to roads too.

-- 
Jon Stockill
lists at stockill.net




More information about the talk mailing list