I have a shapefile containing a lot of polygons, that share boundaries or just single vertices, for diagonal polygons.
I'm trying to merge/combine all the polygons that share a boundary.
I've tried using Dissolve followed by a Multipart to Singlepart, however this splits up polygons that share a vertice (see purple polygons). Also the top left part of the purple polygons aren't merged either.
Is there a way to make it so, if a polygon touches boundary with another polygon (using D8 method, so all 8 directions from a cell), it should be merged.
Answer
Spatial Analyst extension would again offer a solution: use the “Region Group” command with the “EIGHT” neighbourhood connectivity parameter to assign unique IDs this each raster zone, then convert back to polygons if needed.
This workflow would continue in line with your previous question Use buffer from IDW 3D Analyst for flood spread
No comments:
Post a Comment