Learn R Programming

geozoning (version 1.0.0)

setId: setId

Description

setId

Usage

setId(Z, iZ, id)

Arguments

Z

zoning geometry (list of SpatialPolygons)

iZ

zone number

id

zone identifier to assign

Value

a zoning geometry

Details

assign zone identifier in a zoning

Examples

Run this code
# NOT RUN {
data(mapTest)
criti=correctionTree(c(0.4,0.5),mapTest,SAVE=TRUE)
Z=criti$zk[[2]][[1]]$zonePolygon
Z1=setId(Z,4,"4")
# }

Run the code above in your browser using DataLab