Routing
The following table lists the configuration options for Get Travel Directions.
Option optionName Parameter |
Description |
---|---|
Database DataSetResourceName Option.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 Creating a Routing Database Resource 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. 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. |
Optimize by OptimizeBy Option.OptimizeBy |
Specifies whether Get Travel Directions should find the shortest distance or the shortest time. One of the following:
|
Coordinate system CoordinateSystem Option.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 |
Coordinate format CoordinateFormat Option.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:
|
Directions style DirectionsStyle Option.DirectionsStyle |
Specifies how directions should be returned. One of the following:
|
Distance units DistanceUnits Option.DistanceUnits |
Specifies how Get Travel Directions should return distance values. One of the following:
|
Time units TimeUnits Option.TimeUnits |
Specifies how Get Travel Directions should return time. One of the following:
|
Focus FocusOfRoute Option.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:
|
Historic traffic time bucket HistoricTrafficTimeBucket Option.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:
|
Optimize intermediate points OptimizeIntermediatePoints Option.OptimizeIntermediatePoints |
Specifies whether Get Travel Directions 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.
|