Proposal:Time restricted tags: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
Content deleted Content added
Driver2 (talk | contribs)
Dieterdreist (talk | contribs)
Line 23: Line 23:
* {{Tag|amenity|parking}}
* {{Tag|amenity|parking}}
* {{Tag|fee|yes}}
* {{Tag|fee|yes}}
* {{Tag|fee.time|Mo-So 07:00-20:00}}
* {{Tag|fee.time|Mo-Su 07:00-20:00}}


A residential street that is closed for cars on weekends (except destination traffic).
A residential street that is closed for cars on weekends (except destination traffic).
* {{Tag|highway|residential}}
* {{Tag|highway|residential}}
* {{Tag|motorcar|destination}}
* {{Tag|motorcar|destination}}
* {{Tag|motorcar.time|Sa-So 00:00-24:00}}
* {{Tag|motorcar.time|Sa-Su 00:00-24:00}}


==Comments==
==Comments==

Revision as of 14:07, 9 June 2009

Time restricted tags
Proposal status: Draft (under way)
Proposed by: Driver2
Tagging: tag.time=specified time
Applies to: Tags
Definition: Restricts a given tag to a certain time
Statistics:

Rendered as: *
Draft started:
Proposed on: *
RFC start: *
Vote start: *
Vote end: *

Summary

There are day_on=*, day_off=* etc. tags, but they are not flexible enough. Firstly they only turn on/off general access and secondly they only allow a single combination of days and hours. The syntax used for opening_hours=* appears to be much more suitable for this. Also there is no way to make single tags only active during a specified time.

Of course this is only for simple cases. Advanced access-restrictions or something like that probably need a more complex syntax or technique, as it is being developed on the Access restrictions proposal.

Tagging

  • key=value (any key=value combination)
  • key.time=time (specify the time in that the key=value combination above will apply)

It should probably be defined for what tags you should expect a time-parameter, since users of the data would have to check for it's existence all the time. Else there could be misunderstandings, like assuming a road is closed all the time, while it is only once a year. (Maybe there is a better solution for that?)

Examples

A time restricted parking area, but only on workdays from 8:00 to 18:00.

A parking area with a fee, that allows free parking at night.

A residential street that is closed for cars on weekends (except destination traffic).

Comments

Please use the talk page for discussion.