Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.45 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.45 KB

Obstsalat - Open Data Camp 2019

Setup

# Clone via ssh
git clone [email protected]:vroland/obstsalat-odc19.git

# Create virtual environment
python -m venv env

# Activate environment
source env/bin/activate

# Install dependencies
pip install -r requirements.txt

Running

Setting up Openrouteservice

  • clone the openrouteservice repository
  • To disable openrouteservice rate limiting, apply ./openrouteservice_config.patch to the sample config of the openrouteservice docker container.
  • Download an appropriate open streetmap dataset (e.g. saxony)
  • delete everything in docker/graphs! This will force openrouteservice to rebuild the map data. Otherwise, you might get unexpected Error Code 2099 errors, because the requested coordinates are off map. Running docker compose without the -d flag (in foreground mode) helps catch any out of memory exceptions.
  • make sure the container has enough RAM available. Increase RAM limit as described in https://github.com/GIScience/openrouteservice/blob/master/docker/README.md. Using a VM with 3G of ram did not work for me, while 6G worked just fine.

Running locally