Select to view content in your preferred language

Need some direction on calculating mileages between two points

3363
2
06-13-2013 06:34 AM
DWPalme
New Contributor
I am familiar with how the "great circle" calculations are made, but I am more interested in taking this a little further in actually calculating the driving mileage via the roads from data like I would find through navteq, etc.

My problem is I'm not really sure where to begin.  This would be something along the lines of what you would get with Rand McNally or PC Miler, except I'm not interested right now in showing a map, just performing the calculations.

I've tried searching for algorithms, etc. on google but haven't found anything remotely close to what I have been looking for.

If anyone could help point me in the right direction, I would be most appreciative.
Tags (1)
0 Kudos
2 Replies
BenDalton
New Contributor
I'd encourage you to check out the Network Analysis APIs (http://resources.arcgis.com/en/help/arcgis-rest-api/#/Overview_of_Network_Analysis_Services/02r30000...)

You can access them via REST directly or using the JS API. Either way, you can provide two locations and get distances based on a potential route between two locations.
0 Kudos
JosephCarter
Frequent Contributor
I have done some similar work....
here is a clip of a few layers I am working on. The routes were picked out of a roadway network by using the speed limit in order to yield the "fastest" route between two "stars". Model builder was used ti derive the route which included log miles amoung many other attribute data.
A simple field calculation rounds up even miles.


let me know if this is what you are looking for. I have more....
0 Kudos