Could somebody give me a pointer on how to generate a SpatialLinesDataFrame
from a dataframe, that contains lat,long coordinates as separate variables.

At the moment the data looks like this:

     lat         long
[1] 53.xxxx   1.xxxx

where as the SpatialLinesDataFrame consists of

    Coordinates
[1] (53.xxx, 1.xxx)

This is probably a trival issue, but I'm a relatively new user and searching
the documentation hasn't yielded and obvious way to do it so far.

Thanks, Simon
-- 
View this message in context: 
http://n4.nabble.com/generating-a-SpatialLinesDataFrame-rgdal-tp1990352p1990352.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to