Public Transit API Developer's Guide

Maneuver

Maneuver contains maneuver needed to take during the jounrney.

Table 1. Maneuver Type Attributes
Attribute Always Included Type Description
direction Yes String Maneuver direction hint. Can be used to display the appropriate arrow icon for the maneuver.
action Yes String Code that identifies the action for this maneuver. Does not always indicate a direction.
duration Yes TimeDelta Describes the amount of time needed for a single maneuver.
next_road - String Name of the next road in the route that the maneuver is heading toward.
next_number - String Number of the road (such as A5, B49, etc.) towards which the maneuver is heading.
distance - Integer Distance to the next maneuver, in meters (default).
traffic - Float How much traffic affects to travel time in this part of trip. Value can range from 0 to any value. 0 means that traffic has no impact and 1 stands for doubled travel time. Values close to 1 and above should be rare extreme cases.
Table 2. Maneuver Type Elements
Element Always Included Type Description
Instruction Yes Instruction Verbal description of a maneuver.
Graph Yes Graph A polyline is a list of geographic coordinates. The edge between two subsequent coordinates is alway assumed to be the shortest way between the two.