tolerance for spatial polygons geometry simplification
disp
information level (0-no info, 1-print info, 2-plot)
Value
a zone obtained by merging current zone with neighbor zone
Details
merge current zone #iC with neighbor zone in zoning. If there are several neighbor zones, the selected one is the zone whose area is greater than the admissible size threshold that has the closest average value to the current one.
# NOT RUN {data(mapTest)
data(resZTest)
K=resZTest
Ns=geozoning:::getNs(K$zoneNModif,5) # find neighbors of zone 5zoneFusion3(K,5,Ns,mapTest,disp=2) # merge and plot result of merging# }