London public transport tagging scheme/Examples

From OpenStreetMap Wiki
Jump to navigation Jump to search

A good way to find your way round the London public transport tagging scheme is by looking at some examples. You'll want to familiarise yourself with Overpass_turbo.

Viewing route_masters and routes for network=London Buses, London Underground etc

Recommended Network tags:

Docklands Light Railway
London Buses
London Cable Car
London River Services
London Trams
London Underground
National Rail

Docklands Light Railway

See relation Docklands Light Railway for all routes.

List:

try it yourself in overpass-turbo
[out:csv(::type,::id,network,type,name;true;" | ")][timeout:25];
{{sel=["network"~"Docklands Light Railway"]["type"~"route"]}}
(
  relation{{sel}};
);
out meta qt;

Map:

try it yourself in overpass-turbo
[out:json][timeout:25];
{{sel=["network"~"Docklands Light Railway"]["type"~"route"]}}
(
  relation{{sel}};
);
out geom qt;

Elizabeth line

See relation Elizabeth line for all routes.

List:

try it yourself in overpass-turbo
[out:csv(::type,::id,network,type,name;true;" | ")][timeout:25];
{{sel=[name="Elizabeth line"]}}
(
  relation{{sel}};
);
(._;>>;)->.b;
(relation.b;);
out meta qt;

Map:

try it yourself in overpass-turbo
[out:json][timeout:25];
{{sel=[name="Elizabeth line"]}}
(
  relation{{sel}};
);
(._;>>;)->.b;
(relation.b;);
out geom qt;

London Buses

See relation London Buses for all routes.

List:

try it yourself in overpass-turbo
[out:csv(::type,::id,network,type,name;true;" | ")][timeout:25];
{{sel=[name="London Buses"]}}
(
  relation{{sel}};
);
(._;>>;)->.b;
(relation.b;);
out meta qt;

London Cable Car

List:

try it yourself in overpass-turbo
[out:csv(::type,::id,network,type,name;true;" | ")][timeout:25];
{{sel=["network"~"London Cable Car"]["type"~"route"]}}
(
  relation{{sel}};
);
out meta qt;

Map:

try it yourself in overpass-turbo
[out:json][timeout:25];
{{sel=["network"~"London Cable Car"]["type"~"route"]}}
(
  relation{{sel}};
);
out geom qt;

London Overground

See relation London Overground for all routes.

List:

try it yourself in overpass-turbo
[out:csv(::type,::id,network,type,name;true;" | ")][timeout:25];
{{sel=[name="London Overground"]}}
(
  relation{{sel}};
);
(._;>>;)->.b;
(relation.b;);
out meta qt;

Map:

try it yourself in overpass-turbo
[out:json][timeout:25];
{{sel=[name="London Overground"]}}
(
  relation{{sel}};
);
(._;>>;)->.b;
(relation.b;);
out geom qt;

London River Services

List:

try it yourself in overpass-turbo
[out:csv(::type,::id,network,type,name;true;" | ")][timeout:25];
{{sel=["network"~"London River Services"]["type"~"route"]}}
(
  relation{{sel}};
);
out meta qt;

Map:

try it yourself in overpass-turbo
[out:json][timeout:25];
{{sel=["network"~"London River Services"]["type"~"route"]}}
(
  relation{{sel}};
);
out geom qt;

London Trams

See relation London Trams for all routes.

List:

try it yourself in overpass-turbo
[out:csv(::type,::id,network,type,name;true;" | ")][timeout:25];
{{sel=["network"~"London Trams"]["type"~"route"]}}
(
  relation{{sel}};
);
out meta qt;

Map:

try it yourself in overpass-turbo
[out:json][timeout:25];
{{sel=["network"~"London Trams"]["type"~"route"]}}
(
  relation{{sel}};
);
out geom qt;

London Underground

See relation London Underground for all routes.

List:

try it yourself in overpass-turbo
[out:csv(::type,::id,network,type,name;true;" | ")][timeout:25];
{{sel=["network"~"London Underground"]["type"~"route"]}}
(
  relation{{sel}};
);
out meta qt;

Map:

try it yourself in overpass-turbo
[out:json][timeout:25];
{{sel=["network"~"London Underground"]["type"~"route"]}}
(
  relation{{sel}};
);
out geom qt;