Re: [Tagging] time-conditioned turn restriction

2015-11-11 Thread Lauri Kytömaa
Martijn van Exel wrote:
> type=restriction;restriction=no_left_turn; no_left_turn:conditional=no @
> (Mo-Fr 06:00-09:00,16:00-19:00)
>
> Is this the preferred way? Should it be?


type=restriction
restriction:conditional=no_left_turn @ (Mo-Fr 06:00-09:00,16:00-19:00)

There's also a mention of "none" for conditional restrictions (the format,
not turn restrictions), so a possibly better way to encode this would be

type=restriction
restriction=no_left_turn  (error on the side of caution, if times aren't parsed)
restriction:conditional=none @ (Mo-Fr 09:00-16:00, 19:00-06:00; Sa-Su 24h)


-- 
alv

___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging


[Tagging] time-conditioned turn restriction

2015-11-10 Thread Martijn van Exel
Looking at the pages for turn restrictions and conditional restrictions, I
gather that you would map a left turn restriction that is only valid
between 6am and 9am and again between 4pm and 7pm as:

type=restriction;restriction=no_left_turn; no_left_turn:conditional=no @
(Mo-Fr 06:00-19:00,16:00-19:00)

Is this the preferred way? Should it be?

Martijn
___
Tagging mailing list
Tagging@openstreetmap.org
https://lists.openstreetmap.org/listinfo/tagging