zoneQ: zoneQ

Description Usage Arguments Details Value Examples

Description

zoneQ

Usage

1
zoneQ(contourSp, iC, iE, Z, K, simplitol = 0.001)

Arguments

contourSp

contour line transformed into SpatialPolygons

iC

zone to grow

iE

englobing zone

Z

zoning geometry (list of SpatialPolygons)

K

zoning object (such as returned by calNei function)

simplitol

tolerance for spatial polygons geometry simplification

Details

called by optiGrow,replaces the current zone by a bigger one

Value

a zoning geometry updated with the grown zone(list of SpatialPolygons)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data(mapTest)
qProb=c(0.3,0.5)
criti = correctionTree(qProb,mapTest)
K = criti$zk[[2]][[1]]
Z=K$zonePolygone
plotZ(Z)
iC=4
iE=detZoneEng(iC,Z,K$zoneNModif)
envel=calFrame(iC,Z,K$zoneNModif)
sp::plot(envel,add=TRUE,col="blue")
Qseq = genQseq(qProb,K,mapTest,iC,iE)
resi = geozoning:::findCinZ(iC,Z,K,mapTest,Qseq[5],envel)
Zopti=geozoning:::zoneQ(resi$contourSp,iC,iE,Z,K)
plotZ(Zopti)

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