SpatialLines {sp} | R Documentation |
create objects of class SpatialLines
or
SpatialLinesDataFrame
from
lists of Slines
objects and data.frames; extract list od Slines from a SpatialLines object
SpatialLines(SlineList) SpatialLinesDataFrame(sl, data, match.ID = TRUE) as.SpatialLines.SLDF(SLDF) getSLlinesSlot(SL) getSLSlinesIDSlots(SL)
SlineList |
list with objects of class Slines-class |
sl, SL |
object of class SpatialLines-class |
data |
object of class data.frame ; the number of rows in data
should equal the number of Slines elements in sl |
match.ID |
logical: (default TRUE): match SpatialRings member Srings ID slot values with data frame row names, and re-order the data frame rows if necessary |
SLDF |
SpatialLinesDataFrame object |
SpatialLines
returns object of class SpatialLines
;
SpatialLinesDataFrame
returns object of class SpatialLinesDataFrame