GraphHopper integration (Location, Developer Tools). Imported from open-connector.
https://graphhopper.com/api/1/route
| Param | Type | Required | Description |
|---|---|---|---|
| point | array | required | Route waypoints in `latitude,longitude` format. |
| profile | string | optional | The GraphHopper routing profile, such as `car`, `bike`, `foot`, or a custom pro… |
| locale | string | optional | The locale for turn instructions, such as `en`, `de`, or `fr`. |
| pointHint | array | optional | Optional road name hints for snapping each route waypoint. |
| snapPrevention | array | optional | Road types that should be avoided while snapping input points. |
| curbside | array | optional | Curbside preferences for each route waypoint. |
| details | array | optional | Path detail types to include in the route response. |
| optimize | boolean | optional | Whether GraphHopper should reorder more than two points to reduce travel time. |
| instructions | boolean | optional | Whether GraphHopper should return turn-by-turn instructions. |
| calcPoints | boolean | optional | Whether GraphHopper should calculate route geometry points. |
| pointsEncoded | boolean | optional | Whether GraphHopper should return encoded polyline geometry. |
| elevation | boolean | optional | Whether GraphHopper should include altitude as a third coordinate. |
| debug | boolean | optional | Whether GraphHopper should format debug output. |
| chDisable | boolean | optional | Whether to enable flexible mode for advanced routing options. |
| heading | array | optional | Preferred heading directions in degrees, north-based clockwise. |
| headingPenalty | integer | optional | The time penalty in seconds for not obeying heading. |
| passThrough | boolean | optional | Whether GraphHopper should avoid u-turns at via-points. |
| algorithm | string | optional | The special route algorithm to use. |
| roundTripDistance | integer | optional | The approximate round-trip length in meters. |
| roundTripSeed | integer | optional | The random seed used for deterministic round-trip results. |
| alternativeRouteMaxPaths | integer | optional | The maximum number of alternative routes. |
| alternativeRouteMaxWeightFactor | number | optional | The maximum factor by which alternative routes may be longer than the optimal r… |
| alternativeRouteMaxShareFactor | number | optional | The maximum similarity factor between an alternative route and the optimal rout… |
/geocode
| Param | Type | Required | Description |
|---|---|---|---|
| q | string | optional | The textual address or place query for forward geocoding. |
| point | string | optional | The `latitude,longitude` location bias for forward geocoding or target coordina… |
| reverse | boolean | optional | Whether to perform reverse geocoding. When true, point is required and q must b… |
| locale | string | optional | The locale used for localized geocoding results. |
| limit | integer | optional | The maximum number of geocoding results to return. |
| provider | string | optional | The GraphHopper geocoding provider, such as `default`, `nominatim`, `gisgraphy`… |
| debug | boolean | optional | Whether GraphHopper should format debug output. |
/matrix
| Param | Type | Required | Description |
|---|---|---|---|
| point | array | optional | Points in `latitude,longitude` format used as both origins and destinations. |
| fromPoint | array | optional | Origin points in `latitude,longitude` format. |
| toPoint | array | optional | Destination points in `latitude,longitude` format. |
| profile | string | optional | The GraphHopper routing profile, such as `car`, `bike`, `foot`, or a custom pro… |
| pointHint | array | optional | Hints for point entries. |
| fromPointHint | array | optional | Hints for origin points. |
| toPointHint | array | optional | Hints for destination points. |
| snapPrevention | array | optional | Road types that should be avoided while snapping matrix points. |
| curbside | array | optional | Curbside preferences for point entries. |
| fromCurbside | array | optional | Curbside preferences for origin points. |
| toCurbside | array | optional | Curbside preferences for destination points. |
| outArray | array | optional | Matrix arrays to include in the response. |
| failFast | boolean | optional | Whether GraphHopper should fail immediately when points cannot be resolved. |
/isochrone
| Param | Type | Required | Description |
|---|---|---|---|
| point | string | required | A coordinate string in `latitude,longitude` format. |
| profile | string | optional | The GraphHopper routing profile, such as `car`, `bike`, `foot`, or a custom pro… |
| timeLimit | integer | optional | The travel time limit in seconds. |
| distanceLimit | integer | optional | The travel distance limit in meters. |
| buckets | integer | optional | The number of nested isochrone buckets to return. |
| reverseFlow | boolean | optional | Whether the flow should go from polygons toward the point. |
/profiles