HOW TO

Identify and summarize the closest facilities based on incidents in ArcGIS Pro

Last Published: December 12, 2024

Summary

In ArcGIS Pro, the closest facility solver generates an output layer where each route is listed individually in the output attribute table. In scenarios requiring rapid response, combining the closest facilities of each incident into a single, sorted field allows faster decision-making.

This article provides the workflow to identify and summarize the closest facilities into a single, sorted field for each incident in ArcGIS Pro. In this workflow, 22 hospitals and two incidents are used.

The Contents pane and the map view in ArcGIS Pro

Procedure

Note:
The closest facility solver requires a Network Analyst license. Refer to ArcGIS Pro: Licensing and the ArcGIS Network Analyst extension for more information. 
  1. Open the project in ArcGIS Pro.
  2. Identify the closest facilities using the closest facility solver. Refer to ArcGIS Pro: Identify the closest facility for instructions. Ensure Toward facilities is selected from the Direction drop-down list to generate routes leading to the facilities. In this example, the Travel Settings is set to a four-minute Cutoff and five Facilities.
The Travel Settings group of the Closest Facility Layer tab in ArcGIS Pro

The table below shows the output routes from incidents to the five closest hospitals within a four-minute cutoff.

The Contents pane, map view, and the Routes attribute table in ArcGIS Pro
  1. Summarize the output layer of the closest facility analysis using the Summary Statistics tool.
    1. In the Contents pane, right-click the Routes sublayer of the Closest Facility group layer and click Attribute Table.
    2. In the attribute table, right-click a field header and click Summarize. In this example, the FacilityID field is used.
The Routes attribute table in ArcGIS Pro
    1. In the Summary Statistics dialog box, for Input Table, click the drop-down and select Closest Facility\Routes.
    2. For Output Table, specify a name. Click Browse and specify a location for the output stand-alone table.
    3. For Statistics Fields, click the Field drop-down and select the preferred field name. In this example, FacilityID is selected.
    4. Click the Statistic Type drop-down and click Concatenate.
    5. For Case Fields, click the drop-down and select the preferred field name. In this example, IncidentID is selected.
    6. For Concatenation Separator, specify a character to separate the concatenated values in the field. In this example, a comma (,) is specified.
    7. Click OK.
The Summary Statistics dialog box in ArcGIS Pro

A stand-alone table is created and added to the Contents pane.

The Contents pane in ArcGIS Pro

The stand-alone table below shows the closest facilities summarized into a single, sorted field and grouped for each incident in ArcGIS Pro.

The attribute of the stand-alone table in ArcGIS Pro

Article ID: 000034194

Software:
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 3
  • ArcGIS Pro 3 2

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options