Select to view content in your preferred language

ArcPro 2.6.1 Model Builder Location Allocation output

1331
5
Jump to solution
02-16-2022 12:28 PM
LJuliusson
Occasional Contributor

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!

LJuliusson_1-1645043166326.png

 

 

 

0 Kudos
1 Solution

Accepted Solutions
JaySandhu
Esri Regular Contributor

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

View solution in original post

5 Replies
JaySandhu
Esri Regular Contributor

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

LJuliusson
Occasional Contributor

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. 

LJuliusson_1-1645046689287.png

 

LJuliusson
Occasional Contributor

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. 

0 Kudos
JaySandhu
Esri Regular Contributor

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

0 Kudos
LJuliusson
Occasional Contributor
Thanks Jay,


How come some of the settings provided in the Ready to Use Solve LocationAllocation tool are not available when you create an analysis layer (e.g., use Make Location-Allocation Layer), set its network dataset, and configure its parameters? For example, there are no settings for Custom Travel Mode.

0 Kudos