HOW TO

Determine the number of point features within a specified distance in ArcGIS Online

Last Published: July 6, 2022

Summary

In ArcGIS Online, counting the number of point features within a specified distance is a common task. For example, counting the number of police stations within a 100-kilometer radius from the headquarters. The image below shows several police stations in Wyoming, U.S., mapped in green, and the headquarters in blue.

The police stations and the headquarters feature classes of Wyoming, USA.

This article describes how to determine the number of police stations within a 100-kilometer radius of the headquarters in ArcGIS Online.

Procedure

Note: 
Performing this workflow consumes credits. Refer to ArcGIS Online: Understand credits for more information. 
  1. In ArcGIS Online Map Viewer Classic, open the point feature layers published from ArcGIS Pro. In this example, the layers are the Police Station and Police Headquarters locations.
The published Police Station and Police Headquarters layer from ArcGIS Pro
  1. Navigate to Analysis > Perform Analysis > Use Proximity > Create Buffers.
  2. In the Create Buffers pane, select the layer from the Choose layer containing features to buffer drop-down. In this example, Police Headquarters is selected. 
  3. In the Enter buffer size option, specify the distance to create the buffer. In this example, a buffer of 100 kilometers from the Police Headquarters is specified.
The Create Buffers pane to create a buffer for the Police Headquarters feature layer
  1. Click RUN ANALYSIS.

The image below shows the buffered area of the Police Headquarters feature layer.

The police headquarters feature layer is buffered using the Create Buffers tool
  1. Navigate to Analysis > Perform Analysis > Summarize Data > Summarize Within.
  2. In the Summarize Within pane, select the buffered layer of the Police Headquarters from the Choose the polygon layer drop-down.
  3. For Choose a layer to summarize, select the Police Station feature layer.
  4. Specify the Result layer name.
  5. Click RUN ANALYSIS.
The Summarize Within pane
The Result layer name and the RUN ANALYSIS button in the Summarize Within pane
  1. Navigate to Details > Content. In the Content pane, browse to the summarized feature layer and click Show Table.

The Count of Points column in the table displays the number of the police stations within 100 kilometers of the police headquarters. In this example, the total Count of Points is 10, as shown in the image below. The output shows there are 10 police stations within 100 kilometers from the headquarters in Wyoming, U.S.

The Show Table button in the summarized feature layer

Article ID:000027850

Software:
  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic