powered by
extractionPoly
extractionPoly(polyTot)
SpatialPolygons
a list of SpatialPolygons
extract all elements from SpatialPolygons, holes and full polygons are handled equally
# NOT RUN { data(mapTest) ZK=initialZoning(qProb=c(0.2,0.4,0.7),mapTest) Z=ZK$resZ$zonePolygone geozoning:::extractionPoly(Z[[5]]) # returns 2 SpatialPolygons # }
Run the code above in your browser using DataLab