lineToSp: lineToSp

Description Usage Arguments Details Value Examples

Description

lineToSp

Usage

1
lineToSp(lin)

Arguments

lin

list with x and y line coordinates

Details

transform closed line into SpatialPolygons

Value

a SpatialPolygons

Examples

1
2
3
4
5
data(mapTest)
cL=list()
cL=contourAuto(cL,mapTest$step,mapTest$xsize,mapTest$ysize,mapTest$krigGrid,c(5,7),mapTest$boundary)
lin=data.frame(x=cL[[8]]$x,y=cL[[8]]$y)
sp=geozoning:::lineToSp(lin)

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