User:Broiledpeas/Sandbox
This page offers a variety of examples categorized by complexity and timeframes, helping contributors understand how to tag opening hours.
Time
Basic
opening_hours= 24/7
|
| Open all week and the whole day. |
Places that typically have these hours are, but not limited to, fast food restaurants, gas stations, hotels and ATM's.
opening_hours= 01:00-14:00
|
| Open everyday from 1:00 to 14:00 (1:00 AM - 2:00 PM) |
This is the basic.
opening_hours= 00:00-10:00, 12:00-14:00
|
| Open everyday but not between 10:00-12:00. |
Example usage: Employee lunch break, sanitation period, restocking period, and more.
Event
The following are the only valid events: dawn|sunrise|sunset|dusk
opening_hours= sunrise-sunset
|
| Open everyday from sunrise to sunset. |
Typically used in parks, beaches, campgrounds, temples, and etc.
Advanced
opening_hours= 10:00+
|
| Open everyday at 10, but no set closing time. |
Example usage: When a establishment (bars, nightclubs, coffee shops, etc.) closes when the last customer leaves.
opening_hours= dawn-sunset+
|
| Open everyday from dawn to sunset then stays open for any reason. |
Its recommended, but not necessary to add a comment for closing time like:
opening_hours= 01:00-sunset+ "Closes when event finishes."
|
| Open from 10:00 to 20:00, but closes when a event is finished. |
Note: Comments can be anything, there is no specific rule to them.
opening_hours= 01:00-12:00/60
|
| An event that happens every 60 minutes between 1:00 to 12:00 |
Usage example: Collection times of a post box or recycling container
This can also be written as:
opening_hours= 01:00-12:00/01:00
|
| An event that happens every hour between 1:00 to 12:00. |
opening_hours= (sunrise+02:00)-12:00
|
| Open everyday from 2 hours after sunrise to 12:00. |
Weekday
Remember that weekdays are abbreviated to 2 letters as follows:
| Abbr. | Day of week |
|---|---|
| Mo | Monday |
| Tu | Tuesday |
| We | Wednesday |
| Th | Thursday |
| Fr | Friday |
| Sa | Saturday |
| Su | Sunday |
Basic
opening_hours= Tu
|
| Is open every Tuesday the whole day. |
opening_hours= Mo-Th
|
| Is open the whole day from Monday to Thursday only. The other days are assumed closed. |
Alternatively you can do
opening_hours= Mo-Th open; Fr-Su closed
|
| Is open the whole day from Monday to Thursday only and from Friday to Sunday |
While its not needed, it can help other mappers understand that there is no missing information and that the hours are completely tagged.
opening_hours= Mo closed; We-Th open; Fr-Su closed
|
| Is open the whole day from Wednesday to Thursday only. The rest of the days are closed. |
With time
opening_hours= Sa [time]
|
| Open on monday from within user inputted time. |
This is the general format of the time a place is open for a specific weekday. In this case, Saturday.
opening_hours= Tu 10:00-12:00
|
| Is open from 10:00-12:00 on every Tuesday. The rest of the days are assumed closed. |
opening_hours= Mo closed; Tu-We 02:00-05:00; Th-Fr 03:00-05:00; Sa-Su open
|
| Monday is closed. Tuesday to Wednesday is open from 2:00-5:00. Thursday to Friday is open from 3:00-5:00. Saturday and Sunday is open the whole day. |
Here you can see multiple weekdays have different times, they are separated using the rule separator ";".
This is the most common tagging of poi's. As most of them don't have that much complex hour tagging.
Advanced
opening_hours= We[1]
|
| Open the whole day only for the first Wednesday of every month. |
opening_hours= We[-2]
|
| Open the whole day only for the second to last Wednesday of every month. |
opening_hours= We[1] 02:00-12:00; Sa-Su 02:00-12:00
|
| Open from the first Wednesday of every month. But, every Saturday and Sunday is open from 2:00-12:00. |
opening_hours= We[1] 011:00-12:00; We-Su 14:00-18:00
|
| For the first Wednesday of a month, the place is open from 11:00-12:00. For the rest of the month and weeks, its open 14:00-18:00 from Wednesday to Sunday. |