Taginfo/RelatedTerm
Zur Navigation springen
Zur Suche springen
Overbiew
Related Term is an association relationship between terms. In OSM it is interpreted it as a general term because this makes it simpler to explain. This definition of 'related term' includes all kinds of term relationships, like synonym, broader or narrower term. See [1] in Wikipedia for some background.
Related terms for users and Wiki authors
Use the MediaWiki template as demonstrated at the bottom of this page.
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
}
Related Terms: {{RelatedTerm|castle}} {{RelatedTerm|villa}} {{RelatedTerm|DE_ch|Schloss}}