Description Usage Arguments Value See Also
create objects of class SpatialLines
or
SpatialLinesDataFrame
from
lists of Lines
objects and data.frames; extract list od Lines from a SpatialLines object
1 2 3 4 5 6 7 8 |
SpatialLines(LinesList, proj4string = CRS(as.character(NA)))
SpatialLinesDataFrame(sl, data, match.ID = TRUE)
as.SpatialLines.SLDF(SLDF)
getSpatialLinesMidPoints(SL)
LineLength(cc, longlat=FALSE, sum=TRUE)
LinesLength(Ls, longlat=FALSE)
SpatialLinesLengths(SL, longlat)
|
LinesList |
list with objects of class Lines-class |
proj4string |
Object of class |
sl, SL |
object of class SpatialLines-class |
data |
object of class |
match.ID |
logical: (default TRUE): match SpatialLines member
Lines ID slot values with data.frame row names, and re-order the
data frame rows if necessary; if character: indicates the column
in |
SLDF |
SpatialLinesDataFrame object |
Ls |
Object of class |
cc |
Object of class |
longlat |
if FALSE, Euclidean distance, if TRUE Great Circle distance in kilometers |
sum |
default return scalar length of sum of segments in Line, if FALSE, return vector of segment lengths |
SpatialLines
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.
SpatialLines-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.