Taginfo/RelatedTerm: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „=== 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 explai…“)
 
Zeile 1: Zeile 1:
=== Overbiew ===
+
=== 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 [http://en.wikipedia.org/wiki/Thesaurus] in Wikipedia for some background.  
+
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 [http://en.wikipedia.org/wiki/Thesaurus thesaurus] in Wikipedia for some background.  
  
 
=== Related terms for users and Wiki authors ===
 
=== Related terms for users and Wiki authors ===
  
Use the MediaWiki template as demonstrated at the bottom of this page.
+
To capture related terms use the MediaWiki template '[[Template:RelatedTerm]]'.
  
 
=== Related terms for programmers ===
 
=== Related terms for programmers ===
  
New Taginfo API to be implemented yet. It's HTTP GET parameter and a JSON response:
+
New Taginfo API (to be implemented yet). It's HTTP GET parameter and a JSON response:
  
 
* Path:
 
* Path:
Zeile 32: Zeile 32:
 
   "total":6
 
   "total":6
 
   }
 
   }
 
----
 
<nowiki>
 
Related Terms: {{RelatedTerm|castle}} {{RelatedTerm|villa}}
 
{{RelatedTerm|DE_ch|Schloss}}
 
</nowiki>
 

Version vom 6. September 2011, 08:06 Uhr

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
 }