SpatialLines
or
SpatialLinesDataFrame
from
lists of Lines
objects and data.frames; extract list od Lines from a SpatialLines objectSpatialLines(LinesList, proj4string = CRS(as.character(NA)))
SpatialLinesDataFrame(sl, data, match.ID = TRUE)
as.SpatialLines.SLDF(SLDF)
getSLlinesSlot(SL)
getSLLinesIDSlots(SL)
getSpatialLinesMidPoints(SL)
LineLength(cc)
LinesLength(Ls)
SpatialLinesLengths(SL)
"CRS"
; holding a valid proj4 stringdata.frame
; the number of rows in data
should equal the number of Lines
elements in sl
Lines
Line
, or two-column matrix with pointsSpatialLines
returns object of class SpatialLines
;
SpatialLinesDataFrame
returns object of class SpatialLinesDataFrame
getSpatialLinesMidPoints
returns an object of class SpatialPoints
,each point containing the (weighted) mean of the lines elements; weighted in the sense that mean is called twice.