This service enables the analysis of Wikidata elements with at least one coordinate (P625 property) and the manual correlation in OpenStreetMap.
The folder needs to be in /srv/wikidata/, and Apache needs to have a virtualhost serving /srv/wikidata/html/.
Steps:
- Database: osm2pgsql with postgis extensions, with wikidata tag in the hstore column
tags
- Import
scripts/sql/0_create_wikidata_table.sql
to add tables to the osmosis database - Setup osmosis replication
- Setup weekly cronjob for Wikidata dump download (
scripts/0_weekly_download.sh
), dump will be downloaded in /srv/wikidata/dump/ - Setup cronjob to refresh the views after Osmosis applies the diff to database (
scripts/4_update_data.sh
) - Change the bounding box in
scripts/stdin_to_JSON_polygon.php
(defaults to Italy) - Run
composer update
both in html and scripts folder
PHP application which queries the database and shows entries, classified by their status (no action, action taken, already mapped, not mappable). Allows to update such status.
This project (except the assets folder containing third party code), is released under WTFPL.