Create a new note
Value
Returns a data frame with the map note (same format as osm_get_notes()
with format = "R"
).
Details
If the request is made as an authenticated user, the note is associated to that user account. If the OAuth access
token used does not have the allow_write_notes
permission, it is created as an anonymous note instead.
See also
Other edit notes' functions:
osm_close_note()
,
osm_create_comment_note()
,
osm_delete_note()
Examples
if (FALSE) { # \dontrun{
set_osmapi_connection("testing") # use the testing server
new_note <- osm_create_note(lat = 41.38373, lon = 2.18233, text = "Testing osmapiR")
new_note
} # }