|route = bus|
|The route of a public bus service.|
|Group: Bus routes|
|Used on these elements|
|Status: de facto|
|Tools for this tag|
- Main article: Buses
There are subtle differences between two convention 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.
|ref||reference||The reference by which the route is known. e.g. 4, 4A, X13, etc. (recommended)|
for PTv2 please use:
<vehicle type> <reference number>: <initial stop> => <terminal stop>
|The name of the route or line.|
|operator||operator||Name of the company that operates the route.|
|public_transport:version||1 / 2||Used to distinguish between different public transport relation schemes|
|network||local or regional network||Name of the network; Can be an abbr. e.g., BVG, RMV.|
|colour||ex: red / #FFEEDD||The "official" colour for the bus route. Identifiers in some cities.|
|via||name||Important via station if any|
|opening_hours||service hours||The service hours of the bus route|
|duration||duration||The 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)|
|wheelchair||yes / no / limited||Indicates if the buses on the route are low-floor buses for wheelchairs. (optional)|
|bicycle||yes / no / permissive||Indicates 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.|
|interval||service interval||The 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)|
|roundtrip||yes/no||Whether the bus route is circular (the first and last stop are the same).(optional)|
|(blank)/route/forward/backward||Zero or more||The 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:
|hail_and_ride||Zero or more||Used 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_only||Zero or more||A bus stop, on the route road. 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_only||Zero or more||A bus platform belonging to the route. 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.|
Order of members
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
Possible technical mistagging
The attribute route=bus tagged on node or way (& & ) elements is a possible technical mistagging.
- 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)