The service defines a route leg as the portion of a route between one waypoint and the next.
RouteLegType contains information about a route leg, such as the time required to traverse it, its shape, start and end point, as well as information about any sublegs contained in the leg due to the presence of passthrough waypoints.
RouteLegType defines the following attributes:
Route waypoint that is located at the start of this route leg. This waypoint matches one of the waypoints in the Route.
Route waypoint that is located at the end of this route leg. This waypoint matches one of the waypoints in the Route.
Length of the leg.
|TravelTime|| common:DurationType |
The time in seconds needed to travel along this route leg. Considers any available traffic information, if enabled and the authorized for the user.
List of all maneuvers which are included in this portion of the route.
List of all links which are included in this portion of the route. See also
Bounding Box of the leg.
Shape of route leg.
Index into the global geometry array, pointing to the first point of the shape subsegment associated with this leg. Must be followed by
Index into the global geometry array, pointing to the last point of the shape subsegment associated with this leg. Must be preceded by
|TrafficTime|| common:DurationType |
Time in seconds required for this route leg, taking available traffic information into account.
|BaseTime|| common:DurationType |
Estimated time in seconds spent on this leg, without considering traffic conditions. The service may also account for additional time penalties, therefore this may be greater than the leg length divided by the base speed.
Distance and time summary information for the route leg.
Distance and time summary information for any sub legs of this route leg. The service defines sub legs where passThrough waypoints are used, so the list may be empty if no such waypoints exist within this route leg.