Find nearest point for each point in same layer using ArcGIS network analyst?

582
2
06-21-2017 11:25 AM
deleted-user-5IaUWKgFepbf
New Contributor II

I am looking for a way to find the nearest point for each point in the same layer using ArcGIS network analyst? I tried using the origin destination matrix and used the same layer for both origins and destinations but I got the nearest point being itself, with a distance of 0 meters and a time of 0 minutes.

0 Kudos
2 Replies
DanPatterson_Retired
MVP Esteemed Contributor

did you not specify '2' as the number to find in the number of destinations... it is an optional parameter I know but what you would want in your case Check the help topic for Generate Origin Destination Matrix tool help

0 Kudos
JoeBorgione
MVP Esteemed Contributor

Is using NA your only option?  What about:

Generate Near Table—Help | ArcGIS for Desktop 

or

Point Distance—Help | ArcGIS for Desktop 

or

Near—Help | ArcGIS for Desktop 

That should just about do it....