Using Model Builder to determine distance between points

2863
2
10-14-2011 05:32 AM
ThomasVoets
New Contributor
Hello,

I have used ArcGIS extension 'Network Analyst' to determine the distance between points over an existing road network.

I have a point layer that consists of 1960 different 'departure' locations and another point   layer of a single 'arrival' location. The aim is to determine the distance of EACH of the 1960 departure points to the single arrival point, and this over an existing road network of which a layer is used in ArcGIS.

I managed to find out how to calculate the distance between 1 single departure point of the 1960 points to the arrival point by means of using the Network analysis tool ' New route'.

However, as you will understand it is practically impossible to make this calculation by hand for each of the 1960 'departure' locations.

So, I got the advice to solve this problem by means of the 'Model Builder' tool in ArcGIS. As I have absolutely no experience with this tool, can someone give me some advice of how I can best deal with my specific problem?

I hope my explanation is clear to all of you...

Many thanks in advance!
Tags (2)
0 Kudos
2 Replies
JaySandhu
Esri Regular Contributor
You should use the OD Cost Matrix solver and not the route solver. You can load all your 1960 departure locations as Origins and your 1 arrival location as the Destination and Solve. You will get an output line feature class with 1960 records. Do note that it will place a straight line between the locations but the computed distance will be over the network. If you also want to get the geometry of the actual path travelled then use the Closest Facility solver.

Read more about OD Cost Matrix here:
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/OD_cost_matrix_analysis/00470000004r00...

Jay Sandhu
0 Kudos
ThomasVoets
New Contributor
You should use the OD Cost Matrix solver and not the route solver. You can load all your 1960 departure locations as Origins and your 1 arrival location as the Destination and Solve. You will get an output line feature class with 1960 records. Do note that it will place a straight line between the locations but the computed distance will be over the network. If you also want to get the geometry of the actual path travelled then use the Closest Facility solver.

Read more about OD Cost Matrix here:
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/OD_cost_matrix_analysis/00470000004r00...

Jay Sandhu


This way it works. Many thanks!
0 Kudos