Settings
This tab contains the fields whose value can affect the route calculation.
Parameter | Description |
Database | 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 Management Console. For more information, see Adding a Routing Database Resource. |
Optimize by |
Specifies whether Get Route should find the shortest distance or the shortest time route from the Start to End Point. It can be one of these options:
|
Historic traffic time bucket | 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 and region has the same bucket definitions, where the speeds for these bucket values may vary. The options are: None The default value. Historic traffic data is not used in the calculation. Instead an averaged speed value is used. AMPeak Calculate routes with the peak AM speeds. The AMPeak time bucket is from 07:00 to 10:00 hours. PMPeak Calculate routes with the peak PM speeds. The PMPeak time bucket is from 16:00 to 19:00 hours. Off-PeakCalculate routes with the off peak (daytime) speeds. The OffPeak time bucket is from 10:00 to 16:00 hours. Night Calculate routes with the nighttime speeds. The Night time bucket is from 22:00 to 04:00 hours. |
Use major roads for calculation |
Specifies whether to include all roads in the calculation or just major roads. If you choose to include only major roads, performance will improve but accuracy may decrease. The following map represents a route with travel allowed on all roads: The following map represents the same route with travel restricted to major roads only: |
AvoidTollRoads | This feature specifies whether you want a route with or without a toll road. This is a
Boolean type parameter. The default value is False. If you set the value
of AvoidTollRoads to True, the response contains a
route without any toll roads. If the value of
AvoidTollRoads is set to False, the route includes
toll roads. It can be overridden from the input as well.
Now, for the same points, if you check the toll Road or set the “AvoidTollRoads” parameter as True from the input, the response contains a route without any toll roads. See the following response: |
OptimizeIntermediatePoints | This feature specifies whether you want an optimized route or not for the points taken. This is a Boolean type parameter. The default value is False. If you set the value of OptimizeIntermediatePoints to True, the response contains an optimized route. If the value of OptimizeIntermediatePoints is set to False, the route includes a route, which is not optimized. |