Tags
From OpenStreetMap Wiki
(Redirected from Key Value System)
Available languages
Other languages — Help us translating this wiki
• Afrikaans • አማርኛ • العربية • অসমীয়া • Asturianu • Azərbaycanca • Български • বাংলা • Brezhoneg • Bosanski • Català • Corsu • Česky • Dansk • Deutsch • ދިވެހިބަސް • Ελληνικά • Esperanto • Español • Eesti • Euskara • فارسی • Suomi • Frysk • Gaeilge • Kréyòl gwadloupéyen • Gàidhlig • Galego • Alemannisch • ગુજરાતી • هَوُسَ • עברית • हिन्दी • Hrvatski • Kreyòl ayisyen • Magyar • Հայերեն • Interlingua • Bahasa Indonesia • Igbo • Íslenska • 日本語 • Basa Jawa • ქართული • Қазақша • ភាសាខ្មែរ • ಕನ್ನಡ • 한국어 • Kurdî • Lëtzebuergesch • ລາວ • Lietuvių • Latviešu • Malagasy • Македонски • മലയാളം • मराठी • Bahasa Melayu • Malti • မြန်မာဘာသာ • नेपाली • Nederlands • Norsk (nynorsk) • Norsk (bokmål) • Occitan • Oromoo • ଓଡ଼ିଆ • ਪੰਜਾਬੀ • Polski • پښتو • Português • Português do Brasil • Română • Română (Moldova) • سنڌي • සිංහල • Slovenčina • Slovenščina • Soomaaliga • Shqip • Српски / Srpski • Svenska • தமிழ் • తెలుగు • Тоҷикӣ • ไทย • Türkçe • اردو • O'zbek • Tiếng Việt • Wolof • isiXhosa • Yorùbá • 中文(简体) • 中文(繁體) • isiZulu
What are tags?Tags consist of a 'Key' and a 'Value'. |
Keys and values
Here a a few examples of how keys and values are used in practice:
- highway=residential (a tag with a key of 'highway' and a 'value' of residential which should be used on a Way to indicate a road along which people live.
- name=* (a tag for which the value field is used to contain the name of the particular street
- maxspeed=* (a tag for which the value is often a numeric speed, either in km/h (or in miles per hour if a suffix of 'mph' is provided). SI units do not need to define units, other units, such as miles per hour, knots, yard or pounds should do. Where a regulation is specified in a particular unit then that unit should be used within the value field.
- maxspeed:winter=* (a key which includes a Namespace for 'maxspeed' that indentifies a different value for maxspeed that applies in the winter.
Finding your tag
The following resources are often used to find an appropriate tag or explore tag usage:
- Map Features (a extensive list of the the most commonly used tags)
- Mapping projects (a list of specialist interest projects each with a page describing the relevant tags)
- Taginfo (A useful site to exploring current tag usage, including tag values that are not necessarily documented)
- Tagwatch (A similar service)
- Tagstat (and another)
| Elements | |
|---|---|
| Node • Way • Relation (members and roles) • Tag (key and value) | |