Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a point layer and want to know the distance of nearest point of current layer for each point in the layer.

I found some tools in ArcToolbox about it , but they need two layers for input and they can find the distance of nearest object between that two layers. I tried to use them and i added my point layer in that tools ( Same layer for both inputs ) but they couldn't work properly because they found same point in second layer and gave me zero distance for every points.

How can i find distance of nearest point for each point in my layer ? It is better for me to find an answer in ArcToolbox . Something such as Tools or Models.

share|improve this question
I have got the same problem, and i tried out the theory but it gives me exactlly the same output with the inputs. I want to connect each points by thier nearest distance, i made a distance id but the lines are not really structured, they are overlapped and crossed each other. any help is wellcome please !!! – user26705 Feb 7 '14 at 16:42
up vote 10 down vote accepted

You don't say what license or version you are using, but assuming you have ArcInfo, it is possible to use the "Near" geoprocessing tool to find the nearest object in the same layer.

From the tool help page:

The same dataset can be used as both Input Features and Near Features. When an input feature's nearest feature is itself (NEAR_DIST is 0), this feature is ignored from the calculation and the next nearest feature is searched.

If there is a problem with this method then say so in the comments, but in theory this should work for what you want to do.

share|improve this answer
Thank you Stev_k. It really works. – hvaezi Jan 9 '12 at 11:26
  1. Use GME available from
  2. use the "Point distance tool" from the geoprocessing tools of ArcGIS - for proximity calculations to find the object distance in the same layer. You can specify search radius.

I hope this helps..

share|improve this answer
I didn't realize GME was available for all versions now. – ianbroad Jul 14 '15 at 20:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.