Skip to content
Prev 14121 / 29559 Next

Coverting GPS Points in Text File to Spatial Lines

Hi Armold,

In what format is your GPS data? I highly suggest using the GPX protocol 
as this is the lingua franca for GPS data.

I recently made a function that reads GPS data and converts into a data
frame (via the XML package):

http://plotkml.r-forge.r-project.org/readGPX.html

*this is still rather experimental but you can look at the actual steps
via R-forge:

https://r-forge.r-project.org/scm/viewvc.php/pkg/R/readGPX.R?view=markup&root=plotkml

HTH,

T. Hengl
http://www.wewur.wur.nl/popups/vcard.aspx?id=HENGL001
On 5-2-2012 16:46, Arnold Salvacion wrote: