Proposed features/collection times

From OpenStreetMap Wiki
Jump to: navigation, search
The Feature Page for the approved proposal Key:collection_times can be located at Key:collection_times.


collection_times
Status: Approved (active)
Proposed by: krza
Tagging: collection_times=*
Applies to: node
Definition: Specifies when (e.g.) the post box is emptied resp. the letters are collected. Syntax is same as for opening_hours=*. The original proposal was called "emptying_times" but during discussion it changed to "collection_times".
Rendered as: n/a
Draft start: 2008-12-11
RFC start: 2008-12-11
Vote start: 2009-01-11
Vote end: 2009-02-08


Contents

Rationale

Specifies when the amenity=post_box is emptied resp. the collection is done. The syntax is the same as for opening_hours=*, including the hyphen because there are post boxes which are emptied several (undefined) times or one (undefined) time in a certain time frame. This shall be covered also. See examples below.


Key extension

collection_times:type=*

Sometimes there are special (mostly late) collections which apply to mail only which is destined for local distribution (mostly within the city). They can be tagged separately using the ":local" extension (analogous to the localization of name=*).

Additional extensions may be added in the future based on separate proposals if necessary - e.g. to specify that the post box is used for internation mail only or something.


Usage Extension

In principle it would be possible to use this tag for other kinds of collections as well, e.g. amenity=recycling, because there's no logical link between collection_times=* and the post box or the recycling container from the database's perspective. The actual meaning results from the existence of a matching tag in the node, and there shouldn't be two of them in one node.

Such extension could lead to additional key expansions like :glass or :paper (see below for examples). But again: This proposal covers the :local extension for post boxes only. All additional enhancements should be discussed in further proposals.


In connection with


Examples

Post Box:

a) standard usage:
<node id='317572784' lat='50.9630365' lon='6.9527873' timestamp='2008-12-09T14:11:22Z'>
  <tag k='amenity' v='post_box'/>
  <tag k='collection_times' v='Mo-Fr 15:00,18:00,19:00,23:00; Sa 15:00; Su 10:30,23:00'/>
  <tag k='operator' v='Deutsche Post'/>
</node>
 
b) collection time frame and additional local collection:
<node id='317572784' lat='50.9630365' lon='6.9527873' timestamp='2008-12-09T14:11:22Z'>
  <tag k='amenity' v='post_box'/>
  <tag k='collection_times' v='Mo-Fr 09:00-12:00,17:00; Sa 14:00'/>
  <tag k='collection_times:local' v='Mo-Fr 23:00; Su 23:00'/>
  <tag k='operator' v='Deutsche Post'/>
</node>
Recycling Container:

a) suggestion of tagging
<node id='123' lat='123' lon='123' timestamp='2022-12-31T23:59:59Z'>
  <tag k='amenity' v='recycling'/>
  <tag k='collection_times:glass' v='Mo'/>
  <tag k='collection_times:paper' v='Th'/>
  <tag k='operator' v='Wall-E Services'/>
</node>

All week days have to be in English: Mo, Tu, We, Th, Fr, Sa, Su.


Images

Rendering

The collection_times=* tag is not rendered itself. It contains an additional information to a amenity=post_box node which is rendered as a letter symbol. It's not likely that the collection time is rendered in a map at all but it would be imaginable to have a modified symbol in case a valid collection time is sepcified - like a small dot on it or a different color or something.

The renderer/parser has a list of tags which a) use the collection_times information and b) have an according rendering action assigned. In case it finds a post_box for instance, it looks for the collection_times tag in the node, and if it finds one, it's used to ... do what ever.


Previous Discussions

I disagree this approach because it creates 3 tags and doesn't use the existing opening_hours syntax.
Base for this proposal.


Discussion

Please use the discussion page.


Voting

Voting has been finished. Result: Approved (see below). Thanks for your participation.

Personal tools
Namespaces
Variants
Actions
site
Toolbox