<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><div><br></div><div>El 10 nov 2015, a las 09:57, Badita Florin <<a href="mailto:baditaflorin@gmail.com">baditaflorin@gmail.com</a>> escribió:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hello, i have a question, how do you tag the opening hours for a turn restriction that is activated only during a certain time of day or week.<div>Also, do you have an idea what software is using this attributies ?<br><div><br></div><div><a href="http://i.imgur.com/a1eBFoe.jpg">http://i.imgur.com/a1eBFoe.jpg</a><br></div><div><br></div><div>On the wiki the information is old and also deprecated</div></div><div><br></div><div><a href="http://wiki.openstreetmap.org/wiki/Relation:restriction">http://wiki.openstreetmap.org/wiki/Relation:restriction</a><br></div><div><br></div><div>It says about hour_on but on the wiki the tag is not valid. </div><div><br></div><div><a href="http://wiki.openstreetmap.org/wiki/Key:hour_on">http://wiki.openstreetmap.org/wiki/Key:hour_on</a></div><div><br></div><div>Should i use the <a href="http://wiki.openstreetmap.org/wiki/Key:opening_hours">http://wiki.openstreetmap.org/wiki/Key:opening_hours</a> tag, as recomented ?</div><div><br></div><div>My fear is that i will add a restriction, and all of the apps that does not parse the opening hours will use this as a default , and will make this restriction permanent, producing maybe more damage then not adding the restriction at all </div></div></div></blockquote><br><div>I don't know what the correct tag is, and the wiki is inconsistent about it. It says hour_on is deprecated in favor of opening_hours and conditional restrictions, but the Conditional restrictions page says nothing about turn restrictions, and the turn restrictions page says you should use hour_on...</div><div><br></div><div>But as far as I know there is no OSM routing engine that supports conditional restrictions yet, whatever the tag. It's not an easy problem, especially since the algorithm has to consider if the restriction applies at the time the user would arrive to that point, rather than at the time he asks for the route at the beginning of the trip.</div></div><div><br></div><div>-- </div><div>Nicolás</div></body></html>