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.