NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Is there away to use a conditional restrictions to indicated that a left turn can't be made from 7AM (07:00) to 9AM (09:00) or from 4PM (16:00) to 6PM (18:00) Monday through Friday? There's no documentation explaining how this can be done (other than saying that a conditional restrictions should be used for a time based turn restriction) so please don't just post a link to the wiki unless you've edited the wiki since I posed this.

Thank you

asked 16 Jan '16, 01:15

DTHG's gravatar image

DTHG
2216613
accept rate: 0%


The tagging would be something like restriction:conditional=no_left_turn @ (Mo-Fr 16:00-18:00).

It basically isn't used though:

http://taginfo.openstreetmap.org/keys/restriction%3Aconditional#overview

So it probably won't be utilized yet by data consumers.

permanent link

answered 16 Jan '16, 02:23

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

Thank you for your replay but I'm still not full sure about where should I put the tag "restriction:conditional=no_left_turn @ (Mo-Fr 07:00-09:00,16:00-18:00)"? Is attached to the relation for the turn restriction the way for the "from" highway, the node of the "via" intersection, the other way for the "to" highway, or some combination of those?

If that tag isn't going to be used by any of the navigation software should I try to use day_on/off and hour_on/off? like this? day_on=Monday and day_off=Friday and hour_on=07:00;16:00 and hour_off=09:00;18:00 The problem with hour_on is that it seems to only be looking for one start and one stop time otherwise I would have just used that in the first place since there is documentation for it. PS if you don't know or you're not sure it would be nice if you could say that

Thank you again Dan

(16 Jan '16, 03:13) DTHG

It goes on the relation, like the plain restriction tag.

It looks like there is somewhat more use of hour_on and friends, but only a few thousand, so they probably aren't getting used much either.

(16 Jan '16, 03:31) maxerickson

Using the taginfo link above and the Overpass Turbo button, I found this example, in case it helps: http://www.openstreetmap.org/relation/5315266

(16 Jan '16, 10:16) EdLoach ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×45
×29
×23
×19
×16

question asked: 16 Jan '16, 01:15

question was seen: 3,281 times

last updated: 16 Jan '16, 10:16

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum