[OSM-talk] Revisit hour_on/hour_off? [tagging]

Andrew Chadwick (mailing lists) andrewc-email-lists at piffle.org
Tue Nov 4 19:47:12 GMT 2008


It is currently possible to set up access restrictions[1], and then use 
hour_on, day_on and date_on and their *_off equivalents to state that 
the "access closure" is lifted at some times. I take this as meaning 
that all normally restricted traffic is permitted as if it were 
foo_access=yes between say hour_off and hour_on.

Near where I live, there is a street that is motorcar=no|bicycle=no for 
most of the day, but which lifts its bicycle=no restriction *but not* 
its motorcar=no restriction between 18:00-07:00 approx. This is 
signposted, but cannot be tagged in the current scheme.

I know that 
http://wiki.openstreetmap.org/index.php/Proposed_features/Access_restrictions 
  and 
http://wiki.openstreetmap.org/index.php/Proposed_features/access:_name_space 
have mentioned this drawback with the existing scheme, but these 
proposals are enormous lumbering affairs that try to replace the entire 
access tagging scheme, and which are in competition with each other for 
resources. It's like watching dinosaurs or something.


The small egg-stealing proto-mammal in me has an itch it wants to 
scratch *right now*, so what do people feel about

   motorcar:hour_off
   motorcar:hour_on

or in other words

   <mode>:<period>_{on|off}

with logic like a global access=foo being overridden by more specific 
cases like motorcar=bar? In other words, patterned after the current 
scheme; a global hour_on would be overridden by a more specific 
motorcar:hour_on.



[1] http://wiki.openstreetmap.org/index.php/Key:access

-- 
Andrew Chadwick




More information about the talk mailing list