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.
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:
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.
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!
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.
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/
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.