Select to view content in your preferred language

Cannot Generate a Near Table tool but the distance values are not being properly computed or displayed

194
3
a month ago
Labels (3)
ND2
by
New Contributor

Hello,

I have a map with two layers. I want to identify and highlight all electoral unit (polygons) that are within 5 kilometers of any violence point.

 

General_Map.png

 

I am using the Generate a Near Table tool but NEAR_DIST values being displayed are unexpectedly large. I have made sure that both my violence points and electoral units layers are in the same projected coordinate system. I have tried using both 5km as an option and 5000 m.

These are how the values are displayed:

Screenshot 2024-07-15 130811.png

 

I do not seem to encounter any issues while using the the Select Layer By Location tool which works for highlighting polygons within 5 km.

Screenshot 2024-07-15 133640.png

Please could someone suggest an alternate method of identifying polygons which are within 5km of a violence event? I would ideally like to know the distance of the polygon from the point and the id of the violent point as well. 

Or could let me know what is potentially going wrong? I know some points fall outside the polygon layer but that is because this polygon layer is of rural units and the violence events which fall outside are in an urban area. 

Thanks!

3 Replies
Lee_Butler
New Contributor III

You could do a 1:many Spatial Join between the Violence event points and the polygons with the search radius set to 5km. The output will give you multiple violence event records but with each record also including details of a polygon that is within 5km of the violence event.

0 Kudos
SeaRM
by
Occasional Contributor

Please try to use XTools Pro Find Nearest Features tool. It allows you to locate the features in the specific radius.

https://xtools.pro/en/features/overlay-tools/find-nearest-features/

0 Kudos
juliaangel
New Contributor II

It is like there might be an issue with the coordinate system or units in your data. Double-check that both your input features and near features are in the same coordinate system and that the units are consistent  more info. in mentioned here. This can often resolve distance calculation issues.

0 Kudos