GraphHopper vs OpenTripPlanner

A side-by-side comparison of two self-hosted maps & gis options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureGraphHopperOpenTripPlanner
CategoryMaps & GISMaps & GIS
LicenseApache-2.0LGPL-3.0
LanguageJavaJava
Setup difficultyMediumHard
Min. RAM4,096 MB8,192 MB
Deploymentdocker, bare-metal, binarydocker, bare-metal, binary
GitHub stars★ 6,619★ 2,709
First released20122009
ReplacesGoogle Directions APIGoogle Maps Transit

Why pick each one

Choose GraphHopper if…

  • Released under the Apache-2.0 license
  • First-class Docker support for quick deployment
  • Mature project with 6.6k GitHub stars
  • Written in Java
GraphHopper details

Choose OpenTripPlanner if…

  • Released under the LGPL-3.0 license
  • First-class Docker support for quick deployment
  • Active community (2.7k GitHub stars)
  • Written in Java
OpenTripPlanner details

Frequently asked questions

Is GraphHopper or OpenTripPlanner better?

GraphHopper is the stronger all-round pick: it has both the larger community and the simpler medium setup. Consider OpenTripPlanner if its specific feature set fits your needs better.

Are GraphHopper and OpenTripPlanner free and open-source?

Yes. GraphHopper is licensed under Apache-2.0 and OpenTripPlanner under LGPL-3.0. Both can be self-hosted at no software cost.

Can I run GraphHopper and OpenTripPlanner with Docker?

GraphHopper: yes. OpenTripPlanner: yes.

Related comparisons