Skip to content

Setup Guide

NoteFox edited this page Jun 1, 2020 · 20 revisions

_ DISCLAIMER : This Guide is build to show how to set-up the Service on an Debian based Linux-Distribution. It has to be Linux, since some tools used by the service are currently not available for Windows. Once there is a way, I'll update this Guide. ^^ _

Before Setup:

  • make sure you have openjdk-11 installed (of course, later versions work fine too, but it's at least this)
  • make sure you have curl installed ( if not, it's easily available over the Advanced Packaging Tool (or short "apt"), just type sudo apt install curl )

Steps to set up the Service:

  1. Download the Prebuild Server Package from here: https://github.com/OpenHistoricalDataMap/DowloadWebService/tree/master/Server
  2. extract the Package and move ###"all" the given Files in the location of your choosing ( this is where the service will dump all it's Data for now )
  3. run the bash script osm2map.sh for the installation of "osmosis" and the "mapwriter plugin" ( if you want to know more about that : https://wiki.openstreetmap.org/wiki/Osmosis/Quick_Install_(Windows)) this will assure us that the service will later actually use the right tool
  4. configure the init.txt to your liking ( more on that on the wiki page : init.txt configuration)
  5. now run the runner.jar - the files and directories needed will be created and the service should run now

(to run this as an Deamon, go on the "run as Deamon" Wiki page)

if any problems occur, please contact me over my student mail :

thank you and have fun ^^

Clone this wiki locally