What’s New > Release Notes for the 12.0 Line > What's New in 12.0.0.0 > Common Functionality > Average Drive Time Enabled in Network Optimization
Average Drive Time Enabled in Network Optimization
Case Number: 13922272
The Network Optimization Drive Time now supports aggregating the results of multiple departure times. Any number of departure times can be specified and the aggregation methods of AVG, MIN, and MAX are supported.
Use these instructions to configure average drive times.
1. Edit the AutoPilot.properties file.
2. Set the following properties:
servigistics.map.drive.departure.times, using a comma separated list in the HHMM, HH MM, WHHMM, or W-HH MM format
servigistics.map.drive.aggregate.method, using AVG, MIN, or MAX (not case-sensitive)
If...
Then...
Enabled with Bing Maps
The optimize=timeWithTraffic and dateTime parameters are added to the request and the result is read from travelDurationTraffic instead of travelDuration.
Enabled with the generic route service
The departureTime parameter is added to the request and there is no change reading the response.
* 
Departure times are hour and minute and may optionally be prefixed with the numeric day of week (1 = Monday, 7 = Sunday).
The day of week is included
The departure date is shifted forward to the next occurrence of the specified day if it is not already on that day of the week.
For example, to get the average drive time using 3 different departure times of morning, noon, and evening on the current day, set the properties as follows:
servigistics.map.drive.departure.times = 0900,1200,1730
servigistics.map.drive.aggregate.method = avg
Was this helpful?