talira

GraphHopper

Open source routing engine for OpenStreetMap, and a hosted Directions API

open coreApache-2.0self-hostablefree

GraphHopper is a fast open source routing engine for OpenStreetMap data, written in Java: use it as a library or run it as a standalone web server with a routing API and a map interface. It calculates routes for cars, bikes, walking and other profiles, with custom profiles for vehicle dimensions, access restrictions and road preferences, plus distance matrices, isochrones and map matching of GPS tracks, using Contraction Hierarchies for speed or flexible modes for per-request changes. Its makers also sell the GraphHopper Directions API, a hosted service with routing, route optimization for fleets, geocoding, map matching, isochrones and matrices, with a free plan and paid plans by daily credits.

Problems it solves

  • self-host a routing engine for OpenStreetMap
  • calculate driving or cycling routes in my Java app
  • a route optimization API for delivery vehicles
  • compute travel-time isochrones and distance matrices
  • snap GPS tracks to roads

Features

  • car, bike, foot and custom routing profiles
  • Contraction Hierarchies and flexible routing
  • distance matrices, isochrones, map matching
  • Java library or standalone server
  • hosted Directions API with route optimization and geocoding

Ways to run it

GraphHopper routing engine (open source)

You run it, Apache-2.0

free1

Not included

  • the hosted route optimization and geocoding APIs

You arrange

  • servers and OpenStreetMap data imports

Self-hosting docs

GraphHopper Directions API

Hosted by GraphHopper

Free (500 credits a day); Basic €69/month, Standard €199/month, Premium €479/month; Custom2

Only in this edition

  • Routing, Route Optimization, Geocoding, Map Matching, Isochrone and Matrix APIs

Pricing

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what GraphHopper does.

  1. Valhalla Open source routing engine for OpenStreetMap
  2. Open Source Routing Machine (OSRM) High performance routing engine for OpenStreetMap data

Compare GraphHopper with the top 3