Select to view content in your preferred language

Adjacency Matrix Between Polylines and Polygons

08-29-2023 01:42 PM
Labels (3)
New Contributor

I have polygons and then polylines. As shown below:


I want to create an adjacency matrix that shows which polylines touch each polygon. Where the rows are polygons and the columns are polylines. 

0 Kudos
1 Reply
MVP Frequent Contributor

Zone features - your polygons

Zone Field - something you can use to identify later

Class feature - Lines

class fields - something to identify by later

Then take that output table and use the Pivot Table tool (exactly how to do this is shown in the tool help link above)

Note needs Advanced license.  If you don't have one then

but you'll need to do wrangling with the concatenated field.  Also top tip is to make sure the field length in the output field properties (shown if you read the guide fully) is long enough to store all the possibilities (from experience..)

0 Kudos