HOW TO

Measure the distance between feature points to the nearest polygon centroid in ArcGIS Pro

Last Published: February 23, 2023

Summary

In ArcGIS Pro, the distance between point features and the nearest polygon centroids can be measured. This method can be used to find the nearest schools from the center of districts. The workflow provided describes how to measure the distance between point features to the nearest polygon centroid in ArcGIS Pro using the Feature To Point and Near tools.

Procedure

  1. In ArcGIS Pro, on the Analysis tab, click Tools to open the Geoprocessing pane.
  2. Search for and select the Feature To Point (Data Management Tools) tool.
Search and selecting the Feature To Point tool in the Geoprocessing Pane
  1. On the Parameters tab of the Feature To Point pane, select the polygon layer for Input Features. In this example, the Park Area polygon layer is selected.
Configuring the Feature To Point tool parameters
  1. Click Run. The output is a new point feature layer of the polygon centroids. In this example, ParkArea_FeatureToPoint is created.
The point features of the polygon centroids generated as a new layer on the map
  1. In the Geoprocessing pane, search for and select the Near (Analysis Tools) tool.
Searching for and selecting the Near tool in the Geoprocessing pane
  1. On the Parameters tab of the Near tool pane, configure the parameters below
    1. For Input Features, select the point feature layer. In this example, the Points A layer is selected.
    2. For Near Features, select the new polygon centroids layer from Step 4. In this example, the ParkArea_FeatureToPoint layer is selected.
Configuring the Near tool parameters
  1. Click Run.
  2. On the Contents pane, right-click the point feature layer and click Attribute Table to open the layer’s attribute table.
Navigating to the attribute table of the point feature layer

The NEAR_DIST field in the attribute table displays the distance between the point features and the nearest polygon centroid.

The distance between the point features and the nearest polygon centroid displayed in the attribute table

Article ID: 000029484

Software:
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 x

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

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options