[R-sig-Geo] SpatialLine from Line-object
Barry Rowlingson
b.rowlingson at lancaster.ac.uk
Mon Jan 20 17:43:13 CET 2014
On Mon, Jan 20, 2014 at 4:00 PM, Jacqueline Schweizer
<jacqueline.schweizer at wuestundpartner.com> wrote:
> t.lines1 <- SpatialLines(Lines(t.linelist, ID=1) )
close! Lacking a list( ) to wrap the Lines:
t.lines1 <- SpatialLines(list(Lines(t.linelist, ID=1) ))
from the help:
Usage:
SpatialLines(LinesList, proj4string = CRS(as.character(NA)))
LinesList: list with objects of class Lines-class
Barry
More information about the R-sig-Geo
mailing list