Key:collection_times
|
Specifies when (e.g.) the post box is emptied resp. the letters are collected. Syntax is same as for opening_hours=*. This approved features deprecates original proposal called "emptying_times".
Properties
Used combinations in
|
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.
Contents |
How to Map
This is a property tag so it must go with a related tag e.g.
See examples below or opening_hours for syntax.
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.
Key extension
In some places, specific collections occur and apply to mail only which is destined for local distribution. They can be tagged separately using the ":local" extension.
collection_times:local=*
Additional extensions may be added based on 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' v='Mo'/> <tag k='operator' v='Wall-E Services'/> </node>
All week days have to be in English: Mo, Tu, We, Th, Fr, Sa, Su.
Images
- The collection times in the German example can be tagged as collection_times=Mo-Fr 15:00,18:00,19:00,23:00; Sa 15:00; Su 10:30,23:00
- The collection times in the British example can be tagged as collection_times=Mo-Fr 17:30; Sa 12:00; Su 13:00
- The collection times in the American example can be tagged as collection_times=Mo-Fr 12:00,17:00; Sa 12:30
- The collection times in the Belarus example can be tagged as collection_times=Mo 11:20,14:00; Tu-Fr 12:20,14:20; Sa 14:20
- The collection times in the Italian example can be tagged as collection_times=Mo-Sa 12:00
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.
Code
PHP Code to parse opening_hours
See also
- Key:opening_hours - Opening hours and time syntax definition
- Key:access - time restrictions
- lit - Artificial light sources
- Proposed_features/collection_times - Proposal and approbation page