Select to view content in your preferred language

Find polygons from FC_A that overlap polygons in FC_B that touch other polygons in FC_A

221
2
08-12-2025 08:03 AM
Status: Open
Labels (1)
Bud
by
Esteemed Contributor

Use Case:

Find municipalities that have a riding that extends beyond the municipal boundary/overlaps another municipality.

Bud_0-1755009477101.pngThe green labels pertain to the municipalities, not the ridings.


Idea:

A single geoprocessing tool that would output a copy of the Municipalities layer, but would have a column that indicates if any of the overlapping ridings touch any other municipalities.

Right now, I am using a multi-step process with multiple spatial joins that is overly complicated.

2 Comments
BobBooth1

If it is a process that you have to do often, you could automate it with ModelBuilder, or create a Python script tool to do it.

https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/modelbuilder/modelbuilder-quick...

https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/geoprocessing-history.ht...

There is a tutorial about automating processes with Python here:

https://learn.arcgis.com/en/projects/automate-a-geoprocessing-workflow-with-python/

The intro to Python in ArcGIS Pro tutorial is here:

https://learn.arcgis.com/en/projects/get-started-with-python-in-arcgis-pro/

 

dribrats

If I understand correctly, you're looking for the ability to list all of the Municipalities that share an area with each Riding? This can be done in as little as two steps...

Step 1, Identity Analysis: Input Features= Ridings; Identity Features= Municipalities

(optional cleanup step): Use a definition query on the result of step 1 to remove sliver overlaps around the edges (by area/length). 

Step 2, Dissolve: Input Features= Output from Step 1; Dissolve Fields= Riding Name/ID; Statistics Fields= Municipality Name/ID (statistic type= Concatenate)

The result of step 2 will be your Ridings layer with a new field that contains a concatenated list of all of the Municipalities that overlap with each Riding. This will tell you if a Riding shares an area with just one or multiple Municipalities.