Combine overlapping continuous polygons into groups
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Labels:
- Spatial Analysis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Leave it up to me to overcomplicate it. 🤣 This worked great, thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
No problem at all! @LeahK this would be a great idea for a weekly challenge?
