How do you calculate the nearest distance from one XY coordinate to another XY.

I'm using Arc Map 10

I went into Arc tool box -> proximity -> then I only have 2 buffering options.

But under buffer I do not see any "near features" option


1 Answer 1


Based on your other question, you have a Basic license and so don't have access to the Near or Generate Near Table tools. But you can still do it with a Spatial Join. If your XY are just coordinates, you need to make point features out of them first. There are other questions here that cover that.

Spatial Join your points to themselves (if they're in the same layer) with a one-to-one join_operation and closest match_option. Specify a distance field name, and the output table of the join will include a column with the distance (in dataframe CRS units) from each point to its closest neighbor.

  • Thanks! Can ArcGIS 10.1 or 10.2.2 calculate near distances?
    – Kelly
    Commented Jun 3, 2015 at 19:55
  • Desktop I mean, sorry
    – Kelly
    Commented Jun 3, 2015 at 20:04
  • 1
    @Kagnew The version isn't really the issue, it's the license level. Certain tools are only available at higher license levels, and Near/GNT happen to be two examples that are only at the highest (Advanced/Info). See esri.com/software/arcgis/about/gis-for-me for more info. However there are often workarounds that can accomplish the same thing at Basic. They just involve more steps or alternative tools. Spatial join is one example of this for doing nearest distances.
    – Chris W
    Commented Jun 4, 2015 at 1:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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