Skip to content

Reporting tool for finding missing objects in OSM for Denmark

License

Notifications You must be signed in to change notification settings

OSM-DK/missingObjectsDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

missingObjectsDK

Reporting tool for finding missing objects in OSM for Denmark

Service details

This service is currently deployed at http://osm.elgaard.net and maintained by Jørgen Elgaard Larsen.

Platform

This service assumes that you run on at Debian GNU/Linux system. It might run on other platforms, but that has not been tested.

Preparation

Install PostgreSQL with PostGIS. You will also need osm2pgsql, GDAL, perl and bash.

apt-get install postgresql postgis osm2pgsql gdal perl bash

Create 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.sql

Install node packages:

npm install

Then, copy config.sh.example to config.sh and edit the values:

  • POSTGIS_USER should be a user with full permissions to the osm database.
  • KORTFORSYNINGEN_USER and KORTFORSYNINGEN_PW should be the username and password for a user registered on download.kortforsyningen.dk
  • LOGFILE should 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.

About

Reporting tool for finding missing objects in OSM for Denmark

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published