emilharold

Near analysis within a single feature

Discussion created by emilharold on May 1, 2014
Latest reply on May 1, 2014 by rfairhur24
Greetings,

I would like to code a near analysis that generates the distance from each point in a point feature to its nearest neighbor within the same feature. Near Analysis and the like all require an Input feature and a different Near feature. Is there a way to get distance between nearest points in the same feature?

If there isn't I'll have to select each point one at a time in the input feature, export selection to a new feature, switch selection on the input feature so that the exported point is ignored, and perform the near analysis with each created feature point. Then bring that data from each exported feature point back into the input feature, as far as I can tell. This would take big chunks of time on large point features.

Outcomes