User:Arjunaraoc/Fixing wikidata redirect ids used on OSM

From OpenStreetMap Wiki
Jump to navigation Jump to search

Due to updates on Wikipedia, Wikidata identifier which was used on OSM, might have become a redirect. As the links are automatically redirected to the new identifier, this may not be a big problem. For better data authenticity, it is advisable to update the wikidata identifier. Use a script to get the wikidata identifiers for a place and its old wikidata id. (https://w.wiki/9h2H)

Obtain OSM places with wikidata identifier values using overpass-turbo script as a csv. Obtain same data as map format such as xml and download to JOSM and save as .osm file.


Use spreadsheet tool to extract all the places for which old identifiers are in use and the updated wikidata identifier


Use osmcsvappender to update the .osm file with the updated wikidata identifiers.

Load the resulting osm file in JOSM and upload to OSM.