HOW TO
The instructions provided describe how to determine the distance between the nearest point features from two different layers. For instance, to find the nearest distance between point features from a School layer and a Hospital layer.
There are two ways to do this, by using geoprocessing tools, or by creating a spatial join.
Use geoprocessing tools
Use the Near tool or the Generate Near Table tool. Refer to ArcMap: Near and ArcMap: Generate Near Table for more information on how to use these tools.
Note: The Near tool and the Generate Near Table tool are only available with an ArcGIS Desktop Advanced license.
Alternatively, use the Point Distance tool to calculate the distance between all point pairs in two point layers. Refer to ArcMap: Point Distance for more information.
Create a spatial join
Before creating the join, re-project the layers and data frame to have the same projection. Use either the Batch Project or the Project tool to change the coordinate system of the input layer. Refer to ArcMap: Batch Project and ArcMap: Project for more information.
Note: To convert the distances' values to other units of measurement, create a new field with the Double data type, and populate the distance values using the Field Calculator. Refer to ArcMap: About distance units and editing for more information.
Get help from ArcGIS experts
Download the Esri Support App