GraphHopper vs OpenStreetMap Carto

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?
FeatureGraphHopperOpenStreetMap Carto
CategoryMaps & GISMaps & GIS
LicenseApache-2.0CC0-1.0
LanguageJavaCartoCSS
Setup difficultyMediumHard
Min. RAM4,096 MB4,096 MB
Deploymentdocker, bare-metal, binarybare-metal, source
GitHub stars★ 6,619★ 1,723
First released20122012
ReplacesGoogle Directions APIGoogle Maps

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 OpenStreetMap Carto if…

  • Released under the CC0-1.0 license
  • Active community (1.7k GitHub stars)
  • Written in CartoCSS
OpenStreetMap Carto details

Frequently asked questions

Is GraphHopper or OpenStreetMap Carto better?

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

Are GraphHopper and OpenStreetMap Carto free and open-source?

Yes. GraphHopper is licensed under Apache-2.0 and OpenStreetMap Carto under CC0-1.0. Both can be self-hosted at no software cost.

Can I run GraphHopper and OpenStreetMap Carto with Docker?

GraphHopper: yes. OpenStreetMap Carto: check the project docs for container support.

Related comparisons