export_gpx {psyosphere}R Documentation

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.

Author(s)

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

See Also

codeexport_kml

Examples

## Not run: 

# Get tracks

data(psyo)

# Add columns

psyo[,"track_name"] <- psyo[,"id"]
psyo[,"file_name"] <- paste0(psyo[,"track_name"], ".gpx")

# Export files

export_gpx(tracks = psyo)

## End(Not run)

[Package psyosphere version 0.1 Index]