Use this to update a GPX info. Only usable by the owner account. Requires authentication.
Usage
osm_update_gpx(
gpx_id,
name,
description,
tags,
visibility = c("private", "public", "trackable", "identifiable")
)
Arguments
- gpx_id
The id of the track to update represented by a numeric or a character value.
- name
The file name of the track. Usually, the file name when using
osm_create_gpx()
.- description
The trace description.
A string containing tags for the trace that will replace the current ones.
- visibility
One of the following:
private
,public
,trackable
,identifiable
. For explanations see OSM trace upload page or Visibility of GPS traces).
Value
Returns a data frame with the updated metadata of the GPS trace. The same format that
osm_get_gpx_metadata()
with format = "R"
.
See also
Other edit GPS traces' functions:
osm_create_gpx()
,
osm_delete_gpx()
Examples
vignette("how_to_edit_gps_traces", package = "osmapiR")
#> Warning: vignette ‘how_to_edit_gps_traces’ not found