sp (version 0.7-10)

SpatialLines: create objects of class SpatialLines or SpatialLinesDataFrame

Description

create objects of class SpatialLines or SpatialLinesDataFrame from lists of Slines objects and data.frames; extract list od Slines from a SpatialLines object

Usage

SpatialLines(SlineList)
SpatialLinesDataFrame(sl, data, match.ID = TRUE)
as.SpatialLines.SLDF(SLDF)
getSLlinesSlot(SL)
getSLSlinesIDSlots(SL)

Arguments

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

Value

  • SpatialLines returns object of class SpatialLines; SpatialLinesDataFrame returns object of class SpatialLinesDataFrame

See Also

SpatialLines-class