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
bidirectional a* routing with specified time (valhalla#2660)
* make it so that you can specify you want to use the same time for the whole route
* let bidirectional use the localtime without accounting for time travel
* lint away a gotch for future us
* move historical traffic customization into unit test helper function
* force triplegbuilder to name the algorithms used in making the leg
* more structure in tests
* add unit tests for algorithm selection
* try reorganizing test target common dependencies
* make just one test library target
* fix reach will port to another pr
* add traffic to the test, future proof time tracking in bidira* as per comments
* fix tests. still need lint
* tidy
* more tidy with one tidy skip
* satisfy clang on osx
* more overrides to make apple happy
* even more overrides to make apple happy
* even more overrides to make apple happy
* more lint
* cleanup items mention in review
* lint
* fix typos, hardened tests found a missing spot in bidira*
* tidy
* for older protobuf
* comment about how now timedep failover to bidira* is somewhat timedependent instead of completely time independent
* small cleanups for predicted speed decoding
* changelog entry
Co-authored-by: Daniel Paz-Soldan <[email protected]>
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -191,6 +191,7 @@
191
191
* CHANGED: Move turn_lane_direction helper to odin/util [#2675](https://github.com/valhalla/valhalla/pull/2675)
192
192
* ADDED: Add annotations to osrm response including speed limits, unit and sign conventions [#2668](https://github.com/valhalla/valhalla/pull/2668)
193
193
* ADDED: Added functions for predicted speeds encoding-decoding [#2674](https://github.com/valhalla/valhalla/pull/2674)
194
+
* ADDED: Time invariant routing via the bidirectional algorithm. This has the effect that when time dependent routes (arrive_by and depart_at) fall back to bidirectional due to length restrictions they will actually use the correct time of day for one of the search directions [#2660](https://github.com/valhalla/valhalla/pull/2660)
Copy file name to clipboardexpand all lines: docs/api/turn-by-turn/api-reference.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -267,7 +267,7 @@ A multimodal request with a filter for certain Onestop IDs:
267
267
| Options | Description |
268
268
| :------------------ | :----------- |
269
269
|`avoid_locations`| A set of locations to exclude or avoid within a route can be specified using a JSON array of avoid_locations. The avoid_locations have the same format as the locations list. At a minimum each avoid location must include latitude and longitude. The avoid_locations are mapped to the closest road or roads and these roads are excluded from the route path computation.|
270
-
|`date_time`| This is the local date and time at the location.<ul><li>`type`<ul><li>0 - Current departure time.</li><li>1 - Specified departure time</li><li>2 - Specified arrival time. Not yet implemented for multimodal costing method.</li></ul></li><li>`value` - the date and time is specified in ISO 8601 format (YYYY-MM-DDThh:mm) in the local time zone of departure or arrival. For example "2016-07-03T08:06"</li></ul><ul><b>NOTE: This option is not supported for Valhalla's matrix service.</b><ul> |
270
+
|`date_time`| This is the local date and time at the location.<ul><li>`type`<ul><li>0 - Current departure time.</li><li>1 - Specified departure time</li><li>2 - Specified arrival time. Not yet implemented for multimodal costing method.</li></li>3 - Invariant specified time. Time does not vary over the course of the path. Not implemented for multimodal or bike share routing</li></ul></li><li>`value` - the date and time is specified in ISO 8601 format (YYYY-MM-DDThh:mm) in the local time zone of departure or arrival. For example "2016-07-03T08:06"</li></ul><ul><b>NOTE: This option is not supported for Valhalla's matrix service.</b><ul> |
271
271
|`out_format`| Output format. If no `out_format` is specified, JSON is returned. Future work includes PBF (protocol buffer) support. |
272
272
|`id`| Name your route request. If `id` is specified, the naming will be sent thru to the response. |
273
273
|`linear_references`| When present and `true`, the successful `route` response will include a key `linear_references`. Its value is an array of base64-encoded [OpenLR location references][openlr], one for each graph edge of the road network matched by the input trace. |
0 commit comments