bcgov / ols-router

BC Advanced Route Planner
https://bcgov.github.io/ols-router/
Apache License 2.0
23 stars 11 forks source link

Add support for timed notifications #295

Closed mraross closed 1 year ago

mraross commented 3 years ago

A timed notification is a notice that has an effective time period. During this period, the notice should be displayed on the appropriate leg of the best route in turn-by-turn directions. A notification doesn't affect the computation of best route. This is required by TransLink. Notifications sourced from a road restriction data service need to support a notificationOnly flag for the route planner to know that a road restriction is simply a notice and should not be used to affect best route.

cmhodgson commented 3 years ago

This feature has been implemented at Translink's request. It has not yet been committed but is only 6 lines of straightforward code that can only effect the truck notice handling.