Maps/Transport for London/tags

From Bjoern Hassler's website
Jump to: navigation, search

See osm:London public transport tagging scheme.

Also see Maps/Kings Cross as an example.

1 stop areas: relation osm:Tag:public_transport=stop_area[edit]

Stop areas contain public transport stops (including bus/train stops), station buildings, bus shelters, footways, elevators, escalators, station buildings, etc.

2 route_master: osm:relation:route_master/route[edit]

Public transport routes are built using route masters and routes. They contain stop positions, but do not contain stations or stop_areas.

  • Relation: osm:relation:route_master (relation: type=route_master, route_master=train/...). Contains
    • Relation: osm:relation:route (relation: type=route, route=train/...). - typically two routes are part of one route master, but all route variant/directions form separate routes. It has the following members:
      • Ways as "route", line runs (e.g. rails, ways tagged railway=train, light_rail, subway, ..., osm:Key:railway#Tracks), uses role as "route". If the route is directional (e.g. train running one way only) you'll have role as "forward" (going in the direction of the line). Sometimes both rails are not mapped, or outside stations, trains use the same rails, in which case you'd have role as "forward" within stations (e.g. on two different rails) and role as route outside stations.
      • Nodes as stop, or stop:<number>: Node tagged as railway=stop+public_transport=stop_position. Same node is also part of stop_area. It seems that a node with railway=station is permissible too, but for larger stations (was ways or relations) this doesn't seem the right approach.
      • Ways as platform or platform:<number>: osm:tag:railway=platform/osm:tag:public_transport=platform (same node also part of stop area).

Notes: following some discussion on the mailing list, the following should be noted:

  • In the route relation, order the items as follows:
    1. Stop 1
    2. Platform 1
    3. ...
    4. Stop N
    5. Platform N
    6. way 1
    7. way ...
    8. way n
  • Regarding stop_positions:
    • These should be placed from a passenger perspective, i.e. towards the middle of the platform.
    • It seems that sometimes they are placed towards the end of the platform, indicating where the driver would stop. The seems less favourable than the above convention, but perhaps OSM needs a tag for "stop_position_front_of_train" or similar.
  • The platform and the stop should be associated by sharing the same "ref". In this way, platforms (where passengers wait) can be associated with stop_positions (where the train stops, and the passengers transits onto the rail network).
    • Simplest case: platform/ref=1; stop_position/ref=1
    • However, platforms may be associated with several stop positions: platform/ref=1;2;3;4; stop_position/ref=1; stop_position/ref=2; stop_position/ref=3; stop_position/ref=4.

Also see osm:DE:Public_transport.

3 osm:Relation:superroute[edit]

Also have a look at osm:Relation:superroute

4 Naming convention[edit]

The platforms on the underground feature signed (on the wall above the tracks) that show the line run from this stop. They are titled as follows, e.g.

  • Liverpool Street - Central Line - Westbound - Platform 5
  • Tottenham Court Road - Central Line - Westbound - Platform 1
  • Tottenham Court Road - Central Line - Eastbound - Platform 2

This should be used for the name tag on platforms.

Perhaps the following should be used for the stops:

  • Liverpool Street - Central Line - Westbound
  • Tottenham Court Road - Central Line - Westbound

5 Some pictures[edit]

5.1 A railway station[edit]

Rail station.svg

5.2 Features labeled (not finished)[edit]

Rail station-with labels.svg

5.3 The stop_area relation[edit]

Rail station-stop area.svg

5.4 The route relation[edit]

Rail station-route relation.svg

6 Public transport tools[edit]

See Maps/JOSM.


(Not complete - there are many more tools.)