Skip to content

Installation and Usage

Installation via Docker

We suggest using docker to install and launch openrouteservice backend. In short, run the following commands will get everything done.

bash
wget https://raw.githubusercontent.com/GIScience/openrouteservice/master/docker-compose.yml
docker compose up

This will pull the latest release version of openrouteservice from dockerhub and start it up using an example setup and the provided test OSM file. You can also modify the configuration and source file settings to match your needs. For more details, check the Running with Docker-Section. More explanation about customization can be found in the Advanced Docker Setup

Other Resources

Usage

Openrouteservice offers a set of endpoints for different spatial purposes. They are served with the help of Tomcat in a java servlet container. By default you will be able to query the services with these addresses:

  • http://localhost:8080/ors/v2/directions
  • http://localhost:8080/ors/v2/isochrones
  • http://localhost:8080/ors/v2/matrix

Note, that Tomcat running via maven will use port 8082 by default.