nPolyZone
nPolyZone(Z, iC)
zoning geometry (list of SpatialPolygons)
current zone number within Z
the number of polygons within the current zone
number of polygons in current zone
# NOT RUN {
data(resZTest)
K=resZTest
Z=K$zonePolygone
iC=1;print(paste(nPolyZone(Z,iC),"polygons in zone",iC))
# }
Run the code above in your browser using DataLab