HOW TO

Interpret the time and duration values that are returned in the DetermineRouteResponse element

Last Published: April 25, 2020

Summary

The DetermineRouteResponse element includes the estimated time to travel the route and the estimated time needed to complete each specific route instruction. These values may look cryptic at first glance. This article includes the procedure to determining these values.

Procedure

In the DetermineRouteResponse element, the TotalTime tag contains the estimated time to travel the complete route in hours and minutes:

Code:
<TotalTime>PT0H16M</TotalTime>

The RouteInstruction tag’s duration attribute contains the estimated time needed to complete each specific route instruction in hours and minutes:

Code:
<RouteInstruction duration="PT0H0M" description="Overview">

Both values are expressed as defined in the W3C definition. See the link in the Related Information section below for more information.

Article ID:000008388

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic