Monday, 11 November 2019

arcgis 10.0 - How to find network distances between two sets of origins and destinations?


I'm learning how to use Network Analyst, and I'm not entirely sure what to do (or search for). My objective is to measure the nearest distance from the red circles to the blue circles along a road network:


enter image description here


I have made a network in ArcCatalog using the network wizard and I'm just interested in the simplest network distance. My network looks like this:



enter image description here


Is this calculation possible to do? My red points are generated as centerpoints of a grid as I am just interested in the average distance for each grid. I realize that these red points are not on the network, so I'm not sure if that is a problem for the calculation.


What should be my next steps? (after reading more of the help documentation!)



Answer



Firstly, I am not clear on what kind of output you expect. Do the red and blue vertices consist of pairs? (i.e. do you want the shortest path from one of the red vertex to a specific blue Vertex?)


You should have a look at creating shortest routes This requires all the stops that you route must past through. So assuming that your requirement is the shortest path from a red vertex to it's corresponding blue vertex, you'll only have to add both these points as 'Stops' and then you should just click on the 'Solve' button.


You will get the best route (impedance wise)


What you need is the 'Closest facility analysis'. Please see this page: Closest facility analysis In your case, the Red points will be the incidents, while the blue points will be your facilities. This will give you the drive distance or the network distance.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...