A good choice might be to store your data in objects of class SpatialLinesDataFrame
Then you can assign any attributes you want to each line, such as your vessel, type, destination, or status. This will make it relatively easy to, for example, plot subsets of tracks specified by different attributes. SpatialLinesDataFrame objects are defined in the sp package. For further help, I would suggest the r-sig-geo mailing list. Also look at the CRAN Task View "Spatial". -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 10/24/13 2:40 AM, "Marta Tobeña" <marta_...@hotmail.com> wrote: >Hi professors >I'm finding the best package in R for manage a big database about >vessels. I need to divided the travel of each boat into tracks. I have >GPS points. > >I would join these points in a line on the map. I make that with the >function "lines", but I can't divided by vessel or by track, > >I saw several packages, for tracking animals but they had specifically >variables. And I don't add others like "type","destination" or "status". > >Can you give me a suggestion, please > > [[alternative HTML version deleted]] > >______________________________________________ >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. ______________________________________________ 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.