Select to view content in your preferred language

Generate near table-unexpected distance unit

1648
1
Jump to solution
11-02-2021 11:07 PM
Labels (1)
zhongying_gan
Regular Contributor

Hello,

I'm using ArcGIS Pro 2.8.3. I want to find all the points that are within one mile radius of a polygon, and I would like to know what the distances is, so I use "generate near table" option. The parameter I used is in the attached screenshot. I thought that since I use 1 mile as the search radius, the NEAR_DIST in the output table would be in the unit of mile too. But this is not the case. When I use geodesic distance, NEAR_DIST ranges from 0 to 1602.7, so I guess the unit is meter. When I use planar distance, NEAR_DIST ranges from 0 to 0.0144, and I'm not sure what unit it is.

My question is, how can I make NEAR_DIST take mile as the unit at the very beginning? Also, can I add a new field, and let it equal to NEAR_DIST, but in the unit of mile?

Thank you.

0 Kudos
1 Solution

Accepted Solutions
JayantaPoddar
MVP Esteemed Contributor

NEAR_DIST—The distance from the input feature to the near feature. The value of this field is in the linear unit of the input feature's coordinate system, or Meters when the Method parameter is set to GEODESIC and the input is in a geographic coordinate system.

Clearly, you are using a Geographic Coordinate System. You could calculate the Geodesic Distance (in Meters). Then add a new field "DIST_MILES" (Double). Using Calculate Field, 

Expression:

 

!NEAR_DIST!/1609.34

 

JayantaPoddar_0-1635923591815.png

 



Think Location

View solution in original post

1 Reply
JayantaPoddar
MVP Esteemed Contributor

NEAR_DIST—The distance from the input feature to the near feature. The value of this field is in the linear unit of the input feature's coordinate system, or Meters when the Method parameter is set to GEODESIC and the input is in a geographic coordinate system.

Clearly, you are using a Geographic Coordinate System. You could calculate the Geodesic Distance (in Meters). Then add a new field "DIST_MILES" (Double). Using Calculate Field, 

Expression:

 

!NEAR_DIST!/1609.34

 

JayantaPoddar_0-1635923591815.png

 



Think Location