Collaboration with Wikipedia
Wikipedia the free encyclopaedia, has been an inspiration for many design aspects of OpenStreetMap, but it also offers a lot of scope for cross-project collaboration.
- There is obvious immediate potential for illustrating Wikipedia articles with rendered maps (this is the main area to focus on).
- We already link from OSM wiki to Wikipedia.
- There is already a certain amount of linking from Wikipedia to OSM.
- We also link to Wikipedia articles from within the OSM map data.
- There are Wikipedia articles about OpenStreetMap in many other languages. and
|Do not copy any information from Wikipedia into OSM. Wikipedia is licensed under CC-BY-SA which is incompatible with OSM. In addition, we are much stricter on copyright than the Wikipedia is. See Welcome to Wikipedia users and the section Geodata import/exports with Wikimedia projects of this page for details.|
- 1 Why collaborate?
- 2 Wikipedia WikiProject
- 3 Wikipedia articles in the map
- 4 Linking between OSM data and Wikimedia wikis
- 5 Using pictures from Wikimedia Commons for tag description/Map Features page on this wiki
- 6 Geodata import/exports with Wikimedia projects
- 7 Data checking
- 8 Identifying users
- 9 History
- 10 Notes and references
- 11 See also
OpenStreetMap stands to benefit. We increase awareness and drive user traffic to OSM. Ultimately we want people to use OpenStreetMap, but at this stage we are particularly interested in attracting more mappers and more developers.
Wikipedia stands to benefit. Linking to street maps is all very well, but a lot of articles about places can be enhanced by having map images embedded alongside the text. OpenStreetMap is the best way to do this, while still presenting only open licensed content on the page – in fact, it's almost the only way.
There is an (inactive)on Wikipedia which should provide guidance to Wikipedians on how to create map images for use in Wikipedia articles. Hopefully this process will be easy enough to be followed for many Wikipedia articles.
That page also describes a number of useful templates within Wikipedia, e.g. for labelling OpenStreetMap map images, and also categories that relate to OpenStreetMap.
Note the project page is in addition to the actual article abouton Wikipedia.
Illustrating Wikipedia articles with rendered maps
This is the main area where there's lots of obvious potential. Thousands of map images based on OSM have already been uploaded and are being used to illustrate Wikipedia articles describing places.
Wikipedians will take offense if we plaster lots of low quality images on there. Obviously we need to pick only areas where we have achieved a good level of mapping coverage, and where the rendering comes out well to produced maps which are actually useful. Note that we can upload quite large images, but it is preferred that an image looks good and is useful in its thumbnailed form, appearing on the article page itself. For maps this might mean the street name text should be readable in the thumbnail. That is actually quite a tricky restriction to work with (pick zoom level and thumbnail size carefully)
The image description page for any such image must attribute the image to OpenStreetMap and link to our copyright page. Templates such as Template:OpenStreetMap can help with that. This is also a good place to provide good links to openstreetmap. See #Linking from Wikipedia to OSM below.
Technical enhancement to Wikipedia
- Image uploads (so we should use this to illustrate articles with static maps).
- Slippy maps powered by OpenStreetMap (not yet available in all languages); for example, select the coordinates at the top of on Wikipedia which uses the .
Several other MediaWiki extensions are available, for example:
- Simple image MediaWiki Extension, pointed via the Wikimedia squid proxies.
- Other map extensions for Mediawiki.
There are also tool, like:
At the German Wikipedia and others (no.wp, fr.wp and ru.wp) it is now possible for everyone to open an OSM iframe in each article which have a coordinate. See: maps-l mailing list. This feature shows Wikipedia articles on the OSM map. This data comes from on Wikipedia and you can use this map also as standalone WP-on-OSM map.on Wikipedia and follow the mailing list
Geohack for OSM
With Geohack for OSM we link to many OSM-maps for one place. This page is accessible from Wikipedia over the normal geohack and over the OSM-Wiki.
See quick links to Google Maps, Yandex Maps and OpenStreetMap fromon Wikipedia in Russian.
Wikipedia articles in the map
OpenSeaMap links worldwide 1.7 Millions Wikipedia articles directly in the map. Concerning to the browser options, articles will be displayed automatic in the corresponding language and writing system. Actually there are 285 languages. Optionally the articles can also be displayed as photo gallery (ichoose in the menue "Display" the display as "Thumbnails"). By mouse over you will get a popup with the title of the article and a informative picture. By click you jump directly to the corresponding Wikipedia-article.
Linking between OSM data and Wikimedia wikis
Link from OSM wiki to Wikipedia
We already do this on many of our Places pages (pages linked from the Mapping projects page).
Many of them using Template:Place, which includes a Wikipedia link. In other cases we should just add a link in the text.
Use Q64(where Q64 is a wikidata item identifer — Q64 = Berlin) to add a link to a Wikidata item, from an OSM wiki page. This renders as:
[[wikipedia:Article name]] or
[[wikipedia:lang:Article name]] syntax to add a Wikipedia link in the OSM wiki.
See also the Wikidata article.
Linking from Wikipedia to OSM data
Coordinates hosted on Wikidata items are reused by various templates and "parser functions" in linked Wikipedia articles in any language.
Since 2016, the most impactful is the "mapframe" and "maplink" function, which integrates a dynamic map directly into the article and has been used for hundreds of thousands of articles across Wikipedias. See w:mw:Help:Extension:Kartographer for more.
The "coord" template that allows displaying links showing coordinates at the top of the article page. One of this link will bring you to a generic page allowing you to search the location on various mapping services (including OpenStreetmap), and another link showing a slippy map (OpenStreetmap data rendered on Wikimedia tile servers, along with additional Wikimedia-specific layers pointing to geolocated articles and medias) within a closable panel appearing directly on top of the article itself. Other templates may be inserted to show other coordinates for other more specific locations discussed in the body of the article, that will link to the generic page for choosing your online mapping service.
Another place where one used to link from Wikipedia to OSM is on image description pages for the map images we upload there. It's a good idea to link to the map, with a 'permalink' pointing at the relevant place on the map (URL with lat/lon/zoom)
- The image description page must link to www.openstreetmap.org/copyright.
- To simplify setting up image descriptions there are various templates which you might like to use. See on Wikipedia.
- sl.wikipedia has some templates set up too : on Wikipedia (using on Wikipedia)
Some Wikipedia articles, like rivers and long streets, may be enhanced by linking to the OSM object, for example wikipedia:Jukskei River.
Linking to Wikipedia articles or other Wikimedia projects from OSM data
We can link features of the map (especially "Place" nodes) to Wikipedia articles.
How these links might be rendered/used, is a something people can decide on their own external projects/websites. The obvious use would be 'pins' with links on a Slippy Map. For Wikipedia it would be interesting to draw the real OSM-objects (that were linked to Wikipedia-article) in a map inside the Wikipedia-article.
Other usages will be translations by using Wikipedia Interwikilinks or to exchange other data.
You can also link to Wikimedia Commons, the free media repository, using wikimedia_commons=*.
Using pictures from Wikimedia Commons for tag description/Map Features page on this wiki
Auto importing of images from Wikimedia Commons is enabled on this wiki. With the usual
[[File:Example.jpg|thumb|example description text]] you can use any image from the Wikimedia's "Commons" repository, then it gets used within the wiki – complete with remote image description details. You can use pictures from Wikipedia if the license is Public Domain or CC-BY as well as CC-BY-SA. Simply reference the name of an image if it is in commons. Other images can be uploaded explicitly, but you must copy the license text and the original author's name onto our wiki image description page. A link to the original picture is also required.
Note: The license of the OSM-Wiki is CC-BY-SA, and we have more strict community acceptance criteria regarding map images. You are NOT allowed to use pictures with GNU-License like GFDL or GPL. In this case you can contact the author and ask if he wants to make his picture available in CC-BY-SA for OSM. You should probably not use any map image from Wikimedia, even where they are pronounced CC-BY-SA on Wikipedia, because the OSM community applies more strict criteria regarding derivative works.
As well, images found in Wikipedia but not in Wikimedia Commons may be ineligible for Wikimedia Commons due to their licence: Wikimedia Commons is more restrictive than Wikipedia in frequent cases, notably because English Wikipedia allows "fair use" of trademarks according to the US law (and permitted only to illustrate the directly related articles in English Wikipedia for simple citation purpose), but this is not permitted in Wikimedia Commons. These Wikipedia images are not accessible directly from this OSM wiki (and should not be reimported on this OSM wiki or in Wikimedia Commons, without first checking their actual licence or getting a permission from the legitimate rights owner to republish it under CC-BY-SA on Wikimedia Commons or on this OSM wiki).
Geodata import/exports with Wikimedia projects
Exporting OSM geodata to Wikipedia
They encourage also to use sources we are not allowed to use (e.g. Google Maps) because Wikimedia Foundation has a different opinion in regard with copyright. They claim that their project is no database and therefore they do not have to care for database rights. In additionis not recognized in USA.
Importing geodata from Wikipedia into OSM
|Do not copy any information from Wikipedia into OSM, except for a possible link tag to a Wikipedia article.|
Wikipedia articles are often geocoded, and it has been suggested a number of times that we should import data from wikipedia (for example, using the pages on villages in a particular country to add place=village nodes). However, from sources which we are not allowed to use (e.g. Google Maps).
We are much stricter on copyright than the Wikimedia Foundation because no project to explore the grey areas of copyright. For this reason, it is an established principle in OpenStreetMap that we don't import geodata from Wikipedia.is recognized in United Kingdom (unlike USA), OpenStreetMap should be useable all over the world, and OpenStreetMap has
Wikipedia is also licensed under CC-BY-SA which is not compatible for import in OSM.
Overall, it is not possible and acceptable to import data from Wikipedia and all such imports should be reverted as a copyright violation.
Note that one is still allowed to add the same information to both Wikipedia and OpenStreetMap, both are using nonexclusive licenses.
- Using the Osmose quality assurance tool (initially developped for France but now with world coverage), here for documented item 3031, you can get:
The rule is that the value of a wikipedia=* tag must not be a full URL (starting by
https://), it must not contain the domain name or any leading path starting by
/ (such as
/w/index.php), and it must not be URL-encoded (it should not contain any
_ underscore, or UTF-8 encoded bytes represented by
%nn hexadecimal values).
It must be prefixed by a language code (the supported codes are those used on Wikipedia for its interwiki links, and in a few remaining cases this code does not match a standard BCP47 language code used as suffixes for tags like name:*=* : not all possible language supported in BCP47 are supported for Wikipedia linguistic edition codes, because there's currently no defined Wikipedia edition for that language). Many (but not all) of these Wikipedia language codes are 2 or 3 lowercase ASCII letters. The language code must be followed by a colon (
:) and then by the actual name of the article, without substitution of spaces as underscores (don't copy the final part of the URL, use the effective name of the article page, normally shown at the top of the rendered page (sometimes, for technical reasons, the effective article name is different from the title displayed because the article name cannot contain a few reserved characters, and the title displayed has been replaced by a special template to change the displayed title ; these cases are extremely exceptional on Wikipedia and are usually signaled by a small notice below the displayed title).
If the article is on the English edition of Wikipedia, use the "en:" language prefix explicitly before the article name (often the article may be found on English Wikipedia with the supplied name, but there's no warranty that it will match the actual location, as the language code may have been forgotten and could bring to a desambiguation page at best, or to an article speaking about a location elsewhere in the world with the same name).
The value may also supply an optional anchor pointing to a location within the article page, by appending an hash character (
#) followed by the effective title of a section heading (here also there must be no underscores (
_), use regular spaces instead, and the heading must not be anchor-encoded). Alternatively, you may also specify an anchor matching the value of an HTML id attribute (in that case use the identifier as it is encoded within the article rendered in HTML): this may be useful if there are several identical subheadings in a long Wikipedia article (in the Wikipedia article, make sure this supplied id is readable, unique within the rendered page, and that it does not contain any space or underscore ; these additional anchor identifiers should preferably only contain letters, digits, and punctuations).
- To identify yourself as an OSM editor on Wikipedia, place on your Wikipedia user page.
- To identify yourself as a Wikipedia editor on OSM, place on your OSM wiki user page, with the Wikipedia's language and your Wikipedia username, thus: .
- To find other Wikipedia editors on this OSM wiki, see Category:Wikipedians.
Thebegan in 2009. A server was installed with OSM stuff inside Wikimedia cluster (toolserver). The was replaced by (formerly known as Wikimedia Labs) and the original toolserver was shut down on 1 July 2014.
Notes and references
- WIWOSM - uses wikipedia=* to display vector map at Wikipedia sites using OSM data.
- on Wikimedia Meta