I have a list of polygons each with a unique ID like below:
Point ID | SpatialObj |
1 | Polygon |
2 | Polygon |
3 | Polygon |
I want to take any continuous overlapping polygons and combine them into 1 group and 1 combined polygon. In the below example, each colored area would be 1 row (group) with a combined polygon. So there would be 4 rows/groups in the below example.
Solved! Go to Solution.
Hi @rtlane,
Nice question!
So i'd break this down into three main parts:
(1) Summarise all your polygons (using a summarise tool to create one full spatial object)
(2) Break summarised polygon back into detailed regions to determine individual "groups"
(3) Check for SpatialObj holes, match them back to the polygon "group" it came from and carve it out
My starting polygons:
My final "grouped" polygons:
Kind regards,
Jonathan
Leave it up to me to overcomplicate it. 🤣 This worked great, thank you!
No problem at all! @LeahK this would be a great idea for a weekly challenge?