fauphi

Calculate the length of 10 routes

Discussion created by fauphi on Nov 28, 2012
Latest reply on Dec 28, 2012 by njarecha-esristaff
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

Outcomes