Taginfo/RelatedTerm
Zur Navigation springen
Zur Suche springen
See:
- Taginfo
- Template:RelatedTerm
- Taginfo/RelatedTerm auf OSM Wiki
- Taginfo API doc
Related terms for programmers
New [Taginfo API] (to be implemented yet). It's HTTP GET parameter and a JSON response:
- Path:
- Description: Gegeben Term, gib RelatedTermList mit Statistikzurück
- Parameters: q
- Paging:
- Filter:
- Sort:
- Result:
- Example:
- Request: http://taginfo.openstreetmap.ch/api/2/wiki/relatedterms?q=castle
- Response:
{"rp":0,
"page":0,
"data":[
{"value":"castle", "count_all":3,"key":"historic "},
{"value":"shelter;waste_basket;bench","count_all":1,"key":"amenity"},
{"value":"bench","count_all":1,"key":"name"},
...
],
"total":6
}