Skip to content

Joining Wikidata IDs to OSM #242

@abhisheksaikia

Description

@abhisheksaikia

Objective: Joining matched wikidata id's to OSM City and Towns POIs

Worksheet https://docs.google.com/spreadsheets/d/1Gh2-T20DuXMoRhUwx_L6FYcaHufOwcwpHm-fe0gkRxI/edit#gid=0 - View

OSM Diary Scaling multilingual name tags with Wikidata


Why join wikidata and OSM?

An OpenStreetMap feature linked to a wikidata item is augmented with extra information that is stored in the wikidata database. The level of information that can be gathered for an OSM feature when it is linked to wikidata is immense. For example, you can get name translations from Wikidata for places in OSM, find population of countries - all using the API.

Workflow:

We have created spreadsheets for OSM city and town features which have corresponding wikidata entries with exact name matches.

  1. Click on a link in the JOSM column, the OSM feature with it's corresponding wikidata tag is displayed in JOSM. Click on add selected tags to add the wikidata tag

wikidata20

  1. Before uploading check:
  2. Case 1: Match distance is close to 0
    • Wikidata type matches to a City> Town> Commune> human settlement > Municipality
    • Check if the address matches in both OSM and Wikidata
    • Check the description matches to a city or town
    • Case 1A: There is only one match candidate, add the wikidata tag to OSM
    • Case 1B: If there is still more than one match, Wikidata has duplicate entries for the place. eg. OSM Feature id 958710338; Wikidata entries: Q1993763, Q2001643
  • Case 2: Match distance is high (>10km)
    • Wikidata type matches to a City> Town> Commune> human settlement > Municipality
    • Check if the address matches in both OSM and WIkidata
    • Case2A: If only one match, coordinate in Wikidata is wrong, add the wikidata id to OSM
  • Case 3: Anything else has no match in Wikidata. Manual matching has to be done to find out if a Wikidata entry exists or not.

Changeset comment: Adding Wikidata tag to Cities and Towns https://github.com/mapbox/mapping/issues/242
Changeset source: Wikidata

In the added column in the spreadsheet, enter:

yes=added the match, manual=added a wikidata match after a manual search, no=did not add a wikidata tag

Resources:

cc @mapbox/team-data

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions