[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4302":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":15,"starSnapshotCount":15,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},4302,"graphhopper","graphhopper\u002Fgraphhopper","Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.","https:\u002F\u002Fwww.graphhopper.com\u002Fopen-source\u002F",null,"Java",6513,1931,174,195,0,1,15,79,11,83.26,"Apache License 2.0",false,"master",[25,26,27,28,5,29,30,31,32,33,34,35,36],"astar","dijkstra","directions","geospatial","isochrones","java","map-matching","openstreetmap","pathfinding","public-transportation","routing","routing-engine","2026-06-12 04:00:22","# GraphHopper Routing Engine\n\n![Build Status](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Factions\u002Fworkflows\u002Fbuild.yml\u002Fbadge.svg?branch=master)\n\nGraphHopper is a fast and memory-efficient routing engine released under Apache License 2.0.\nIt can be used as a Java library or standalone web server to calculate the distance, time,\nturn-by-turn instructions and many road attributes for a route between two or more points.\nBeyond this \"A-to-B\" routing it supports [\"snap to road\"](README.md#Map-Matching),\n[Isochrone calculation](README.md#Analysis), [mobile navigation](README.md#mobile-apps) and\n[more](README.md#Features). GraphHopper uses OpenStreetMap and GTFS data by default and it\ncan import [other data sources too](README.md#OpenStreetMap-Support).\n\n# Community\n\nWe have an open community and welcome everyone. Let us know your problems, use cases or just [say hello](https:\u002F\u002Fdiscuss.graphhopper.com\u002F).\nPlease see our [community guidelines](https:\u002F\u002Fgraphhopper.com\u002Fagreements\u002Fcccoc.html).\n\n## Questions\n\nAll questions go to our [forum](https:\u002F\u002Fdiscuss.graphhopper.com\u002F) where we also have subsections specially for developers, mobile usage, and [our map matching component](.\u002Fmap-matching).\nYou can also search [Stackoverflow](http:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fgraphhopper) for answers.\n\n## Contribute\n\nRead through our [contributing guide](CONTRIBUTING.md) for information on topics\nlike finding and fixing bugs and improving our documentation or translations!\nWe also have [good first issues](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fissues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)\nto get started with contribution.\n\n## Get Started\n\nTo get started you can try [GraphHopper Maps](README.md#graphhopper-maps), read through [our documentation](.\u002Fdocs\u002Findex.md) and install GraphHopper including the Maps UI locally.\n\n* 11.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F11.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Frepo1.maven.org\u002Fmaven2\u002Fcom\u002Fgraphhopper\u002Fgraphhopper-web\u002F11.0\u002Fgraphhopper-web-11.0.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2025\u002F10\u002F14\u002Fgraphhopper-routing-engine-11-0-released\u002F)\n* unstable master: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002Fmaster\u002Fdocs\u002Findex.md)\n\nSee the [changelog file](.\u002FCHANGELOG.md) for Java API Changes.\n\n\u003Cdetails>\u003Csummary>Click to see older releases\u003C\u002Fsummary>\n\n* 10.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F10.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Frepo1.maven.org\u002Fmaven2\u002Fcom\u002Fgraphhopper\u002Fgraphhopper-web\u002F10.0\u002Fgraphhopper-web-10.0.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2024\u002F11\u002F05\u002Fgraphhopper-routing-engine-10-0-released\u002F)\n* 9.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F9.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Frepo1.maven.org\u002Fmaven2\u002Fcom\u002Fgraphhopper\u002Fgraphhopper-web\u002F9.1\u002Fgraphhopper-web-9.1.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2024\u002F04\u002F23\u002Fgraphhopper-routing-engine-9-0-released)\n* 8.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F8.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Frepo1.maven.org\u002Fmaven2\u002Fcom\u002Fgraphhopper\u002Fgraphhopper-web\u002F8.0\u002Fgraphhopper-web-8.0.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2023\u002F10\u002F18\u002Fgraphhopper-routing-engine-8-0-released\u002F)\n* 7.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F7.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Frepo1.maven.org\u002Fmaven2\u002Fcom\u002Fgraphhopper\u002Fgraphhopper-web\u002F7.0\u002Fgraphhopper-web-7.0.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2023\u002F03\u002F14\u002Fgraphhopper-routing-engine-7-0-released\u002F)\n* 6.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F6.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Frepo1.maven.org\u002Fmaven2\u002Fcom\u002Fgraphhopper\u002Fgraphhopper-web\u002F6.2\u002Fgraphhopper-web-6.2.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2022\u002F09\u002F19\u002Fgraphhopper-routing-engine-6-0-released\u002F)\n* 5.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F5.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F5.3\u002Fgraphhopper-web-5.3.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2022\u002F03\u002F23\u002Fgraphhopper-routing-engine-5-0-released\u002F)\n* 4.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F4.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F4.0\u002Fgraphhopper-web-4.0.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2021\u002F09\u002F29\u002Fgraphhopper-routing-engine-4-0-released\u002F)\n* 3.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F3.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F3.2\u002Fgraphhopper-web-3.2.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2021\u002F05\u002F18\u002Fgraphhopper-routing-engine-3-0-released\u002F)\n* 2.x: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F2.x\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F2.4\u002Fgraphhopper-web-2.4.jar)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2020\u002F09\u002F30\u002Fgraphhopper-routing-engine-2-0-released\u002F)\n* 1.0: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F1.0\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F1.0\u002Fgraphhopper-web-1.0.jar)\n  , [Android APK](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F1.0\u002Fgraphhopper-android-1.0.apk)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2020\u002F05\u002F25\u002Fgraphhopper-routing-engine-1-0-released\u002F)\n* 0.13.0: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F0.13\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.13.0\u002Fgraphhopper-web-0.13.0.jar)\n  , [Android APK](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.13.0\u002Fgraphhopper-android-0.13.0.apk)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2019\u002F09\u002F18\u002Fgraphhopper-routing-engine-0-13-released\u002F)\n* 0.12.0: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F0.12\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.12.0\u002Fgraphhopper-web-0.12.0.jar)\n  , [Android APK](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.12.0\u002Fgraphhopper-android-0.12.0.apk)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2019\u002F03\u002F26\u002Fgraphhopper-routing-engine-0-12-released\u002F)\n* 0.11.0: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F0.11\u002Fdocs\u002Findex.md)\n  , [web service jar](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.11.0\u002Fgraphhopper-web-0.11.0.jar)\n  , [Android APK](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.11.0\u002Fgraphhopper-android-0.11.0.apk)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2018\u002F09\u002F17\u002Fgraphhopper-routing-engine-0-11-release-open-sourcing-the-isochrone-module\u002F)\n* 0.10.0: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F0.10\u002Fdocs\u002Findex.md)\n  , [web service zip](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.10.3\u002Fgraphhopper-web-0.10.3-bin.zip)\n  , [Android APK](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.10.3\u002Fgraphhopper-android-0.10.3.apk)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2018\u002F03\u002F08\u002Fgraphhopper-routing-engine-0-10-released\u002F)\n* 0.9.0: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F0.9\u002Fdocs\u002Findex.md)\n  , [web service zip](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.9.0\u002Fgraphhopper-web-0.9.0-bin.zip)\n  , [Android APK](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.9.0\u002Fgraphhopper-android-0.9.0.apk)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2017\u002F05\u002F31\u002Fgraphhopper-routing-engine-0-9-released\u002F)\n* 0.8.2: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F0.8\u002Fdocs\u002Findex.md)\n  , [web service zip](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.8.2\u002Fgraphhopper-web-0.8.2-bin.zip)\n  , [Android APK](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.8.2\u002Fgraphhopper-android-0.8.2.apk)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2016\u002F10\u002F18\u002Fgraphhopper-routing-engine-0-8-released\u002F)\n* 0.7.0: [documentation](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F0.7\u002Fdocs\u002Findex.md)\n  , [web service zip](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.7.0\u002Fgraphhopper-web-0.7.0-bin.zip)\n  , [Android APK](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Freleases\u002Fdownload\u002F0.7.0\u002Fgraphhopper-android-0.7.0.apk)\n  , [announcement](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2016\u002F06\u002F15\u002Fgraphhopper-routing-engine-0-7-released\u002F)\n\u003C\u002Fdetails>\n\n## Installation\n\nTo install the [GraphHopper Maps](https:\u002F\u002Fgraphhopper.com\u002Fmaps\u002F) UI and the web service locally you [need a JVM](https:\u002F\u002Fadoptium.net) (>= Java 17) and do:\n\n```bash\nwget https:\u002F\u002Frepo1.maven.org\u002Fmaven2\u002Fcom\u002Fgraphhopper\u002Fgraphhopper-web\u002F11.0\u002Fgraphhopper-web-11.0.jar \\\n  https:\u002F\u002Fraw.githubusercontent.com\u002Fgraphhopper\u002Fgraphhopper\u002F11.x\u002Fconfig-example.yml \\\n  http:\u002F\u002Fdownload.geofabrik.de\u002Feurope\u002Fgermany\u002Fberlin-latest.osm.pbf\njava -D\"dw.graphhopper.datareader.file=berlin-latest.osm.pbf\" -jar graphhopper*.jar server config-example.yml\n```\n\nAfter a while you see a log message with 'Server - Started', then go to http:\u002F\u002Flocalhost:8989\u002F and\nyou'll see a map of Berlin. You should be able to right click on the map to create a route.\n\nSee the [documentation](.\u002Fdocs\u002Findex.md) that contains e.g. [the elevation guide](.\u002Fdocs\u002Fcore\u002Felevation.md) and the [deployment guide](.\u002Fdocs\u002Fcore\u002Fdeploy.md).\n\n### Docker\n\nThe Docker images created by the community from the `master` branch can be found [here](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fisraelhikingmap\u002Fgraphhopper)\n(currently daily). See the [Dockerfile](https:\u002F\u002Fgithub.com\u002FIsraelHikingMap\u002Fgraphhopper-docker-image-push) for more details.\n\n## GraphHopper Maps\n\nThe GraphHopper routing server uses GraphHopper Maps as web interface, which is also [open source](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper-maps).\n\nTo see GraphHopper Maps in action go to [graphhopper.com\u002Fmaps\u002F](https:\u002F\u002Fgraphhopper.com\u002Fmaps\u002F),\nwhich is an instance of GraphHopper Maps and available for free, via encrypted connections and from German servers - for a nice and private route planning experience!\n\n[![GraphHopper Maps](https:\u002F\u002Fwww.graphhopper.com\u002Fwp-content\u002Fuploads\u002F2025\u002F06\u002Fgraphhopper-maps-2025.png)](https:\u002F\u002Fgraphhopper.com\u002Fmaps)\n\n## GraphHopper Directions API\n\nThe GraphHopper Directions API is [our](https:\u002F\u002Fwww.graphhopper.com\u002F) commercial offering that provides\n[multiple APIs](https:\u002F\u002Fdocs.graphhopper.com) based on this open source routing engine: the Routing API, the Matrix API, the Isochrone API and the Map Matching API.\n\nIt also provides the Route Optimization API, which is based on our open source [jsprit project](http:\u002F\u002Fjsprit.github.io\u002F) and uses the fast Matrix API behind the scenes.\n\nThe address search is based on the open source [photon project](https:\u002F\u002Fgithub.com\u002Fkomoot\u002Fphoton), which is supported by GraphHopper GmbH.\n\n## Public Transit\n\n[Get started](.\u002Freader-gtfs\u002FREADME.md#quick-start)\n\n[![Realtime Demo](https:\u002F\u002Fwww.graphhopper.com\u002Fwp-content\u002Fuploads\u002F2018\u002F05\u002FScreen-Shot-2018-05-16-at-21.23.25-600x538.png)](.\u002Freader-gtfs\u002FREADME.md#quick-start)\n\n## Mobile Apps\n\n### Online\n\nThere is the [\u002Fnavigate web service](.\u002Fnavigation) that can be consumed by [the Maplibre Navigation SDK](https:\u002F\u002Fgithub.com\u002Fmaplibre\u002Fmaplibre-navigation-android) or [the ferrostar SDK](https:\u002F\u002Fgithub.com\u002Fstadiamaps\u002Fferrostar).\n\n[\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fmaplibre\u002Fmaplibre-navigation-android\u002Fmain\u002F.github\u002Fpreview.png\" width=\"400\">](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper-navigation-example)\n\n### Offline\n\nOffline routing is [no longer officially supported](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fissues\u002F1940)\nbut should still work as Android supports most of Java. See [version 1.0](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fblob\u002F1.0\u002Fdocs\u002Fandroid\u002Findex.md)\nwith the Android demo and also see [this pull request](http:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper-ios) of the iOS fork including a demo for iOS.\n\n[\u003Cimg src=\"https:\u002F\u002Fwww.graphhopper.com\u002Fwp-content\u002Fuploads\u002F2016\u002F10\u002Fandroid-demo-screenshot-2.png\" width=\"600\">](.\u002Fandroid\u002FREADME.md)\n\n## Analysis\n\nUse isochrones to calculate and visualize the reachable area for a certain travel mode.\n\nYou can try the debug user interface at http:\u002F\u002Flocalhost:8989\u002Fmaps\u002Fisochrone\u002F to see the `\u002Fisochrone` and `\u002Fspt` endpoint in action.\n\n### [Isochrone Web API](.\u002Fdocs\u002Fweb\u002Fapi-doc.md#isochrone)\n\n[![Isochrone API image](.\u002Fdocs\u002Fisochrone\u002Fimages\u002Fisochrone.png)](.\u002Fdocs\u002Fweb\u002Fapi-doc.md#isochrone)\n\n### [Shortest Path Tree API](\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2018\u002F07\u002F04\u002Fhigh-precision-reachability\u002F)\n\n[![high precision reachability image](https:\u002F\u002Fwww.graphhopper.com\u002Fwp-content\u002Fuploads\u002F2018\u002F06\u002Fberlin-reachability-768x401.png)](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2018\u002F07\u002F04\u002Fhigh-precision-reachability\u002F)\n\n### [Map Matching](.\u002Fmap-matching)\n\nThere is the map matching subproject to snap GPX traces to the road.\n\n[![map-matching-example](https:\u002F\u002Fraw.githubusercontent.com\u002Fgraphhopper\u002Fdirections-api-doc\u002Fmaster\u002Fweb\u002Fimg\u002Fmap-matching-example.gif)](.\u002Fmap-matching)\n\n\n# Technical Overview\n\nGraphHopper supports several routing algorithms, such as \n\u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FDijkstra%27s_algorithm\">Dijkstra\u003C\u002Fa> and \n\u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FA*_search_algorithm\">A\u003C\u002Fa>`*` and its bidirectional variants. \nFurthermore, it allows you to use \n\u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FContraction_hierarchies\">Contraction Hierarchies\u003C\u002Fa> (CH) \nvery easily. We call this **speed mode**; without this CH preparation, we call it **flexible mode**.\n\nThe speed mode comes with very fast and lightweight (less RAM) responses and it does not use heuristics. \nHowever, only predefined vehicle profiles are possible and this additional CH preparation is time and resource consuming.\n\nThen there is the **hybrid mode** which also requires more time and memory for the preparation,\nbut it is much more flexible regarding changing properties per request or e.g. integrating traffic data. \nFurthermore, this hybrid mode is slower than the speed mode, but it is an \norder of magnitude faster than the flexible mode and uses less RAM for one request.\n\nIf the preparations exist you can switch between all modes at request time.\n\nRead more about the technical details [here](.\u002Fdocs\u002Fcore\u002Ftechnical.md).\n\n## License\n\nWe chose the Apache License to make it easy for you to embed GraphHopper in your products, even closed source.\nWe suggest that you contribute back your changes, as GraphHopper evolves fast.\n\n## OpenStreetMap Support\n\nOpenStreetMap is directly supported by GraphHopper. Without the amazing data from\nOpenStreetMap, GraphHopper wouldn't be possible at all. \nOther map data will need a custom import procedure, see e.g. \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fissues\u002F277\">Ordnance Survey\u003C\u002Fa>,\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper-reader-shp\">Shapefile like ESRI\u003C\u002Fa> or \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FOPTITOOL\u002Fmorituri\">Navteq\u003C\u002Fa>.\n\n## Written in Java\n\nGraphHopper is written in Java and officially runs on Linux, Mac OS X and Windows.\n\n### Maven\n\nEmbed GraphHopper with OpenStreetMap support into your Java application via the following snippet:\n\n```xml\n\u003Cdependency>\n    \u003CgroupId>com.graphhopper\u003C\u002FgroupId>\n    \u003CartifactId>graphhopper-core\u003C\u002FartifactId>\n    \u003Cversion>[LATEST-VERSION]\u003C\u002Fversion>\n\u003C\u002Fdependency>\n```\n\nSee [our example application](.\u002Fexample\u002Fsrc\u002Fmain\u002Fjava\u002Fcom\u002Fgraphhopper\u002Fexample\u002FRoutingExample.java) to get started fast.\n\n## Customizable\n\nYou can customize GraphHopper with Java knowledge (with a high and low level API) and also without Java knowledge using the [custom models](.\u002Fdocs\u002Fcore\u002Fcustom-models.md).\n\n### Web API\n\nWith the web module, we provide code to query GraphHopper over HTTP and decrease bandwidth usage as much as possible.\nFor that we use an efficient polyline encoding, the Ramer–Douglas–Peucker algorithm, and a simple \nGZIP servlet filter.                 \n\nOn the client side, we provide a [Java](.\u002Fclient-hc) and [JavaScript](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fdirections-api-js-client)\nclient.\n\n### Desktop\n\nGraphHopper also runs on the Desktop in a Java application without internet access. For debugging\npurposes GraphHopper can produce vector tiles, i.e. a visualization of the road network in the\nbrowser (see #1572). Also a more low level Swing-based UI is provided via MiniGraphUI in the\ntools module, see some visualizations done with it [here](https:\u002F\u002Fgraphhopper.com\u002Fblog\u002F2016\u002F01\u002F19\u002Falternative-roads-to-rome\u002F).\nA fast and production-ready map visualization for the Desktop can be implemented via [mapsforge](https:\u002F\u002Fgithub.com\u002Fmapsforge\u002Fmapsforge) or [mapsforge vtm](https:\u002F\u002Fgithub.com\u002Fmapsforge\u002Fvtm).\n\n# Features\n\n * Works out of the box with OpenStreetMap (osm\u002Fxml and pbf) and can be adapted to custom data\n * OpenStreetMap integration: stores and considers road type, speed limit, the surface, barriers, access restrictions, ferries, conditional access restrictions and more\n * GraphHopper is fast. And with the so called \"Contraction Hierarchies\" it can be even faster (enabled by default).\n * Memory efficient data structures, algorithms and [the low and high level API](.\u002Fdocs\u002Fcore\u002Flow-level-api.md) is tuned towards ease of use and efficiency\n * Pre-built routing profiles: car, bike, racing bike, mountain bike, foot, hike, truck, bus, motorcycle, ...\n * [Customization of these profiles](.\u002Fdocs\u002Fcore\u002Fprofiles.md#custom-profiles) are possible. Read about it [here](https:\u002F\u002Fwww.graphhopper.com\u002Fblog\u002F2020\u002F05\u002F31\u002Fexamples-for-customizable-routing\u002F).\n * Provides a powerful [web API](.\u002Fdocs\u002Fweb\u002Fapi-doc.md) that exposes the data from OpenStreetMap and allows customizing the vehicle profiles per request. With JavaScript and Java clients.\n * Provides [map matching](.\u002Fmap-matching) i.e. \"snap to road\".\n * Supports time-dependent public transit routing and reading [GTFS](.\u002Freader-gtfs\u002FREADME.md).\n * Offers turn instructions in more than 45 languages. Contribute or improve [here](.\u002Fdocs\u002Fcore\u002Ftranslations.md).\n * Displays and takes into account [elevation data](.\u002Fdocs\u002Fcore\u002Felevation.md).\n * Supports [alternative routes](https:\u002F\u002Fdiscuss.graphhopper.com\u002Ft\u002Falternative-routes\u002F424).\n * Supports [turn costs and restrictions](.\u002Fdocs\u002Fcore\u002Fturn-restrictions.md).\n * Offers country-specific routing via country rules.\n * Allows customizing routing behavior using custom areas.\n * Scales from small indoor-sized to world-wide-sized graphs.\n * Finds nearest point on street e.g. to get elevation or 'snap to road' or being used as spatial index (see [#1485](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fpull\u002F1485)).\n * Calculates isochrones and [shortest path trees](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fpull\u002F1577).\n * Shows the whole road network in the browser for debugging purposes (\"vector tile support\"), see [#1572](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fpull\u002F1572).\n * Shows so called \"path details\" along a route like road_class or max_speed, see [#1142](https:\u002F\u002Fgithub.com\u002Fgraphhopper\u002Fgraphhopper\u002Fpull\u002F1142) or the web documentation.\n * Written in Java and simple to start for developers via Maven.\n","GraphHopper 是一个基于OpenStreetMap的开源路由引擎，可作为Java库或独立Web服务器使用。它支持A*和Dijkstra算法进行路径查找，能够计算两点或多点之间的距离、时间及逐向导航指令，并提供诸如道路匹配、等时线分析等功能。该项目采用Apache License 2.0授权，具备高效处理能力和较低内存占用的特点。GraphHopper适合应用于需要精确路线规划的各种场景，包括但不限于移动导航应用开发、公共交通系统优化以及地理空间数据分析等领域。",2,"2026-06-11 02:59:29","top_language"]