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