Process GPX Files into R Data Structures

Process open standard GPX files into data.frames for further use and analysis in R.


Lightweight GPX file parser for R

Build Status Coverage Status CRAN_Status_Badge

Install it!

install.packages('gpx')
#Install the latest version from GitHub
#devtools::install_github("bmewing/gpx")

Usage

Pass in the path to a GPX file to the read_gpx function to get back a list of routes and tracks as data frames.

hike = gpx::read_gpx('example-hike.gpx')
hike$tracks #list of data frames of tracks in the file
hike$routes #lits of data frames or routes in the file

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gpx")

1.1.0 by Mark Ewing, 5 years ago


Browse source code at https://github.com/cran/gpx


Authors: Mark Ewing [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports xml2, rvest, lubridate

Suggests testthat


See at CRAN