Wednesday, 7 December 2016

arcgis desktop - Using network analyst new closest facility to calculate certain routes but not others?


I'm working on calculating a variety of distances between many points using network analyst using ArcGIS 10.2. Using the new closest facility option, I have 100,000 facilities and 100,000 incidents, and I want to calculate specific routes: Location 1 to Location 1, Location 2 to Location 2, etc. I don't care about calculating Location 1 to Location 3 or 4 - I only care about the distance between the corresponding locations.


I'm planning on using a workaround, where I set the "facilities to find" under Analysis Settings to 100,000, and then just deleting out all of the irrelevant results once the model is finished. This would be much more efficient, though, if I could only calculate the 100,000 I care about, instead of the 10 billion it will calculate otherwise. Is there an easy way to restrict this, either by using new closest facility or some other Network Analyst capability? Thanks.


The screenshot shows my (probably) flawed method that I've been trying to use in a test case I did before doing the 100,000 - when I have 5 facilities and 5 locations I ask the model to find five facilities, which gives me 25 routes, and then I delete all the irrelevant ones.


enter image description here




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...