Available with Network Analyst license.
- Start ArcMap.
- Enable the Network Analyst extension.
- Click the Catalog window button on the Standard toolbar.
The dockable Catalog window opens.
- Using the Catalog window, navigate to the location of the network dataset and drag it into the map display or the table of contents.
If a connection to the folder that contains the network dataset doesn't already exist, you can create one by clicking the Connect To Folder button or by typing the folder path in the Location text box.
The Adding Network Layer dialog box opens.
- Click No to only add the network dataset to the map. Optionally, click Yes to add the network dataset and all its source feature classes to the map.
The network dataset is added to ArcMap as a network layer.
- If the Network Analyst toolbar is not already present, click Customize > Toolbars > Network Analyst.
The Network Analyst toolbar is added to ArcMap.
- If the Network Analyst window is not already present, click the Network Analyst window button on the Network Analyst toolbar.
The dockable Network Analyst window opens.
- Ensure that the correct network dataset is active.
The active network dataset is specified in the Network Dataset drop-down list on the Network Analyst toolbar.
- On the Network Analyst toolbar, click Network Analyst > New Location-Allocation.
The network analysis layer is created and appears in Table Of Contents and Network Analyst windows.
The location-allocation analysis layer is made up of the following network analysis classes: Facilities, Demand Points, Lines, Point Barriers, Line Barriers, and Polygon Barriers. The classes are empty. You will need to create network analysis objects so the solver will have enough information to generate a solution.
- Add at least one facility and one demand point.
There are several ways to add network analysis objects to an analysis layer. The most common ways are creating them using the Create Network Locations Tool or loading them from a feature class. There are two ways to load network analysis objects from a feature class: from ArcMap using Load Locations, or through geoprocessing using the Add Locations tool.
- Set or change any properties for the network analysis objects you added in the last step.
- If you need to adjust the location of facilities or demand points, on the Network Analyst toolbar, click the Select/Move Network Location Tool .
- Optionally, add any point, line, or polygon barriers.
- Open the Layer Properties dialog box for the network analysis layer.
Learn about opening the network analysis Layer Properties dialog box
- Click the Analysis Settings tab.
- Set the properties for the location-allocation analysis layer.
Learn about the properties of a location-allocation analysis layer
- Click the Advanced Settings tab.
This is where you choose the location-allocation problem type.
- Make any changes to the advanced properties to be used in the analysis.
- Click OK.
- Click the Solve button on the Network Analyst toolbar.
When network analysis layers are created from the Network Analyst toolbar, they are automatically associated with the active network dataset.
The Solve button works on the network analysis layer that is active in the Network Analyst window. Ensure that the analysis layer you want to solve on is selected in the drop-down list in the Network Analyst window.
If the analysis solves successfully, one or many line objects are created in the Lines class, and the output properties of network analysis objects are updated to show results.