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 a request parameter called ignorePartTimeRestrictions #299

Open mraross opened 3 years ago

mraross commented 3 years ago

Add support for a request parameter called &ignorePartTimeRestrictions that determines whether or not to ignore turn-restrictions and road restrictions that don't apply to the entire &travelTimePeriod when computing best route. Ignored restrictions should still generate warning notices in the turn-by-turn directions. If &ignorePartTimeRestrictions is set to false, a start date and time need not be provided and if not provided, router should return a departurePeriod that reflects the time period in which travel can be started so that it finishes within the &travelTimePeriod.

[LS003]