export_gpx: Export tracks as gpx files

Description Usage Arguments Details Author(s) See Also Examples

View source: R/export_gpx.R

Description

Export tracks as gpx files.

Usage

1
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.

Author(s)

Benjamin Ziepert. Please send feedback to: feedback-psyosphere@analyse-gps.com.

See Also

codeexport_kml

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## 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)
}
## End(Not run)

psyosphere documentation built on July 2, 2020, 12:08 a.m.