polyToSp2: polyToSp2

Description Usage Arguments Details Value Examples

Description

polyToSp2

Usage

1

Arguments

p

polygon

Details

transforms polygon into SpatialPolygons

Value

a SpatialPolygons

Examples

1
2
3
4
5
6
7
ZK=initialZoning(qProb=c(0.4,0.2,0.7),mapTest)
Z=ZK$resZ$zonePolygone
sp=Z[[5]]
P1=geozoning:::getPolySp(sp,1)
sph=polyToSp2(P1)
plotZ(Z)
sp::plot(sph,col="blue",lwd=2,add=TRUE)

geozoning documentation built on May 2, 2019, 9:43 a.m.