powered by
Use this to update a GPX info. Only usable by the owner account. Requires authentication.
osm_update_gpx( gpx_id, name, description, tags, visibility = c("private", "public", "trackable", "identifiable") )
Returns a data frame with the updated metadata of the GPS trace. The same format that osm_get_gpx_metadata() with format = "R".
osm_get_gpx_metadata()
format = "R"
The id of the track to update represented by a numeric or a character value.
The file name of the track. Usually, the file name when using osm_create_gpx().
osm_create_gpx()
The trace description.
A string containing tags for the trace that will replace the current ones.
One of the following: private, public, trackable, identifiable. For explanations see OSM trace upload page or Visibility of GPS traces).
private
public
trackable
identifiable
Missing arguments won't be updated.
Other edit GPS traces' functions: osm_create_gpx(), osm_delete_gpx()
osm_delete_gpx()
vignette("how_to_edit_gps_traces", package = "osmapiR")
Run the code above in your browser using DataLab