osm_update_gpx {osmapiR} | R Documentation |
Update GPS trace
Description
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 |
description |
The trace description. |
tags |
A string containing tags for the trace that will replace the current ones. |
visibility |
One of the following: |
Details
Missing arguments won't be updated.
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")
[Package osmapiR version 0.1.0 Index]