+ All Categories
Home > Documents > Interlinking OpenStreetMap and Wikimedia · OpenStreetMap (OSM) organisatie en vrijwilligers delen...

Interlinking OpenStreetMap and Wikimedia · OpenStreetMap (OSM) organisatie en vrijwilligers delen...

Date post: 26-Jan-2021
Category:
Upload: others
View: 8 times
Download: 0 times
Share this document with a friend
47
Interlinking OpenStreetMap and Wikimedia How to take advantage of URL interlinking to list and describe Geographical objects
Transcript
  • InterlinkingOpenStreetMapandWikimediaHow 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 OrganisationsOpenStreetMap

    Wikimedia

  • OpenStreetMap and Wikimedia

    “We” have a lot in common:

    Open Knowledge

    Open data

    A lot of volunteers

    Projects

    Databases

    Community websites

    Performant systems

    A worldwide organisation

    Similar technology

    Similar organisations

    Volunteers

    Why not collaborate?

    Use each others’ objects!

  • OpenStreetMapSystem architecture and objects

    Graphical Editors

    Rendering

  • OpenStreetMap Architecture

    Geographic/geospatial tool anddatabase

    Multiple (web) Editors depending on complexity

    Multiple Coordinate systems (in the background)

    Aerial images (Google, Bing, AGIV)

    Database driven

    Query tool(s)

    Map production, and GUIs

    Objects = nodes = way

    Open source, Open data

    Worldwide organisations

    Projects and volunteers

    Yearly conference(s)

  • OpenStreetMap Objects

    Locations: coordinate EPSG systems & Projections

    Attributes & Values: object type, name, address, characteristics

    … Entities, attributes, relationships

    … Generic data model ~ Wikidata

    Pictograms

    Object (Nodes)

    Examples

    (way)Point amenities, monuments, shops, services

    Line rivers, roads, walls, fences

    Polygon buildings, land lots, industrial zones, landuse, forests, agriculture, lake

  • OpenStreetMap EditorsEditor Platform Complexity Functionality

    iD Browser Intermediate• (good quality) AGIV aerial images• Easily create roads, buildings, land use• Add labels (key/values)

    PotlatchBrowser and Adobe Flash-

    playerSimple

    • Bing aerial images• Choose icons• Drag and drop• Show coordinates

    JOSM Remote Control

    Java 8 Complex• Requires special Java client application• Requires additional software,

    infrastructure, training

    Merkaartor LinuxStandalone application

    • You can work offline• For experts - Very fast• You can download one or multiple tiles• 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

    https://wiki.openstreetmap.org/wiki/Mapping_projectshttps://wiki.openstreetmap.org/wiki/Mapping_projectshttps://wiki.openstreetmap.org/wiki/Template:Place

  • WikimediaAll applications and services built on MediaWiki

  • Wikimedia

    Wikipedia

    Wikimedia Commons

    Wikidata

    MediaWiki: the application software

    Volunteers and Projects

    Servers and databases

    The organisation

  • ExamplesA 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

    wikimedia_commonsCategory:MollemCommunal Cemetery

    wikipedianl:Begraafplaats van Mollem

    https://www.openstreetmap.org/way/24747745http://wiki.openstreetmap.org/wiki/NL:Key:landuse?uselang=nlhttp://wiki.openstreetmap.org/wiki/NL:Tag:landuse=cemetery?uselang=nlhttp://wiki.openstreetmap.org/wiki/NL:Key:name?uselang=nlhttp://wiki.openstreetmap.org/wiki/Key:wikidata?uselang=nlhttps://www.wikidata.org/wiki/Q23002588?uselang=nlhttp://wiki.openstreetmap.org/wiki/Key:wikimedia commons?uselang=nlhttp://wiki.openstreetmap.org/wiki/Key:wikipedia?uselang=nlhttp://nl.wikipedia.org/wiki/nl:Begraafplaats van Mollem?uselang=nl

  • OpenStreetMap Linking

    https://www.openstreetmap.org/way/24747745

    Technique: via dedicated key-value attributes and relationships

    landuse cemetery

    name Kerkhof Mollem

    wikidata Q23002588

    wikimedia_commonsCategory:MollemCommunal Cemetery

    wikipedianl:Begraafplaats van Mollem

    https://www.openstreetmap.org/way/24747745http://wiki.openstreetmap.org/wiki/NL:Key:landuse?uselang=nlhttp://wiki.openstreetmap.org/wiki/NL:Tag:landuse=cemetery?uselang=nlhttp://wiki.openstreetmap.org/wiki/NL:Key:name?uselang=nlhttp://wiki.openstreetmap.org/wiki/Key:wikidata?uselang=nlhttps://www.wikidata.org/wiki/Q23002588?uselang=nlhttp://wiki.openstreetmap.org/wiki/Key:wikimedia commons?uselang=nlhttp://wiki.openstreetmap.org/wiki/Key:wikipedia?uselang=nlhttp://nl.wikipedia.org/wiki/nl:Begraafplaats van Mollem?uselang=nl

  • OpenStreetMap Linking

    https://www.openstreetmap.org/way/24747745

    Technique: via dedicated key-value attributes and relationships

    landuse cemetery

    name Kerkhof Mollem

    wikidata Q23002588

    wikimedia_commonsCategory:MollemCommunal Cemetery

    wikipedianl:Begraafplaats van Mollem

    https://www.openstreetmap.org/way/24747745http://wiki.openstreetmap.org/wiki/NL:Key:landuse?uselang=nlhttp://wiki.openstreetmap.org/wiki/NL:Tag:landuse=cemetery?uselang=nlhttp://wiki.openstreetmap.org/wiki/NL:Key:name?uselang=nlhttp://wiki.openstreetmap.org/wiki/Key:wikidata?uselang=nlhttps://www.wikidata.org/wiki/Q23002588?uselang=nlhttp://wiki.openstreetmap.org/wiki/Key:wikimedia commons?uselang=nlhttp://wiki.openstreetmap.org/wiki/Key:wikipedia?uselang=nlhttp://nl.wikipedia.org/wiki/nl:Begraafplaats van Mollem?uselang=nl

  • 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”)

    https://nl.wikipedia.org/wiki/Esino_Lario

  • Wikimedia Tools Server

    Interactive maps

    http://tools.wmflabs.org/geohack/geohack.php?language=it&pagename=Esino_Lario&params=45.993889_N_9.333056_E_type:adm3rd_scale:1000000&title=Esino+Lario

    • Automatic tiling• Automatic scaling• Automatic details

    http://tools.wmflabs.org/geohack/geohack.php?language=it&pagename=Esino_Lario&params=45.993889_N_9.333056_E_type:adm3rd_scale:1000000&title=Esino+Lario

  • Wikimedia Commons

    https://commons.wikimedia.org/wiki/File:Entrance_WMCON_2016_Berlin.jpghttp://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

    https://commons.wikimedia.org/wiki/Category:OpenStreetMaphttps://commons.wikimedia.org/wiki/Category:OpenStreetMap_mapshttps://commons.wikimedia.org/wiki/Category:OpenStreetMap_templates

  • Wikidata Linking

    OpenStreetMap relatie-identificatiecode

    https://www.wikidata.org/wiki/Property:P402

    https://www.openstreetmap.org/relation/$1

    Example: https://www.wikidata.org/wiki/Q64(Berlijn)

    https://www.openstreetmap.org/relation/62422

    OpenStreetMap-tag of –sleutelwoord

    https://www.wikidata.org/wiki/Property:P1282

    https://wiki.openstreetmap.org/wiki/$1

    Example: https://www.wikidata.org/wiki/Q1501(zwembad)

    https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dswimming_pool

    https://www.wikidata.org/wiki/Property:P402https://www.openstreetmap.org/relation/$1https://www.wikidata.org/wiki/Q64https://www.openstreetmap.org/relation/62422https://www.wikidata.org/wiki/Property:P1282https://wiki.openstreetmap.org/wiki/$1https://www.wikidata.org/wiki/Q1501https://wiki.openstreetmap.org/wiki/Tag:leisure=swimming_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

    https://www.wikidata.org/wiki/Q26995804https://www.wikidata.org/wiki/Property:P373https://commons.wikimedia.org/wiki/Category:State of the Maphttps://commons.wikimedia.org/wiki/Category:State of the Map

  • 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)

    https://www.openstreetmap.org/

  • OpenSeaMap

    http://map.openseamap.org/?zoom=6&lat=52.099054&lon=5.078365&layers=BFTFFFTFFTT0FFF

    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

    http://www.geonames.org/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

    https://www.openstreetmap.org/https://taginfo.openstreetmap.org/https://www.openstreetmap.org/http://wiki.openstreetmap.org/wiki/Collaboration_with_Wikipediahttp://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

    https://wiki.openstreetmap.org/wiki/Main_Pagehttps://nl.wikipedia.org/wiki/Help:OpenStreetMaphttps://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

    mailto:[email protected]:[email protected]

  • 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

    https://commons.wikimedia.org/wiki/File:WCN_2016_Interlinking_OpenStreetMap_and_Wikimedia.pdf

  • Other interesting Presentations

    https://commons.wikimedia.org/wiki/File:Wikidata_and_Persistent_Identifiers.pdf

    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

    https://commons.wikimedia.org/wiki/File:Wikimania_2016_-_group_photo_02.jpghttps://commons.wikimedia.org/wiki/File:Wikimania_2016_-_group_photo_02.jpghttps://commons.wikimedia.org/wiki/File:Wikimania_2016_-_group_photo_02.jpghttps://commons.wikimedia.org/wiki/File:Wikimania_2016_-_group_photo_02.jpghttps://commons.wikimedia.org/wiki/File:Wikimania_2016_-_group_photo_02.jpghttps://nl.wikipedia.org/wiki/Bagaya#/media/File:Osm_bagaya_casamance_senegal_2013.pnghttps://www.openstreetmap.org/node/4314615941https://commons.wikimedia.org/wiki/File:Entrance_WMCON_2016_Berlin.jpghttp://www.openstreetmap.org/?#map=15/52.5030/13.3837&layers=Thttps://commons.wikimedia.org/wiki/File:Wikipedia-logo-en.png

Recommended