[R-sig-Geo] read gpx file

Roger Bivand Roger.Bivand at nhh.no
Fri Oct 19 10:59:37 CEST 2007


On Fri, 19 Oct 2007, Marco Helbich wrote:

> Dear List,
>
> the readGPS function from the maptools package is able to read waypoints 
> from an 'attached GPS'. But what about reading gpx-fils, is there a 
> function available to import such data? the OGR vector formats are not 
> supporting it...

As you can see by looking at the code, the function is simply a wrapper 
for a system() call to gpsbabel. So there is no reason why the arguments 
could not be modified to tell gpsbabel to read a *.gpx file and write it 
to R - contributions welcome!

Roger

>
> best regards,
> Marco
>
> --
> Marco Helbich
> Institute for Urban and Regional Research,
> Austrian Academy of Sciences
> Postgasse 7/4/2, A-1010 Vienna, Austria
> mail: marco.helbich (at) oeaw.ac.at
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-sig-Geo mailing list