Page 1 of 1

Traffic Patterns - “normal arrival time” and “expected delay

Posted: Fri Apr 08, 2016 10:49 am
by OliverK
Hi,
we want to use the traffic patterns with our route calculation.
Is ist possible to get the “normal arrival time” ( time without traffic patterns) if the traffic patterns are acitve?
Or do I have to calculate the route two times - with and without traffic patterns to get the delay compared to the standard route calculation?
Thanks Oli

Re: Traffic Patterns - “normal arrival time” and “expected d

Posted: Fri Apr 08, 2016 12:28 pm
by Joost
yes, this is possible if you use calculateRoute or calculateExtendedRoute.

You need to request for the dynamicinfo by enabling it in the ResultListOptions. In the response you get on the route object then a dynamicinfo object which contains the information you are looking for.

Api doc about dymanicInfo:
http://xserver.ptvgroup.com/fileadmin/f ... ynamicInfo

Re: Traffic Patterns - “normal arrival time” and “expected d

Posted: Fri Apr 08, 2016 2:02 pm
by OliverK
Thanks !