Routing
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 OnDemand Spatial Guide. |
OptimizeBy |
Specifies whether to find the shortest distance or the shortest time. One of the following:
|
ReturnOptimalRoutesOnly |
Specifies whether to return only the optimized route for each start point/end point
combination. The optimized route is either
the fastest route or the shortest distance, depending on the selection
you make for the OptimizeBy option. For example, if you have one start point (S1) and two end points (E1 and E2) and it is faster to go from S1 to E2 than from S1 to E1, and you choose to return only the optimal route, then only the route cost information for S1 to E2 will be returned.
|
RouteCostMatrixFormat |
Specifies the data format of the route cost matrix. 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:
|
DistanceUnits |
Specifies how GetTravelCostMatrix should return distance values. One of the following:
|
TimeUnits |
Specifies how to return time. 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:
|