Skip to content

GispoCoding/graphhopper-docker

 
 

Repository files navigation

GraphHopper router backend using Docker

Installation

Activation 🚗🚶🏼‍♂️🚲

Navigate to the folder you just cloned and run docker-compose up -d

By default this repository sets up routing for Jamaica. You can those by editing the file names on the gh-update.bat file and the docker-compose.yml file accordingly. By doing so, you can explore data from various regions using their corresponding .osm.pbf files. This data will then be utilized to generate a routing network for those specific regions. For downloadable data related to different areas, you can find relevant resources for example at http://download.geofabrik.de/. The default settings use car, foot, biking and hiking as travel modes. Change those in the gh-config.yml file.

Updating the routing data 🌎🌍🌏

For quick activation, the server will initially use historic routing data. To use up-to-date routing data, run ./gh-update.sh on Linux or gh-update.bat on Windows.

The scripts are identical (hard linked) and perform the following tasks:

  • Download new OSM data if needed
  • Calculate new routing data
  • Start or restart the GraphHopper server, as appropriate, with the new routing data

The scripts can also be run periodically or after changing the gh-config.yml file.

Read more about GraphHopper

👉🏼 https://www.graphhopper.com/open-source/

Releases

No releases published

Packages

No packages published

Languages

  • Batchfile 100.0%