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?
GraphHopper
Fast and flexible open-source routing engine
VS
OpenTripPlanner
Multimodal trip planning and transit routing engine
| Feature | GraphHopper | OpenTripPlanner |
|---|---|---|
| Category | Maps & GIS | Maps & GIS |
| License | Apache-2.0 | LGPL-3.0 |
| Language | Java | Java |
| Setup difficulty | Medium | Hard |
| Min. RAM | 4,096 MB | 8,192 MB |
| Deployment | docker, bare-metal, binary | docker, bare-metal, binary |
| GitHub stars | ★ 6,619 | ★ 2,709 |
| First released | 2012 | 2009 |
| Replaces | Google Directions API | Google 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
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
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.