Create note
- One of the main OpenStreetMap API usabilities
Creates a new note for a specific geographic location, which allows administrators/users to verify map data (latitude lat
, longitude lon
and comment in text
are required – check the example).
If the request is made as an authenticated user, the note is associated with that user's account
If the OAuth access token used does not have the allow_write_notes
permission, it is created as an anonymous note instead.
Request
Latitude lat |
Longitude lon |
Message text |
---|---|---|
50.8038794 | 16.2646154 | NazwaTerenuTo:OgródkidziałkoweMagnolia |
Example body request for new note for geographic point
/api/0.6/notes?lat=50.8038794&lon=16.2646154&text=NazwaTerenuTo:OgródkidziałkoweMagnolia
Response
Error codes
If the text field was not present.
Requested resource could not be found (example: Object not found).