Go to file
Midgard dfef6e179f
Clarify an instruction in README
2022-12-19 00:28:38 +01:00
.gitignore Add gitignore 2022-12-18 22:24:31 +01:00
README.md Clarify an instruction in README 2022-12-19 00:28:38 +01:00
osm_wikidata_check.py Quote WD ID in Overpass query 2022-12-18 23:25:26 +01:00
requirements.txt Initial commit 2022-12-18 21:18:01 +01:00

README.md

The terminal commands listed in these instructions are specific to Unix shells such as those found on Linux and macOS and might need to be adapted to run on other systems.

Install Python and the dependencies listed in requirements.txt: open a terminal in this directory and run pip3 install --user -r requirements.txt

Fetch data from Overpass with this query:

[out:json][timeout:25];
(
  nwr["wikidata"]({{bbox}});
  nwr[~":wikidata$"~".*"]({{bbox}});
);
out tags;

Save the raw OSM data as export.json in this directory.

Open a terminal in this directory and run python3 osm_wikidata_check.py < export.json.