Tuesday, 2 June 2015

merge - Dissolve overlapping polygons in R


Is there an analogue of ArcGIS Dissolve function in R? I need to dissolve the overlapping polygons and create a single part object.


I was trying to use gUnionCascaded, but it creates a multipart object. Is there a function in R to do Multipart to singlepart?



Answer



Have you tried unionSpatialPolygons() from the maptools package?



No comments:

Post a Comment