bcgov / ols-router

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

Display directions notes of time-dependent turn restrictions when operating in non time-dependent mode. #310

Open gleeming opened 3 years ago

gleeming commented 3 years ago

Users may have specific reasons for generating routes based on a non time-dependent mode, such as for use in permits when the departure time is not known. In those cases it could be a useful option to add notices in the directions to identify turns that have time-dependent restrictions.

An example would be a route from Downham Pl, Saanich, BC to Davis Crt, Saanich, BC. With this enhancement in non time-dependent mode, the directions could be something like Head east on Downham Pl for 70 m (7 seconds) Turn left onto Blenkinsop Rd for 65 m (15 seconds) Turn left onto Cedar Hill Cross Rd for 150 m (12 seconds) This turn is not permitted on Monday through Friday between 4:00pm and 6:00pm Turn left onto Davis Crt for 40 m (6 seconds)

This is similar to the directions detail concept that already exists for TransLink truck notices such as "Limited Use Truck Route; Trucks are allowed between 6:00 am - 10:00 pm (Monday to Friday) and 8:00 am - 5:00 pm (Saturday); Trucks are not allowed on Sundays and Statutory Holidays".