Hi, I have a Raster and converted to Polygons using pol<-rasterToPolygons(r2) I have 1429 polygons and I would like to combine the attached polygon into a bigger polygon. what should I do to create index to use unionSpatialPolygons? Thanks Rajkumar