1

I have a large set of polygons. I want to

(1) calculate pairwise distances between polygons (so one polygon should be connected to several others). I can do this using the generate table in ArcMap.

and then

(2) I want a lines connecting these polygons (again one to many/many to one) that can link to the distance file.

The only way I can think of doing this is through linkage mapper, but I dont want all the least-cost etc analysis, which is very time consuming.

Is there a simpler way to do this using ArcMap 10.5?

1
  • Let's focus on ArcMap in this question. You can always ask about doing the same thing using QGIS in a separate question. What is "linkage mapper"? If provides a table containing X1,Y1 and X2,Y2 then creating single segment features between them may be straightforward.
    – PolyGeo
    Jul 27, 2018 at 20:23

1 Answer 1

1

The trick is modification of polygon neighbors table so it will look like that:

enter image description here

where pairs of coordinates are centroids of polygons. Convert table into 2 sets of points, merge them and use pair ID as line ID in points to line tool:

enter image description here

2
  • Thankyou, that worked. I have a couple of questions next to the steps. Steps (Arc10.5) 1. I used the generate near-table, selected the location Box. This produced a table similar to the one you have. 2. I did not get a column or anything analogous to your PairColumn. I created a new field & populated it with the FiD. (Is there a way to get the PairColumn)? 3. I created 2 event layers: one using the From X and Y and another one using Near X and Y. (is there another way to create points from a table?) 4. Merged the event layers 5. Used the points to line tool and used the PairID.
    – Trishna
    Jul 30, 2018 at 15:14
  • I used polygon neighbor tool first and transfer of coordinates later. Near table is subjective, how many neighbors? Anyway, mark as solved, please, if worked.
    – FelixIP
    Jul 30, 2018 at 18:54

Your Answer

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

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