I am currently working with some shapefiles of congressional precincts of the US.

One of my objectives is to get a list of the "Neighboring" precincts for each of the precincts. For example, if precinct X shares a border with YZ then I know that X has neighbors Y and Z.

I saw that ArcMap is a very powerful tool for working with shapefiles and analyzing data.

What tool can I use to get this done?

This is how my map looks like:

enter image description here

marked as duplicate by PolyGeo Nov 16 '18 at 8:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


I think this is a tool which might help you.

I tested it with sample data within ArcMap 10.5 using links below.



How it works:


Output is a table which will have two main coulumns src_OBJECTID (with id of polygon) and nbr_OBJECTID (ids of polygons near).

enter image description here

  • You've linked to ArcGIS Pro documentation when the question is about ArcMap, but Polygon Neighbors is the right tool to look at. – PolyGeo Nov 16 '18 at 8:08
  • Yes, but I tested it within ArcMap. Could not find ArcMap docs. – JuniorPythonNewbie Nov 16 '18 at 8:11
  • 1
    To find Desktop help links I search using a Google search string like 'ArcGIS polygon neighbors 10.6'. – PolyGeo Nov 16 '18 at 8:13
  • thank you so much this is exactly what i was looking for – tony Nov 16 '18 at 15:31

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