osm_wikidata_check/README.md

20 lines
642 B
Markdown
Raw Permalink Normal View History

2022-12-18 21:23:43 +00:00
*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.*
2022-12-18 23:28:31 +00:00
Install Python and the dependencies listed in `requirements.txt`: open a terminal in this directory and run `pip3 install --user -r requirements.txt`
2022-12-18 21:23:43 +00:00
Fetch data from Overpass with this query:
```overpass-ql
[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`.