normZcoords: normZcoords

Description Usage Arguments Details Value Examples

Description

normZcoords

Usage

1
normZcoords(Z, boundary)

Arguments

Z

list of SpatialPolygons

boundary

list with components x and y, used to normalize polygons in zoning

Details

description, a paragraph

Value

a list with components

Zn

list of normalized SpatialPolygons

boundaryn

normalized boundary

Examples

1
2
3
4
5
6
7
8
# Import shape1 object (was read from a shapefile)
shape1 = geozoning::shape1
p = shape1@polygons
P=sp::SpatialPolygons(p) #SpatialPolygons
Z1=list()
for (kk in 1:length(P)){Z1[[kk]]=P[kk]} # transform into list of SpatialPolygons
bd=list(x=c(7723131,7723132,7723294,7723295,7723131),y=c(3576432,3576814,3576809,3576436,3576432))
Z2=normZcoords(Z1,bd)

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