This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Leave OSM notes through API

1

Is it possible to leave notes by using the API?

When I need local mapper help I've noticed, that nobody cares for my FIXMEs, but that notes instead are quickly fixed. So I would like to write a JOSM tool which converts my FIXMEs into notes.

asked 17 Jul '18, 19:30

OpenTopoMap's gravatar image

OpenTopoMap
40223
accept rate: 0%

Just for curiosity: Can I create an anonymous note by using the API like it's possible for anonymous users on the OSM webpage?

curl -X POST https://apis.openstreetmap.org/api/0.6/notes?lat=52.51861&lon=113.40833&text=ExampleNote
(17 Jul '18, 23:49) OpenTopoMap

For the benefit of future readers: JOSM has a built-in dialog for creating and updating OSM notes. It doesn't convert FIXMEs, but is still convenient for many typical use-cases.

(19 Jul '18, 20:56) Tordanik

One Answer:

3

In the wikipage you link to, there's a link to the Map_Notes_API.

answered 17 Jul '18, 21:12

Hjart's gravatar image

Hjart
3.0k42656
accept rate: 18%

Source code available on GitHub .