Software:GraphHopper

From HandWiki
GraphHopper
Graphhopper-screenshot.png
Developer(s)GraphHopper community
Stable release
7.0 / March 13, 2023; 12 months ago (2023-03-13)
Written inJava
Operating systemCross-platform
TypeSearch, Graph and GPS navigation software
LicenseApache License 2.0
Websitegraphhopper.com

GraphHopper is an open-source routing library and server written in Java and provides a web interface called GraphHopper Maps[1][better source needed] as well as a routing API over HTTP. It runs on the server, desktop, Android, iOS or Raspberry Pi.[2][3] By default OpenStreetMap data for the road network and elevation data from the Shuttle Radar Topography Mission is used.

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.[4] Furthermore, GraphHopper is built on a large test suite including unit, integration and load tests.[5]

Version 1.0 was released in May 2020.[6]

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.[7]

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.[8] Other use cases are:

  • Track vehicles via map matching - i.e. 'snap' real world GPS points to digital road network[9]
  • Assist urban planning[10]
  • Traffic simulation
  • Isochrone calculation - i.e. determining the reachability for cars, pedestrians or bikes[11]
  • Indoor routing like for warehouse optimizations or tradeshow planning
  • Eco-efficient routing[12]
  • Virtual reality games like Scotland Yard

Users

Notable users of GraphHopper are Rome2rio, Deutsche Bahn, Komoot, Gnome[13] 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.[14][15]

Company

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

GraphHopper Directions API

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 and a Route Optimization API besides the Routing API[16]

See also

References

  1. "Driving Directions - GraphHopper Maps". Graphhopper.com. https://graphhopper.com/maps. 
  2. "GraphHopper · GitHub". GraphHopper GmbH. https://github.com/graphhopper/graphhopper-ios. 
  3. "Driving Directions with GraphHopper and Java on Raspberry Pi | Karussell". Karussell.wordpress.com. 2014-01-09. https://karussell.wordpress.com/2014/01/09/road-routing-on-raspberry-pi-with-graphhopper/. 
  4. "Java Magazine 2014, GraphHopper Maps: Fast Road Routing in 100% Java". Oraclejavamagazine-digital.com. http://www.oraclejavamagazine-digital.com/javamagazine_open/20140102#pg72. 
  5. "public Travic CI: showing large test suite of GraphHopper". Travis-ci.org. https://travis-ci.org/graphhopper/graphhopper. 
  6. "Heise Developer: Routenplanung: GraphHopper hat nach acht Jahren das Routenziel erreicht". Heise.de. 26 May 2020. https://www.heise.de/developer/meldung/Routenplanung-GraphHopper-hat-nach-acht-Jahren-das-Routenziel-erreicht-4764580.html. 
  7. "Jaxenter, LocationTech Tour in Hamburg 2014". Jaxenter.de. 2014-10-27. https://entwickler.de/eclipse/locationtech-tour-2014. 
  8. Urquhart, Neil (2015). "Optimising the Scheduling and Planning of Urban Milk Deliveries". Applications of Evolutionary Computation. Lecture Notes in Computer Science. 9028. pp. 604–615. doi:10.1007/978-3-319-16549-3_49. ISBN 978-3-319-16548-6. 
  9. "Map Matching module of GraphHopper". GraphHopper GmbH. https://github.com/graphhopper/map-matching. 
  10. Motorways and firm performance: the case of Hungary (PDF) (Thesis). Etd.ceu.hu. 2014. Retrieved 2015-04-30.
  11. "GraphHopper Isochrone API". Github.com. https://graphhopper.com/api/1/docs/isochrone/. 
  12. Strobl, Josef; Blaschke, Thomas; Griesebner, Gerald; Zagel, Bernhard (2014). Angewandte Geoinformatik. Wichmann. ISBN 978-3-87907-543-0. http://gispoint.de/fileadmin/user_upload/paper_gis_open/537543013.pdf. 
  13. "Gnome Maps 3.14 uses the GraphHopper Directions API". Help.gnome.org. https://help.gnome.org/misc/release-notes/3.14/more.html.en. 
  14. "Route Planning on OpenStreetMap.org". Blog.openstreetmap.org. https://blog.openstreetmap.org/2015/02/16/routing-on-openstreetmap-org/. 
  15. "Heise Open: Quelloffener Routenplaner GraphHopper in Version 0.4 erschienen". Heise.de. 11 March 2015. http://www.heise.de/open/meldung/Quelloffener-Routenplaner-GraphHopper-in-Version-0-4-erschienen-2572558.html. 
  16. "ProgrammableWeb: GraphHopper's API Helps Get You From A to B". Programmaableweb.com. 2014-07-15. http://www.programmableweb.com/news/graphhoppers-api-helps-get-you-to-b/2014/07/15.