Tag:route=bus

route=bus
Description
The route of a public bus service. 
Group: Routes
Used on these elements
Requires
Useful combination
Status: de facto
Main article: Buses

This tag is used on relations which map the route of a bus service. For a complete guide on adding a bus routes to OpenStreetMap, see the wiki page Buses.

There are subtle differences between two conventions of mapping bus route:

  • In PTv2, use one relation for each direction, so you generally need 2 relations for a bus line. Don't forget to add these relations to a route_master relation.
  • In the traditional PTv1, each direction can be mapped using 2 separate relations (sharing the same ref=* value); or alternatively, using a single relation.

Other differences will be explained down below in relevant parts.

Tags

Key Value Comment
typeroute(mandatory)
routebus(mandatory)
refreferenceThe reference by which the route is known. e.g. 4, 4A, X13, etc. (recommended)
name

individual name

For PTv2 please use: <vehicle type> <reference number>: <initial stop> => <terminal stop>

The name of the route or line.
operatoroperatorName of the company that operates the route.
fromnameStart station
tonameDestination station
public_transport:version1 / 2Used to distinguish between different public transport relation schemes
networklocal or regional network Name of the network; Can be an abbr. e.g., BVG, RMV.
colourex: red / #FFEEDDThe "official" colour for the bus route. Identifiers in some cities.
vianameImportant via station if any
opening_hoursservice hoursThe service hours of the bus route
durationdurationThe running time of the bus route as stated in official documents Use HH:MM:SS, H:MM:SS, HH:MM, H:MM, MM, or M format. Example: 00:32, 00:32:00, or 32 for 32 minutes.(optional)
wheelchairyes / no / limitedIndicates if the buses on the route are low-floor buses for wheelchairs. (optional)
bicycleyes / no / permissiveIndicates if bicycles are permitted on the bus. 'yes' if they are, which could be indicated by racks on the front of the bus. 'permissive' if they could be brought on to the bus, but no amenities for cyclists exist. 'no' if bicycles are banned from the bus.
intervalservice intervalThe time between arrivals at any given stop along the route. Use HH:MM:SS, H:MM:SS, HH:MM, H:MM, MM, or M format. Example: 00:32:30 for a route that has buses arriving every 32.5 minutes.(optional)
roundtripyes/noWhether the bus route is circular (the first and last stop are the same).(optional)

Members

Way/node Role Recurrence? Discussion
<empty>/route/forward/backwardZero or moreThe ways making up the route, in order and connected. When mapping with PTv2, the empty role should be used.

However, when following the traditional and more-explicit PTv1, each role could be one of the following:

  • route means the route follows this way in both direction.
  • forward means the route follows this way only in the direction of the way.
  • backward means the route runs only against the direction of the way.
hail_and_rideZero or moreUsed on road segments in a public transport route relation where you can stop a vehicle at any point to get on or off. Common in Asian countries.
stop/stop_exit_only/stop_entry_onlyZero or more[1]The stop position of the bus on the route road (public_transport=stop_position). The order of the members in the relation should be identical to the order in the timetable, and added in order at the beginning of the relation.
platform/platform_exit_only/platform_entry_onlyZero or more[1]The signpost or platform at a bus stop (public_transport=platform + highway=bus_stop/highway=platform). The order of the members in the relation should be identical to the order of the stops in the timetable, and added in order at the beginning of the relation.
  1. 1 2 Member objects of type platform or of type stop may themselves be members of a public_transport=stop_area relation.

Order of members

For relations which are tagged as PTv2 scheme there is a strict defined order for the involved relation members, see Route Direction / Variant:

  • Each direction/variant relation contains all available stop_positions, platforms and ways.
  • Each stop is included with two elements (if available): first the stop_position tagged with role stop and immediately followed by the corresponding platform tagged with role platform. The stops (stop_positions and platforms) should be inserted beginning with the initial stop_position/platform and ending with the terminal stop_position/platform.
  • After all the stops all the used ways should be inserted into the relation with an empty role. The ways should be inserted beginning with the way at the initial stop position and ending with the way at the terminal stop position.

Sorting and robustness of member order - editor support

  • For the iD editor there is no automatic member order function, manual sorting of members is tending to impractical for relations with a higher member count.
  • For the iD editor there is an open task to keeping a meaningful order of members after splitting ways for relation with loops, see openstreetmap/iD/issues/4876.

Possible technical mistagging

See also

  • route=train - The route of a train service (e.g. London-Paris Eurostar). Not to be confused with a named stretch of railroad track (see route=railway).
  • route=tram - The route of a tram service.
  • route_ref=* - The mark on a bus stop to reference the routes (as signed)
This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.