Re: [OSM-talk] opening_hours for turn restriction

2015-11-11 Thread Robin `ypid` Schneider
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Good evening,

On 10.11.2015 14:36, Nicolás Alvarez wrote:
>> El 10 nov 2015, a las 09:57, Badita Florin 
>> escribió:
>> 
>> 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. 
>> Also, do you have an idea what software is using this attributies ?
>> 
>> http://i.imgur.com/a1eBFoe.jpg
>> 
>> On the wiki the information is old and also deprecated
>> 
>> http://wiki.openstreetmap.org/wiki/Relation:restriction
>> 
>> It says about hour_on but on the wiki the tag is not valid.
>> 
>> http://wiki.openstreetmap.org/wiki/Key:hour_on
>> 
>> Should i use the http://wiki.openstreetmap.org/wiki/Key:opening_hours
>> tag, as recomented ?
>> 
>> 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
> 
> 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...
> 
> 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.

How about:

restriction:conditional=no_left_turn @ (Mo-Fr 06:30-21:30)

The key restriction:conditional is currently used 61 times.
https://taginfo.openstreetmap.org/keys/restriction%3Aconditional#overview

- -- 
Live long and prosper
Robin Schneider
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJWQ34KAAoJEIb9mAu/GkD4SlkQAJKghMA3tA4/y3bqYAVRzHlX
OqgTvVmc/rR9q7PhMLWt2H7NGbAKtwbAr1I1YN4LO6jTtcvL2cBzk3nO0HfUMEIa
3TCW+itHL+pHXRVti+Q4dSnG94S3H2DG0VP+3r/Fgpk2PZituXUYV+ylD8yNpge1
brO79BvajIFj2esqlR0VZmFJnnJLTqbNag5E/daUcN9gRr8N/SFtJM5JwDVGQaRO
nQkodjYq/9H27dofyv/6nT6BJ/F9jyCuP9DfnrmmSP2bbuyLkhd8LdX75Kix2DnK
hDF0+kbDBLCUXrUhc2xiX0XUOHmqLFVPc/GFcuo1+IbYXJJnXZaUNjG8jOg6ufwN
9Vjvtj5r5ZVy2smNFGbxpvHWUcwJp7pHPWwl51NasZYLZj31GXFrUVl2g33YW10w
3n9nTQV1hnzPPzRZKrcSHrr7fXkpU6SCt/u83CUoh7RkpASqhMsmuaTyP5Kse4EC
sLW6oywI4cN+jJ5SevI1bs4x/uGETb4wjW3ALHpdc3UHlH9i7fAj8MlMGa95aXJq
hy8NK6y3f03UCqv+6qzKTtaq8E04EKbHbsYjt5mtUAZwiXVZfB6K0p6BDX6fi8Yb
B1zWspGjzlewvTj6a4I3b9hRPAGxkh+m46kJA2wk3d4RKDZiHYu/CVBZSdmgvH5Y
1bBFMScyPnlihBPxhbH4
=1jMD
-END PGP SIGNATURE-

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


[OSM-talk] opening_hours for turn restriction

2015-11-10 Thread Badita Florin
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.
Also, do you have an idea what software is using this attributies ?

http://i.imgur.com/a1eBFoe.jpg

On the wiki the information is old and also deprecated

http://wiki.openstreetmap.org/wiki/Relation:restriction

It says about hour_on but on the wiki the tag is not valid.

http://wiki.openstreetmap.org/wiki/Key:hour_on

Should i use the http://wiki.openstreetmap.org/wiki/Key:opening_hours tag,
as recomented ?

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

Thanks
Florin
ᐧ
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] opening_hours for turn restriction

2015-11-10 Thread Nicolás Alvarez

> El 10 nov 2015, a las 09:57, Badita Florin  escribió:
> 
> 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.
> Also, do you have an idea what software is using this attributies ?
> 
> http://i.imgur.com/a1eBFoe.jpg
> 
> On the wiki the information is old and also deprecated
> 
> http://wiki.openstreetmap.org/wiki/Relation:restriction
> 
> It says about hour_on but on the wiki the tag is not valid. 
> 
> http://wiki.openstreetmap.org/wiki/Key:hour_on
> 
> Should i use the http://wiki.openstreetmap.org/wiki/Key:opening_hours tag, as 
> recomented ?
> 
> 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 

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...

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.

-- 
Nicolás___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk