Taginfo/Embedding

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Taginfo/Embedding
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português português do Brasil română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

This wiki contains the documentation for many OSM keys and tags in pages starting with "Key:" or "Tag:" or its equivalents in other languages. Most of those pages use the KeyDescription or ValueDescription templates. On the wiki page you can see the boxes with the green background on the right hand side. The templates contain special code to include an iframe. The content of this iframe comes directly from http://taginfo.openstreetmap.org/ , it contains a few statistics about this tag and a link to the Taginfo page.

Here are three examples:

for... rendering Wikicode HTML code for inclusion on your webpage
highway=* {{#tag:osmtaginfo||key=highway}}{{taginfo|highway}}
<iframe width="200" frameborder="0" src=
"http://taginfo.openstreetmap.org/embed/key?key=KEY" />
highway=residential {{#tag:osmtaginfo||key=highway|value=residential}}
{{taginfo|highway|residential}}
<iframe width="200" frameborder="0" src=
"http://taginfo.openstreetmap.org/embed/tag?key=KEY&amp;value=VALUE" />
Relation:multipolygon {{#tag:osmtaginfo||rtype=multipolygon}}
<iframe width="200" frameborder="0" src=
"http://taginfo.openstreetmap.org/embed/relation?rtype=RTYPE" />