I am familiar with running a New Closest Facility Analysis using Network Analysis in ArcMap, but am looking ot streamline the process in model builder. Basically, I have 120 x,y locations (facilities), and a single incident. I simply want to map the 20 closest facilities to that incidence. This is rather easy in Network Analyst. In ArcMap, steps include setting up a 'New Closest Facility' in Network Analyst, Loading the facilities and incident to appropriate layers, and 'Solve'.
My problem is modeling this. I found the make facility layer tool, but it doesn't contain parameters to load facilities and my incident. Thanks in advance for any help you may have.
Best, Mark
My problem is modeling this. I found the make facility layer tool, but it doesn't contain parameters to load facilities and my incident. Thanks in advance for any help you may have.
Best, Mark
Exercise 6 in the Network Analyst tutorial shows how Add Locations is used with the Make Route Layer tool, so you might want to reference that. Just keep in mind that the only real difference between the model in exercise 6 and a simple CF model is that routes only require stops as input so Add Locations is used once, while CF requires facilities and incidents as inputs so Add Locations is used twice.
One other note--if you need to load barriers for any analysis layer, use Add Locations for them as well.