From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Wikidata
· Afrikaans · Alemannisch · aragonés · asturianu · azərbaycanca · Bahasa Indonesia · Bahasa Melayu · Bân-lâm-gú · Basa Jawa · Basa Sunda · Baso Minangkabau · bosanski · brezhoneg · català · čeština · corsu · 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 bokmål · norsk nynorsk · occitan · Oromoo · oʻzbekcha/ўзбекча · Plattdüütsch · polski · português · 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 · беларуская · български · қазақша · македонски · монгол · русский · тоҷикӣ · українська · Ελληνικά · Հայերեն · ქართული · नेपाली · मराठी · हिन्दी · भोजपुरी · অসমীয়া · বাংলা · ਪੰਜਾਬੀ · ગુજરાતી · ଓଡ଼ିଆ · தமிழ் · తెలుగు · ಕನ್ನಡ · മലയാളം · සිංහල · བོད་ཡིག · ไทย · မြန်မာဘာသာ · ລາວ · ភាសាខ្មែរ · ⵜⴰⵎⴰⵣⵉⵖⵜ · አማርኛ · 한국어 · 日本語 · 中文(简体)‎ · 吴语 · 粵語 · 中文(繁體)‎ · ייִדיש · עברית · اردو · العربية · پښتو · سنڌي · فارسی · ދިވެހިބަސް

Wikidata is a free knowledge base driven by a community and initiated by the Wikimedia Foundation. It aims to support Wikipedia and its sibling projects (such as Wikivoyage) by providing a centralized database.

The Wikidata item representing OpenStreetMap is Q936.


Linking from OSM to Wikidata

In OpenStreetMap Wikidata entities can be linked on every kind of osm object using the wikidata key. An other way to link objects is by using Key:wikipedia. Tools like WIWOSM are supporting this way.

  • 2013-09-12: There was a proposal to automatically add Wikidata IDs to a number of OSM objects.
  • 2016-10-27: Mapbox has proposed a procedure for importing, but has yet to get community feedback on it and thus reverted in the meantime.
  • 2016-11-17: There has been a Mapbox inspired mass-edit but has also been put on hold until further community discussion.


wikidata=* IDs can be added by using:

  • ID (Mapbox blog post)
  • JOSM
    • JOSM/Plugins/wikipedia (Has a button to query Wikidata and can open a selected Wikidata item in browser)
      (Note that coordinates can be copied directly from within JOSM to a Wikidata item; Just select an appropriate node, press Ctrl-Shift-C then paste to the Geographical coordinates field of the item.)
    • JOSM/Plugins/Tag2Link (open Wikidata item in browser)
  • OSM Wikidata Explorer (visualize distance between OSM and Wikidata coordinates)

Linking from Wikidata to OSM

  • A very limited way is to link from Wikidata entities to OpenStreetMap relations by using Property P402.
  • A list of all currently linked OSM relations can be found here: Special:WhatLinksHere/Property:P402.
  • This may be problematic, since OSM's IDs are not stable

OSM Tags and Keys

For a list of OSM tags' and keys' equivalent items in Wikidata, see Property:P1282.


Wikipedia etc

Wikimedia Foundation projects, including each language's Wikipedia, are now displaying maps using OSM data. If an entity in OSM has been tagged with a Wikidata ID, its outline can be highlighted on the map. At the moment, there is no POI support. Only shapes and lines can be shown this way. See [1].



Reasonator, which puts a human-friendly front end on Wikidata, is now showing two links for geotagged entries, to TagInfo and Overpass turbo, querying these tags

For example, the Reasonator page:

has links to:

You'll see them just below the map images.

Importing data

Copying data from OSM to Wikidata (or even from other Wikimedia projects) is not allowed because Wikidata uses the public-domain style Creative Commons CC0 license which does not contain any attribution or share-alike provisions. Conversely, data may be copied from Wikidata without restriction.


See also