GraphHopper vs TileServer GL
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
TileServer GL
Serve vector and raster map tiles from MBTiles
| Feature | GraphHopper | TileServer GL |
|---|---|---|
| Category | Maps & GIS | Maps & GIS |
| License | Apache-2.0 | BSD-2-Clause |
| Language | Java | JavaScript |
| Setup difficulty | Medium | Medium |
| Min. RAM | 4,096 MB | 1,024 MB |
| Deployment | docker, bare-metal, binary | docker, bare-metal, binary |
| GitHub stars | ★ 6,619 | ★ 2,872 |
| First released | 2012 | 2016 |
| Replaces | Google Directions API | Mapbox |
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 TileServer GL if…
- Released under the BSD-2-Clause license
- First-class Docker support for quick deployment
- Active community (2.9k GitHub stars)
- Written in JavaScript
Frequently asked questions
Is GraphHopper or TileServer GL better?
Neither is universally better. GraphHopper has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.
Are GraphHopper and TileServer GL free and open-source?
Yes. GraphHopper is licensed under Apache-2.0 and TileServer GL under BSD-2-Clause. Both can be self-hosted at no software cost.
Can I run GraphHopper and TileServer GL with Docker?
GraphHopper: yes. TileServer GL: yes.