Re: [OSRM-talk] OSRM does not use date restrictions in conditional access?

2020-10-13 Thread Daniel Patterson via OSRM-talk
Michael, You can pass the `--parse-conditionals-from-now` option to `osrm-contract`, and it will enable/disable access to `access:conditional` ways according to the timestamp you type in. Not so useful for time-of-day restrictions, but for longer time spanning restrictions, it should do the

Re: [OSRM-talk] OSRM does not use date restrictions in conditional access?

2020-10-13 Thread Richard Fairhurst
michael spreng wrote: > It currently does not. There is an update cycle of about 4 days. I think > such date ranges would make sense to use at the time of generation > (however day time ranges would still be ignored). But that is not yet > implemented as far as I know. It could be implemented in

Re: [OSRM-talk] OSRM does not use date restrictions in conditional access?

2020-10-13 Thread michael spreng
Hi Maarten It currently does not. There is an update cycle of about 4 days. I think such date ranges would make sense to use at the time of generation (however day time ranges would still be ignored). But that is not yet implemented as far as I know. It could be implemented in the lua profile, so

[OSRM-talk] OSRM does not use date restrictions in conditional access?

2020-10-13 Thread Maarten Deen
Conditional access rules for time and date restrictions follow the same syntax as opening hours rules, see https://wiki.openstreetmap.org/wiki/Conditional_restrictions#Condition I have way https://www.openstreetmap.org/way/96440420 with highway=cycleway+access:conditional=no @ (2019 Okt