AnsweredAssumed Answered

drive time in UTC is giving incorrect result

Question asked by pravinkalbhor on Dec 14, 2017

I am using ArcGIS REST API for generating the drive times where I am passing UTC time stamp with appropriate parameters like - timeOfDayIsUTC to true but I am experiencing incorrect results.

 

drive times captured for 10 mins on Friday 5PM and Monday 2AM. the bigger map[ friday5pm] ideally it should be smaller than Monday 2AM Map]

 

As shown in the picture - the Friday 5PM map [bigger one]  should not be bigger than monday 2AM Map[smaller one]. In the real scenario this should be reverse.

5PM UTC - 631479605000

2AM UTC - 631080002000

 

does  anybody experience the same sort of issue?

 

Sample request- 

http://route.arcgis.com/arcgis/rest/services/World/ServiceAreas/NAServer/ServiceArea_World/solveServiceArea?token=<token>&facilities=144.97300799999999,-37.813454999999998&defaultBreaks=[10]&outSR=4326&f=pjson&timeOfDayIsUTC=true&travelMode={""attributeParameterValues"":[{""parameterName"":""Restr
iction Usage"",""attributeName"":""Avoid Unpaved Roads"",""value"":""AVOID_HIGH""},{""parameterName"":""Restriction Usage"",""attributeName"":""Avoid Private Roads"",""value"":""AVOID_MEDIUM""},{""parameterName"":""Restriction Usage"",""attributeName"":""Driving an Autom
obile"",""value"":""PROHIBITED""},{""parameterName"":""Restriction Usage"",""attributeName"":""Through Traffic Prohibited"",""value"":""AVOID_HIGH""},{""parameterName"":""Restriction Usage"",""attributeName"":""Roads Under Construction Prohibited"",""value"":""PROHIBITED
""},{""parameterName"":""Restriction Usage"",""attributeName"":""Avoid Gates"",""value"":""AVOID_MEDIUM""},{""parameterName"":""Restriction Usage"",""attributeName"":""Avoid Express Lanes"",""value"":""PROHIBITED""},{""parameterName"":""Restriction Usage"",""attributeNam
e"":""Avoid Carpool Roads"",""value"":""PROHIBITED""},{""parameterName"":""Vehicle Maximum Speed (km/h)"",""attributeName"":""TravelTime"",""value"":0}],""description"":""Models the movement of cars and other similar small automobiles, such as pickup trucks, and finds so
lutions that optimize travel time. Travel obeys one-way roads, avoids illegal turns, and follows other rules that are specific to cars. When you specify a start time, dynamic travel speeds based on traffic are used where it is available."",""impedanceAttributeName"":""Tr
avelTime"",""simplificationToleranceUnits"":""esriMeters"",""uturnAtJunctions"":""esriNFSBAtDeadEndsAndIntersections"",""restrictionAttributeNames"":[""Avoid Unpaved Roads"",""Avoid Private Roads"",""Driving an Automobile"",""Through Traffic Prohibited"",""Roads Under Co
nstruction Prohibited"",""Avoid Gates"",""Avoid Express Lanes"",""Avoid Carpool Roads""],""useHierarchy"":true,""simplificationTolerance"":10,""timeAttributeName"":""TravelTime"",""distanceAttributeName"":""Kilometers"",""type"":""AUTOMOBILE"",""id"":""FEgifRtFndKNcJMJ""
,""name"":""Driving Time""}&timeOfDay=631479605000"

 

Thanks!

pk

Outcomes