testInterSpeZ: testInterSpeZ

Description Usage Arguments Details Value Examples

Description

testInterSpeZ

Usage

1

Arguments

Z

zoning geometry (list of SpatialPolygons)

Details

checks, within a zoning, if any zone intersects with any other zone not within it and not englobing it

Value

a Logical value, TRUE if there is any intersection, FALSE if not

Examples

1
2
3
4
5
6
7
8
9
qProb=c(0.2,0.5)
ZK = initialZoning(qProb, mapTest)
K=ZK$resZ
Z=K$zonePolygone
plotZ(Z)
Z58=rgeos::gConvexHull(rgeos::gUnion(Z[[8]],Z[[5]]))
Z[[length(Z)+1]]=Z58 # add new zone to zoning
plotZ(Z)
geozoning:::testInterSpeZ(Z)

hazaeljones/geozoning documentation built on May 30, 2019, 3:06 p.m.