Skip to content
Back to formatted view

Raw Message

Message-ID: <4F2F8F40.2010904@spatial-analyst.net>
Date: 2012-02-06T08:28:48Z
From: Tomislav Hengl
Subject: Coverting GPS Points in Text File to Spatial Lines
In-Reply-To: <4F2F8EB9.3050903@wur.nl>

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:
> Dear All,
>
> I want to convert GPS traces from a text file to a line (spatial line). Does anybody have an idea how to implement this in R?
>
> Thanks in advance!
>
> Best regards,
>
> Armold
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo