Calculate the length of 10 routes

423
1
11-28-2012 07:50 AM
PhilippFauser
New Contributor
Hi there,

in my application I need to calculate the distance between the current gps point and 10 different parking lots.

I solved this by using the RouteTask, calculating the 10 routes and reading out the length of the routes. That works, but its from time to time very slow!

Is there an other(and faster) possibility to calculate the distance?

Whats important: The distance must base on a road between the current point and the parking lots (I used the restrictions "OneWay" and "Driving an Automobile" on the RouteTask). Not the air-line distance!


PS: If there is no other possibility, can I speed up the RouteTask?
--------
Philipp
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
Are you using your own route service?

Regards,
Nimesh
0 Kudos