Learn R Programming

geozoning (version 1.0.0)

extractionPoly: extractionPoly

Description

extractionPoly

Usage

extractionPoly(polyTot)

Arguments

polyTot

SpatialPolygons

Value

a list of SpatialPolygons

Details

extract all elements from SpatialPolygons, holes and full polygons are handled equally

Examples

Run this code
# 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