I'm trying to solve a route using an impedance of miles (to get the shortest route) through ArcGIS Sever 10.3.1 rest API.
However, I would also like to get the travel time of this route based on historical traffic data for a specific date/time. It seems like ArcGIS only supports historical traffic data if the impedance is TravelTime.
The message returned by the server is:
type: 50, description: "The start time was ignored because the impedance attribute is not time-based."
Is it even possible to use traffic data on non time-based routes?
I did manage to find this in some documentation:
To use traffic in the analysis, set impedanceAttributeName to TravelTime, and assign a value to startTime... ...Traffic is supported only with the driving time impedance or travel mode.
Which seems to indicate this isn't possible, but that surprises me. I would have thought this was not an uncommon request. Does anyone know of a workaround or alternative method?