detZoneClose: detZoneClose

Description Usage Arguments Details Value Examples

Description

detZoneClose

Usage

1
detZoneClose(iZ, Z, zoneN, distIsoZ = 0.075)

Arguments

iZ

zone number

Z

zoning geometry (list of SpatialPolygons)

zoneN

modified zone neighborhood Logical matrix (FALSE values on diagonal)

distIsoZ

threshold distance above which a zone is considered as isolated

Details

determines zones that are close to current zone, but not neighbors (common border). Therefore embedded or englobing zones are excluded.

Value

a list with components

InterZoneSpace

TRUE if zone is isolated, FALSE otherwise

zoneClose

indices of zones close to zone iZ, empty if zone is isolated

Examples

1
2
3
4
5
6
data(resZTest)
Z=resZTest$zonePolygone
zoneN=resZTest$zoneNModif
plotZ(Z)
detZoneClose(4,Z,zoneN) # zone 4 is close to zone 3
detZoneClose(6,Z,zoneN) # zone 6 is isolated (no zone at a distance smaller than 0.075).

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