You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allows setting initial heading for round trips via GHRequest. (graphhopper#1158)
* Allows setting the initial heading for round trips via GHRequest.
* Makes use of a constant for the round trip points ghRequest hint.
* Adds a unit test for finding round trip stage points and calculating the paths.
* Removes RoundTrip.HEADING
* Removes unnecessary check of favoredHeadings list size.
Copy file name to clipboardExpand all lines: docs/web/api-doc.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ weighting | `fastest` | Which kind of 'best' route calculation you need.
58
58
edge_traversal |`false` | Use `true` if you want to consider turn restrictions for bike and motor vehicles. Keep in mind that the response time is roughly 2 times slower.
59
59
algorithm |`astarbi` | The algorithm to calculate the route. Other options are `dijkstra`, `astar`, `astarbi`, `alternative_route` and `round_trip`
60
60
block_area | - | Block road access via a point with the format `latitude,longitude` or an area defined by a circle `lat,lon,radius` or a rectangle `lat1,lon1,lat2,lon2`. Separate multiple areas with a semicolon `;`.
61
-
heading | NaN | Favour a heading direction for a certain point. Specify either one heading for the start point or as many as there are points. In this case headings are associated by their order to the specific points. Headings are given as north based clockwise angle between 0 and 360 degree. This parameter also influences the tour generated with `algorithm=round_trip` and force the initial direction.
61
+
heading | NaN | Favour a heading direction for a certain point. Specify either one heading for the start point or as many as there are points. In this case headings are associated by their order to the specific points. Headings are given as north based clockwise angle between 0 and 360 degree. This parameter also influences the tour generated with `algorithm=round_trip` and forces the initial direction.
62
62
heading_penalty | 120 | Penalty for omitting a specified heading. The penalty corresponds to the accepted time delay in seconds in comparison to the route without a heading.
63
63
pass_through | `false` | If `true` u-turns are avoided at via-points with regard to the `heading_penalty`.
64
64
round_trip.distance | 10000 | If `algorithm=round_trip` this parameter configures approximative length of the resulting round trip
0 commit comments