Options

Table 1. Get Route Data Options

Parameter

Description

CoordinateFormat

This is a string value to specify the format of the coordinates for the point data returned in the response. The options are Decimal, DecimalAssumed, PreZero, PreZeroDecimal, and DegMinSec.

DistanceUnits

This is a string value to specify the format of the segment distance values (length of segment) returned in the response. The options are Feet, Yards, Miles, Meters, and Kilometers.

TimeUnits

This is a string value to specify the format of the segment time values (time to travel segment) returned in the response. The options are Milliseconds, Seconds, Minutes and Hours.

VelocityUnits

This is a string value to specify the format of the segment speed values returned in the response. The options are KPH (kilometers per hour), MPH (miles per hour), MTPS (meters per second), and MTPM (meters per minute).

AngularUnits

This is a string value to specify the format of the segment turn values (turn angle units) returned in the response. The options are radian, degree, minute, second, and grad.

ReturnActualPreferences

This is a string value to specify if the list of route preferences are returned in the response. The options are Y or N. The default is no route preferences are returned.

ReturnSegmentGeometry

This is a string value to specify the amount of detail to be returned for the segment geometry. The options are NONE, ALL, or END. If ALL is specified, the entire segment geometry will be returned. If END is specified, only the end point for the segments will be returned. The default is ALL segment geometries are returned.