GraphHopper

GraphHopper is an open-source routing library and server written in Java and provides a routing API over HTTP.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 5 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

GraphHopper is an open-source routing library and server written in Java and provides a routing API over HTTP.[2] It runs on the server, desktop, Android, iOS or Raspberry Pi.[3][4] By default OpenStreetMap data for the road network and elevation data from the Shuttle Radar Topography Mission is used. The front-end is open-source too and called GraphHopper Maps.[5]

GraphHopper can be configured to use different algorithms such as Dijkstra, A* and its bidirectional versions. To make routing fast enough for long paths (continental size) and avoid heuristical approaches GraphHopper uses contraction hierarchies by default. In the Java Magazine from Oracle, the author, Peter Karich, describes the techniques necessary to make the system memory efficient and fast.[6] Furthermore, GraphHopper is built on a large test suite including unit, integration and load tests.[7]

The Apache License allows everyone to customize and integrate GraphHopper in free or commercial products, and together with the query speed and OpenStreetMap data this makes GraphHopper a possible alternative to existing routing services and GPS navigation software e.g. using the Maplibre Navigation SDK.[8]

Besides point-to-point routing for different vehicles GraphHopper can be used to calculate distance matrices which are then used as an input for vehicle routing problems.[9] Other use cases are:

Users

edit edit source

Notable users of GraphHopper are Rome2rio, Deutsche Bahn, Komoot, Gnome[14] and Flixbus. Since February 2015, GraphHopper has been one of the APIs powering routing on the official OpenStreetMap website and version 0.4 was released shortly afterwards in March 2015.[15][16]

Company

edit edit source

In January 2016, the developers of GraphHopper and jsprit formed the company GraphHopper GmbH.

GraphHopper Directions API

edit edit source

The GraphHopper Directions API is an offering of the GraphHopper GmbH and includes a Geocoding API, a Distance Matrix API, a Map Matching API, an Isochrone API, a Cluster API, a Profiles API and a Route Optimization API besides the Routing API[17]

See also

edit edit source

References

edit edit source
  1. ^ "Release 11.1". 29 September 2026. Retrieved 30 September 2026. Wikipedia revision 1332782126, retrieved 2026-11-18
  2. ^ "GitHub - GraphHopper". GraphHopper. Retrieved 2024-03-25. Wikipedia revision 1332782126, retrieved 2026-11-18
  3. ^ "GraphHopper · GitHub". GraphHopper GmbH. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18
  4. ^ "Driving Directions with GraphHopper and Java on Raspberry Pi | Karussell". Karussell.wordpress.com. 2014-01-09. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18
  5. ^ "GraphHopper Maps". GraphHopper.com. Retrieved 2024-03-25. Wikipedia revision 1332782126, retrieved 2026-11-18
  6. ^ "Java Magazine 2014, GraphHopper Maps: Fast Road Routing in 100% Java". Oraclejavamagazine-digital.com. Archived from the original on 2015-05-09. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18
  7. ^ "GitHub Actions showing the large test suite of GraphHopper". Github.com. Retrieved 2024-03-25. Wikipedia revision 1332782126, retrieved 2026-11-18
  8. ^ "Jaxenter, LocationTech Tour in Hamburg 2014". Jaxenter.de. 2014-10-27. Retrieved 2021-10-27. Wikipedia revision 1332782126, retrieved 2026-11-18
  9. ^ Urquhart, Neil (2015). "Optimising the Scheduling and Planning of Urban Milk Deliveries". Applications of Evolutionary Computation. Lecture Notes in Computer Science. Vol. 9028. pp. 604–615. doi:10.1007/978-3-319-16549-3_49. ISBN 978-3-319-16548-6. Wikipedia revision 1332782126, retrieved 2026-11-18
  10. ^ "Map Matching module of GraphHopper". GraphHopper GmbH. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18
  11. ^ Motorways and firm performance: the case of Hungary (PDF) (Thesis). Etd.ceu.hu. 2014. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18
  12. ^ "GraphHopper Isochrone API". Github.com. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18
  13. ^ Strobl, Josef; Blaschke, Thomas; Griesebner, Gerald; Zagel, Bernhard (2014). Angewandte Geoinformatik (PDF). Wichmann. ISBN 978-3-87907-543-0. Wikipedia revision 1332782126, retrieved 2026-11-18
  14. ^ "Gnome Maps 3.14 uses the GraphHopper Directions API". Help.gnome.org. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18
  15. ^ "Route Planning on OpenStreetMap.org". Blog.openstreetmap.org. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18
  16. ^ "Heise Open: Quelloffener Routenplaner GraphHopper in Version 0.4 erschienen". Heise.de. 11 March 2015. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18
  17. ^ "ProgrammableWeb: GraphHopper's API Helps Get You From A to B". Programmaableweb.com. 2014-07-15. Archived from the original on 2015-06-02. Retrieved 2015-04-30. Wikipedia revision 1332782126, retrieved 2026-11-18

Text derived from https://en.wikipedia.org/w/index.php?oldid=1332782126 under CC BY-SA 4.0; modifications have been made.

References

  1. ↩Wikipedia “GraphHopper” revision 1332782126 · retrieved 2026-10-20 release date (×1) · confidence 0.95 revision URL