Learn R Programming

psyosphere (version 0.1.6)

export_gpx: Export tracks as gpx files

Description

Export tracks as gpx files.

Usage

export_gpx(tracks, t_id = "id")

Arguments

tracks

psyo. Data frame with tracks. The columns track_name and file_name have to be defined.

t_id

character or numeric. Column name in tracks that identifies the separate tracks.

Details

track_name is the name of the track.

file_name is the file name of the gpx file.

See Also

codeexport_kml

Examples

Run this code
# NOT RUN {
\dontrun{

# Get tracks

data(psyo)

# Add columns

dir <- tempdir()
psyo[,"track_name"] <- psyo[,"id"]
psyo[,"file_name"] <- file.path(dir, psyo[,"track_name"])

# Export files

export_gpx(tracks = psyo)
}
# }

Run the code above in your browser using DataLab