Routing
The following table lists the configuration options for GetTravelDirections.
Parameter |
Description |
---|---|
DataSetResourceName |
The name of the database that contains the data to use in the search process. Use a valid routing database resource name defined in the Resources section of the Management Console. For more information, see the Spectrum Technology Platform Spatial Guide. |
OptimizeBy |
Specifies whether GetTravelDirections should find the shortest distance or the shortest time. One of the following:
|
CoordinateSystem |
The coordinate system of the input coordinates. For more information on EPSG codes, see www.spatialreference.org. To retrieve a list of supported codespaces for EPSG, you can submit the SOAP request List Supported CoordSys by Code Space from the Geometry Service Demo page at |
CoordinateFormat |
Specifies the format of latitude/longitude coordinates in the input. Note: Use this option only if you specify a Latitude/Longitude coordinate system. If the coordinate system is not a Latitude/Longitude coordinate system, set the coordinate format to Decimal.
One of the following:
|
DirectionsStyle |
Specifies how directions should be returned. One of the following:
|
DistanceUnits |
Specifies how GetTravelDirections should return distance values. One of the following:
|
TimeUnits |
Specifies how GetTravelDirections should return time. One of the following:
|
FocusOfRoute |
Specifies the focus of the route. A focused route is a subset of the whole route that concentrates on either the beginning or end of the route. A route focused at the start will route the user from their origin to (and including) the first major highway. A route focused at the end will route the user from the last major highway in the route (including that highway) to the destination. If there are no major highways in the route, the focused route will be the same as an unfocused route. One of the following:
|
HistoricTrafficTimeBucket |
Specifies whether the routing calculation uses the historic traffic speeds. These speeds are based on different time-of-day buckets. The data must have historic traffic speeds included in order to use this feature. The data for each country/region has the same bucket definitions, where the speeds for these bucket values may vary. The options are:
|
OptimizeIntermediatePoints |
Specifies whether GetTravelDirections re-orders the intermediate points in an optimal manner during route computation.
|
localRoadsLoadFactor |
Specifies the number of local roads that can be loaded into memory during route or matrix calculation. The number of roads that can load is directly proportional to the value selected in the parameter where 1 is the minimum and 3 is the maximum value. Valid values can be 1,2, or 3. The default is 1. See Local Roads Load Factor for a detailed description and impact of the parameter on routing or matrix calculation. Note: The parameter does not accept decimal values.
|