Taginfo/RelatedTerm

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche

Overview

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 thesaurus in Wikipedia for some background.

Related terms for users and Wiki authors

To capture related terms use the MediaWiki template 'Template:RelatedTerm'.

Related terms for programmers

New Taginfo API (to be implemented yet). It's HTTP GET parameter and a JSON 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
 }