Skip to content
Prev 7646 / 29559 Next

Create SpatialLinesDataFrame

On Wed, 17 Feb 2010, Michael Sumner wrote:

            
I think that there is a misplacement too:

flop <- Lines(list(Line(rbind(as.numeric(temp[1,7:8]),
   as.numeric(temp[1,9:10])))), ID=row.names(temp))

looks better - Lines() takes a list of Line objects as its first argument.

Roger