[OSM-newbies] Time restrictions

Dimitri Junker Dimitri.Junker at onlinehome.de
Sat Oct 20 18:32:54 BST 2007


Hi,

>This might be of help:
>http://wiki.openstreetmap.org/index.php/Key:access#Access_time_restriction
>s

I saw that before, but AFAIK you can add each tag only once, at least JOSM 
does not offers a tag a second time. But since there are two timeintervals 
when the street is closed, I would need two hour_on and two hour_off. And 
then scool holidays are still not included in the rule. Here in germany this 
kind of restrictions are rare, but in the US I saw quite some restrictions 
which aplied only on scooldays, but usualy speed limits.
One way to solve problems like this would be to allow tags to have an index.
So:
day_on=Monday
day_off=Friday
hour_on[1]=07:30
hour_off[1]=08:00
hour_on[2]=13:00
hour_off[2]=16:00

here day_on would be valid both for [1] and [2] Alternativly:
day_on[1]=Monday
day_off[1]=Friday
hour_on[1]=07:30
hour_off[1]=08:00
day_on[2]=Monday
day_off[2]=Friday
hour_on[2]=13:00
hour_off[2]=16:00

Scooldays are probably more complicated.




More information about the newbies mailing list