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
Constructions should be avoided and assuming a daily re-import we should recognize the conditional tag including the date format defined in opening_hours.
First major part is implemented already in #621. Still missing:
So tagging the access with the 'conditional' trick seems to be done not that often. Only maxspeed:conditional is rather often (44K), access:conditional and vehicle:conditional combined is only 10K. So I vote to implement only these 3 schemes for now and only if they contain dates, not only times. Hourly imports are possible but not often done in practise, at least not now.
Activity
[-]Recognize conditional dates[/-][+]Recognize conditional restrictions[/+]karussell commentedon Jul 28, 2015
@matkoniecz do you have a real world example for conditional restrictions used for constructions?
karussell commentedon Jul 28, 2015
So tagging the access with the 'conditional' trick seems to be done not that often. Only maxspeed:conditional is rather often (44K), access:conditional and vehicle:conditional combined is only 10K. So I vote to implement only these 3 schemes for now and only if they contain dates, not only times. Hourly imports are possible but not often done in practise, at least not now.
implemented condition parsing for restrictions, #374
karussell commentedon Jul 28, 2015
I've created the date parsing logic in a separate branch but still will postpone this. Also see this project for a more generic opening hours parser
karussell commentedon Jan 1, 2016
The PR by @boldtrn will be soon merged.
Should we support 'pure' opening hours too? Is this tagging schema kind of official for nodes? http://www.openstreetmap.org/node/2519644036
Implemented conditional parsing if duration larger than 2 days, #621 …
boldtrn commentedon May 20, 2016
We should definitely add the conditional access check for barriers. Here is a great example: https://graphhopper.com/maps/?point=46.491848%2C10.362371&point=46.49173%2C10.362607&locale=de-DE&vehicle=car&weighting=fastest&elevation=true&layer=Omniscale
The gate can be found here: http://www.openstreetmap.org/node/2689473341
´access:conditional no @ (Oct-Apr)´
reduce logging as we cannot parse times yet, #374
less logging for #374
boldtrn commentedon Jan 10, 2018
Another case that would be nice to support is parsing of weeks like:
no @ week 1-5An example way that uses this tagging scheme can be found here.
mmuelder commentedon Mar 2, 2018
are time (not date) based conditional restrictions supported yet?
access:conditional=no @ (09:00-17:00);would be nice
boldtrn commentedon Mar 4, 2018
No, this is not possible yet.