OSM Notes API

From OpenStreetMap Wiki
Jump to: navigation, search

Some time ago there was a discussion about having a notes/feedback API: http://lists.openstreetmap.org/pipermail/talk/2008-January/022577.html

Contents

Notes API

Required Fields:

Optional extras:

API

The API does not require authentication, if it gets spammed it may be brought in, but as the interface to it will be a 'report an error' type page, or a 'show errors' type button within map editors any spamming will have very few eyeballs so would be a relatively unfruitful target for a would be spammer.

Purpose HTTP Method and URL Payload
Request Response
Creation PUT /api/0.5/note/create XML id
Retrieval GET /api/0.5/note/<id> n/a XML
Update PUT /api/0.5/note/<id> XML empty
Deletion DELETE /api/0.5/note/<id> n/a n/a
BBox GET /api/0.5/notes/?bbox=<left>,<bottom>,<right>,<top> n/a XML

Possible uses

Experiments

A couple of examples have been created of possible user interfaces to this notes system.

Implementation

See trac ticket #742

Personal tools
Namespaces
Variants
Actions
site
Toolbox