Skip to content

OpenRouteService

Self-hosted routing engine for directions, isochrones and matrices on OpenStreetMap data

Copyleft (OSI) · GPL-3.0
  • Self-hosted

Listed by , founder & editor

76

Health

Thriving

Overview

Stars

1,996

Last commit

4 days ago

Nov 2026

Repository age

9 years

since Sep 2017

Latest version

v10.1.1

Nov 2026

Contributors

–

9 active in 90 days

Releases

10

last 12 months

Docker pulls

28k

giscience/openrouteservice

Language

Java

OpenRouteService is a routing service written in Java. It uses a forked, modified version of GraphHopper 4.0 and builds its routes from OpenStreetMap data. You run it yourself and call it over HTTP.

It offers directions for different modes of transport, isochrones that show areas reachable from a location, and matrix calculations for time and distance (one-to-many, many-to-one and many-to-many). It also has snapping to the road network, export of the base graph, and health and status endpoints that are only available on your own instance.

Docker is the suggested install. You download the docker-compose file from the latest release and start it. It comes with a test OSM file for Heidelberg, Germany, and serves endpoints on port 8080 under /ors/v2. Point it at your own OSM extract for other regions. The public live API also offers points of interest, elevation, geocoding and vehicle routing, but those are separate services, not part of this repository. It is GPL-3.0 licensed and serves as a self-hosted alternative to commercial routing APIs.

Who it's for

Developers adding routing to an app

A self-hosted HTTP API covers directions, isochrones and matrices without per-request fees.

Skip if: You need turn-by-turn navigation for end users or geocoding in the same package.

Logistics and planning analysts

Matrix and isochrone services support travel-time analysis across many points.

Skip if: You need vehicle route optimization, which is a separate service.

Teams that must keep location queries on their own servers

You run the engine yourself on OpenStreetMap data.

Skip if: You prefer a hosted API with no server to maintain.

The problem it solves

Commercial routing APIs charge by request and send your location queries to a third party. Building a routing engine from OpenStreetMap data is a large job. OpenRouteService gives you a ready engine you can host.

Strengths

  • Directions, isochrones, matrix, snapping and export endpoints
  • Docker compose setup with a sample Heidelberg dataset
  • Built on OpenStreetMap data with multiple transport modes
  • Active project: 10 releases in the last year
  • Health and status endpoints on self-run instances

Trade-offs

  • Geocoding, elevation, points of interest and VROOM are separate services
  • Setup needs your own OSM data for regions outside the sample
  • GPL-3.0 license has copyleft obligations
  • Graph building for large regions takes server resources

Self-host OpenRouteService

Self-hostable
Yes
Docker image
giscience/openrouteservice
Docker Compose
The repository ships a Compose file

Quick start

wget https://github.com/GIScience/openrouteservice/releases/latest/download/docker-compose.yml
docker compose up -d

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Can I self-host it?

Yes. Docker with the provided compose file is the suggested way.

What data does it use?

OpenStreetMap data. The default setup includes a test file for Heidelberg and surrounding area.

Which endpoints does it offer?

Directions, isochrones, matrix, snap, export, health and status, served on port 8080.

Does it include geocoding?

No. Geocoding, elevation and points of interest are separate services from the public live API.

Similar tools in Maps and navigation

OpenStreetMap

Maps and navigation

Ruby on Rails app behind the OpenStreetMap site and editing API, for running your own

2.9k 1.1k today Active GPL-2.0

Replaces Google Maps

TREK

Maps and navigation

Self-hosted collaborative travel planner with maps, bookings, budgets and packing lists

16k 1.4k today Thriving AGPL-3.0

Vela

Maps and navigation

Android maps app on open data for degoogled phones, with no Google account needed

2.8k 157 today Active GPL-3.0

Replaces Google Maps

OpenCPN

Maps and navigation

Cross-platform chartplotter and marine navigation software for boaters at the helm

1.5k 654 today Active GPL-2.0

OpenTripPlanner

Maps and navigation

Self-hosted multimodal trip planner for transit agencies and map app developers

2.8k 1.2k today Active LGPL-3.0

OsmAnd~

Maps and navigation

Offline OpenStreetMap navigation and map viewer for Android travelers and hikers

6.2k 1.3k today Active GPL-3.0-only

Replaces Google Maps