This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Correct tag for time-based turn restrictions?

1

Seems in the part of the world I've been focusing on in recent months, a pretty common turn restriction sign will say something like "NO LEFT TURN, 7am-7pm Mon-Sat, EXCEPT TRANSIT BUS". I get how to restrict this to modes other than mass transit, but how do I define the time restriction?

asked 11 Nov '13, 21:54

Baloo%20Uriza's gravatar image

Baloo Uriza
3.2k143061
accept rate: 9%


One Answer:

2

The wiki suggests day_on and day_off; though these lack some granularity you might be able to use them. Of more interest may be the section on the discussion page about conditional restrictions, although I suspect nothing will use such tagging.

answered 11 Nov '13, 22:44

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

1

Additionally to day_on and day_off there is also hour_on and hour_off if you need more granularity. Or just opening_hours as suggested somewhere else at the discussion page. But conditional restrictions allow to specify much complexer conditions.

(12 Nov '13, 07:15) scai ♦

Source code available on GitHub .