Reporting tool for finding missing objects in OSM for Denmark
This service is currently deployed at http://osm.elgaard.net and maintained by Jørgen Elgaard Larsen.
This service assumes that you run on at Debian GNU/Linux system. It might run on other platforms, but that has not been tested.
Install PostgreSQL with PostGIS. You will also need osm2pgsql, GDAL, perl and bash.
apt-get install postgresql postgis osm2pgsql gdal perl bashCreate a new database, and configure it for this application:
sudo -u postgres createuser osm
sudo -u postgres createdb --encoding=UTF8 --owner=osm osm
psql osm < sql/setup.sqlInstall node packages:
npm installThen, copy config.sh.example to config.sh and edit the values:
POSTGIS_USERshould be a user with full permissions to theosmdatabase.KORTFORSYNINGEN_USERandKORTFORSYNINGEN_PWshould be the username and password for a user registered on download.kortforsyningen.dkLOGFILEshould be set to a file path writable by the user running the scripts.
NOTE!!! In the file public/map.php, there is an access token for Mapbox. Please obtain your own and use that instead.