I have a location allocation model built in ArcGIS Pro 2.6.1 Model Builder. I am not able to figure out how to save the results. I've found suggestions online to export using Copy Features and Save to Layer File, however neither of these accept the outputs from the Solve Location Allocation tool. Can anyone tell me how I save the Output Allocation Lines, Output Facilities, and Output Demand Points feature sets as a feature class? Thanks!
Solved! Go to Solution.
On the model build ribbon tab, use the Utilities drop down and add the Select Data tool to the model. Now you can connect the output of the solve to this select data tool and then choose to extract any of its sub layers such as the Lines.
Jay Sandhu
On the model build ribbon tab, use the Utilities drop down and add the Select Data tool to the model. Now you can connect the output of the solve to this select data tool and then choose to extract any of its sub layers such as the Lines.
Jay Sandhu
Thanks Jay! I think I figured it out. I needed to use the Solve tool and not the Solve Location Allocation tool.
I did add the Select Data tool but it does not accept input from the feature set outputs of the Solve Location Allocation. They are only able to act as a precondition.
Hi Jay, I have a follow up question for you. What is the difference between the Solve tool and the Solve Location Allocation tool and when should you use one over the other? They both are available in ModelBuilder, but the latter doesn't have the connections to create output, while the former doesn't have all of the available parameters settings. For example, Measurement Units.
The Solve LocationAllocation tool is one of the Ready To Use tools, that is, it is configured to use ArcGIS Online to solve the location-allocation process and bring back the results. This is an older way of accessing our online logistics capabilities.
In Pro, you can solve location-allocation (and other network analysis) either using your own local network dataset without using credits or you can use ArcGIS online with credits. The basic network analysis workflow is that you create an analysis layer (e.g., use Make Location-Allocation Layer) and then set its network dataset (local or online), configure its parameters, then use Add Locations tool to load in the facilities and demand and connect to the Solve tool to solve that analysis layer.
Jay Sandhu