Interlinking OpenStreetMap and Wikimedia How to take advantage of URL interlinking to list and describe Geographical objects “ Where do you want to go to?
Alice in Wonderland… ”
Would you tell me, please, which way I ought to go from here?' 'That depends a good deal on where you want to get to,' said the Cat. 'I don't much care where —' said Alice. 'Then it doesn't matter which way you go,' said the Cat Motivation and Goal
De Wikimedia en OpenStreetMap (OSM) organisatie en vrijwilligers delen heel wat principes. Het zou goed zijn als gemeenschappelijke projecten kunnen worden opgezet en ondersteund. Wikipedia, Wikidata en Wikimedia Commons kunnen worden gebruikt samen met OpenStreetMap om onderlinge linken vast te leggen en te tonen. Wikimedia objecten kunnen worden gekoppeld in OpenStreetMap via node tags (labels, key-value pairs).
Dit laat toe om nog meer metadata, beschrijvingen en multimedia te verzamelen en te documenteren over geografische objecten. OpenStreetMap interactieve kaarten kunnen worden getoond in Wikipedia-artikels. Wikidata kan doorverwijzen naar OSM objecten. Who am I
Geert Van Pamel
Wikipedian since 2005 Member of WMNL since 2012 Contributing to OpenStreetMap since 2013 Living in Belgium (Vlaams Brabant) President of Wikimedia Belgium Professionally working with Geospatial and Big data systems Developer for Open source projects (Asterisk PBX); loving Linux The Communities About the Organisations OpenStreetMap Wikimedia OpenStreetMap and Wikimedia
“We” have a lot in common: Similar technology Open Knowledge Similar organisations Open data Volunteers A lot of volunteers Projects Databases Why not collaborate? Community websites Use each others’ objects! Performant systems A worldwide organisation OpenStreetMap System architecture and objects Graphical Editors Rendering OpenStreetMap Architecture
Geographic/geospatial tool and Database driven database Query tool(s) Multiple (web) Editors depending on Map production, and GUIs complexity
Objects = nodes = way
Open source, Open data Multiple Coordinate systems (in the background) Worldwide organisations Aerial images (Google, Bing, AGIV) Projects and volunteers Yearly conference(s) OpenStreetMap Objects
Object Examples (Nodes) (way)Point amenities, monuments, shops, services
Line rivers, roads, walls, fences
Polygon buildings, land lots, industrial zones, landuse, forests, agriculture, lake
Locations: coordinate EPSG systems & Projections Attributes & Values: object type, name, address, characteristics … Entities, attributes, relationships … Generic data model ~ Wikidata Pictograms OpenStreetMap Editors Editor Platform Complexity Functionality • (good quality) AGIV aerial images iD Browser Intermediate • Easily create roads, buildings, land use • Add labels (key/values) • Bing aerial images Browser and • Choose icons Potlatch Adobe Flash- Simple • Drag and drop player • Show coordinates • Requires special Java client application JOSM Remote Java 8 Complex • Requires additional software, Control infrastructure, training • You can work offline • For experts - Very fast Standalone • You can download one or multiple tiles Merkaartor Linux application • With subsequent merge and synchronisation • Very efficient when you need to update a lot of nodes OsmAnd Android Easy • Add POI Map Rendering
Offline / online / device specific Web browsers Android tablet, iPad, smartphone; OsmAnd (vector) Tiles and (automatic, manual) map download
Multiple layers (car, bike, foot, ski, tourism, thematic) Depending on scale (omitting details)
Intersystem linking Apps Link from OSM wiki to Wikipedia
https://wiki.openstreetmap.org/wiki/Collaboration_with_Wikipedia
https://wiki.openstreetmap.org/wiki/Mapping_projects
Template:Place Wikimedia All applications and services built on MediaWiki Wikimedia
Wikipedia Wikimedia Commons Wikidata
MediaWiki: the application software
Volunteers and Projects Servers and databases The organisation Examples A picture is better than a 1000s words OpenStreetMap Linking
https://www.openstreetmap.org/way/24747745
Technique: via dedicated key-value attributes and relationships landuse cemetery name Kerkhof Mollem wikidata Q23002588
Category:Mollem wikimedia_commons Communal Cemetery
nl:Begraafplaats van wikipedia Mollem
OpenStreetMap Linking
https://www.openstreetmap.org/way/24747745
Technique: via dedicated key-value attributes and relationships landuse cemetery name Kerkhof Mollem wikidata Q23002588
Category:Mollem wikimedia_commons Communal Cemetery
nl:Begraafplaats van wikipedia Mollem
OpenStreetMap Linking
https://www.openstreetmap.org/way/24747745
Technique: via dedicated key-value attributes and relationships landuse cemetery name Kerkhof Mollem wikidata Q23002588
Category:Mollem wikimedia_commons Communal Cemetery
nl:Begraafplaats van wikipedia Mollem
Wikipedia static Linking
https://nl.wikipedia.org/wiki/Bagaya#/media/File:Osm_bagaya_casamance_senegal_2013.png By OpenStreetMap node
https://www.openstreetmap.org/node/4314615941 Wikipedia dynamic Linking
https://nl.wikipedia.org/wiki/Esino_Lario (click “Kaart”) Wikimedia Tools Server
Interactive maps
http://tools.wmflabs.org/geohack/geohack.php?language=it&p agename=Esino_Lario¶ms=45.993889_N_9.333056_E_typ e:adm3rd_scale:1000000&title=Esino+Lario
• Automatic tiling • Automatic scaling • Automatic details Wikimedia Commons
https://commons.wikimedia.org/wiki/File:Entrance_WMCON_2016_Berlin.jpg http://www.openstreetmap.org/?#map=15/52.5030/13.3837&layers=T Wikimedia Commons Linking
https://commons.wikimedia.org/wiki/Category:OpenStreetMap
https://commons.wikimedia.org/wiki/Category:OpenStreetMap_maps
https://commons.wikimedia.org/wiki/Category:OpenStreetMap_templates Wikidata Linking
OpenStreetMap relatie- OpenStreetMap-tag of – identificatiecode sleutelwoord
https://www.wikidata.org/wiki/Property:P402 https://www.wikidata.org/wiki/Property:P1282
https://www.openstreetmap.org/relation/$1 https://wiki.openstreetmap.org/wiki/$1
Example: https://www.wikidata.org/wiki/Q64 Example: https://www.wikidata.org/wiki/Q1501 (Berlijn) (zwembad) https://www.openstreetmap.org/relation/62422 https://wiki.openstreetmap.org/wiki/Tag:leisure% 3Dswimming_pool Wikidata Example
https://www.wikidata.org/wiki/Q26995804
Name: “State of the Map”
Commonscategorie: State of the Map
Leading to: https://commons.wikimedia.org/wiki/Category:State%20of%20the%20Map Restrictions You need IDs
You need IDs:
OpenStreetMap Node IDs Wikidata Q-IDs Wikipedia Lemma names Wikimedia Commons File names A stable Marriage?
Wikimedia (page) IDs are stable
OpenStreetMap object IDs (nodes) are not always stable Whenever an update of a node is performed, the ID might change … Depending on the type of edit (split/delete/recreate) Client Applications
Basic question: “What is in the neighbourhood?”
Web interface https://www.openstreetmap.org
Show Wikipedia articles, photo’s based on geolocation
OpenSeaMap Android App: OsmAnd (paying version) Magic Earth Pro (free version) OpenSeaMap
http://map.openseamap.org/?zoom=6&lat=52.099054&lon=5.078365&layers=BFTFFFTFFTT0FFF
Magic Earth Pro (Android)
Geographical Inventories
Wikidata: Nice multilingual search engine Wikimedia Commons Category: Media files Wikipedia: Encyclopedia
Use Categories Indexing (hierarchy)
Forward/Backward search: from names to geocoordinates and back GeoNames http://www.geonames.org Nominatum http://nominatim.openstreetmap.org Useful Links
https://www.openstreetmap.org https://taginfo.openstreetmap.org https://www.openstreetmap.org http://wiki.openstreetmap.org/wiki/Collaboration_with_Wikipedia
http://www.geonames.org http://nominatim.openstreetmap.org
https://nl.wikipedia.org https://commons.wikimedia.org https://www.wikidata.org Documentation
https://wiki.openstreetmap.org/wiki/Main_Page …
https://nl.wikipedia.org/wiki/Help:OpenStreetMap https://nl.wikipedia.org/wiki/Help:Externe_kaarten … Any Questions? Contact
Geert Van Pamel https://nl.wikipedia.org/wiki/Gebruiker:Geertivp mailto:[email protected]
Twitter @Geertivp
Was ik metselaar dan was Linux mijn truweel This Presentation
Interlinking OpenStreetMap and Wikimedia https://commons.wikimedia.org/wiki/File:WCN_2016_Interlinking_OpenStreetMap_and_Wikimedia.pdf
Geert Van Pamel Utrecht WCN 19/11/2016
Wikimedia Conferentie Nederland 2016 Other interesting Presentations
https://commons.wikimedia.org/wiki/File:Wikidata_and_Persistent_Identifiers.pdf Acknowledgements
Tim Berners-Lee to provide us with the wonderful technique of interlinking web pages with URL OpenStreetMap for their servers Wikidata for stimulating my imagination My Linux servers, for allowing me to experiment Raspberry Pi 3/Raspbian running a local MediaWiki server References
1. https://commons.wikimedia.org/wiki/File:Openstreetmap_logo.svg 2. https://commons.wikimedia.org/wiki/File:Wikimedia_logo_family_complete-2013.svg 3. https://en.wikiquote.org/wiki/Alice%27s_Adventures_in_Wonderland 4. https://commons.wikimedia.org/wiki/File:State_of_the_Map_2016_group_photo.jpg 5. https://commons.wikimedia.org/wiki/File:Wikimania_2016_-_group_photo_02.jpg 6. https://nl.wikipedia.org/wiki/Bagaya#/media/File:Osm_bagaya_casamance_senegal_2013.png 7. https://www.openstreetmap.org/node/4314615941 8. https://commons.wikimedia.org/wiki/File:Entrance_WMCON_2016_Berlin.jpg 9. http://www.openstreetmap.org/?#map=15/52.5030/13.3837&layers=T 10. https://commons.wikimedia.org/wiki/File:Wikipedia-logo-en.png