Learn R Programming

PAMmisc (version 1.12.3)

readGPXTrack: Read Tracks from a GPX File

Description

Read in a GPX file and convert the tracks to a dataframe

Usage

readGPXTrack(x)

Value

a dataframe with columns Latitude, Longitude,

UTC, and Name

Arguments

x

a path to a .gpx file

Author

Taiki Sakai taiki.sakai@noaa.gov

Examples

Run this code

gpxFile <- system.file('extdata', 'GPX.gpx', package='PAMmisc')
gpxData <- readGPXTrack(gpxFile)
str(gpxData)

Run the code above in your browser using DataLab