Use this to download the full GPX file. Available without authentication if the file is marked public. Otherwise only usable by the owner account and requires authentication.
Arguments
- gpx_id
The track id represented by a numeric or a character value.
- format
Format of the output. If missing (default), the response will be the exact file that was uploaded. If
"R"
, adata.frame
. If"gpx"
, the response will always be a GPX format file. If"xml"
, a"xml"
file in an undocumented format.
Value
If missing format
, returns a xml2::xml_document with the original file data. If format = "R"
, returns a
data frame with one point per row. If format = "gpx"
, returns a xml2::xml_document in the GPX format. If
format = "xml"
, returns a xml2::xml_document in an undocumented format.
Note
If you request refers to a multi-file archive the response when you force gpx or xml format will consist of a non-standard simple concatenation of the files.
See also
Other get GPS' functions:
osm_get_gpx_metadata()
,
osm_get_points_gps()
,
osm_list_gpxs()