Routing API v7 Developer's Guide

DynamicSpeedInfoType

To provide an estimate of time that is as close to the current reality as possible, the DynamicSpeedInfoType contains dynamic speed information on the link.

The service provides this data if the departure time and date is part of the route calculation request. If traffic is enabled for the request, the route calculation accounts for:

  • time-dependent road closures and maneuvers (such as seasonal closures or reversible lanes)
  • real-time traffic information and incidents
  • pattern-based traffic prediction, if the calculation is for a future time

DynamicSpeedInfoType is an xs:sequence type with the following data elements.

Figure 1. DynamicSpeedInfoType This image shows a graphical representation of the Dynamic Speed Info Type.
Element Description
TrafficSpeed SpeedType

Traffic-enabled speed in m/s, which is the estimated speed considering traffic-relevant constraints.

TrafficTime common:DurationType

Contains the travel time estimate in seconds for this element, considering traffic and transport mode. Based on the TrafficSpeed. The service may also account for additional time penalties, so this may be greater than the element length divided by the TrafficSpeed.

BaseSpeed SpeedType

Estimated speed in m/s without considering any traffic-related constraints.

BaseTime common:DurationType

Contains the travel time estimate in seconds for this element, considering transport mode but not traffic conditions. Based on the BaseSpeed. The service may also account for additional time penalties, therefore this may be greater than the element length divided by the BaseSpeed.

JamFactor xs:double

The number between 0.0 and 10.0 indicating the expected quality of travel, where 0 is high quality and 10.0 is poor quality or high level of traffic jam. -1.0 indicates that the service could not calculate Jam Factor.