Road Distance between Multi points

1937
1
08-12-2011 11:07 AM
MarkMiddleton
New Contributor
I am using ARCGIS 10. I have 1200 addresses or points in file A. I have 1600 addresses or points in file B. I need to find the road distance between each point in file A and each point in file B. I know that there should be a way to do this in network analyst. I also know that it my need some python coding for the loops. How can I do this and if it takes python coding does anyone have any code. I have never coded in python
Tags (2)
0 Kudos
1 Reply
JaySandhu
Esri Regular Contributor
If the goal is to find one path from a point in file A to a point in file B then this type of routing is available out of the box. No need for python loops, etc. Search the forums on the keyword "routename" and you will see previous posts on how to solve this in a single route layer. E.g., see:
http://forums.arcgis.com/threads/14884-Distance-from-residence-to-work-for-7000-participants?highlig...

If the goal is to find a matrix of all distances between 1200 by 1600 points then use the OD Cost Matrix solver. Online doc is here:
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/OD_cost_matrix_analysis/00470000004r00...

Jay Sandhu
0 Kudos