Zh-hant:Key:opening hours/Tutorial

From OpenStreetMap Wiki
Jump to navigation Jump to search

這個是一個簡單教學,教你如何設定開門/營業時間。


最簡單

Image demonstrating to use a hyphen to separate the first and last weekday in the range, a space between the day range and the time interval, and noting that a leading zero is mandatory.

  • 你須要用以下英文縮寫來代表星期幾:
縮寫 星期
Mo 星期一
Tu 星期二
We 星期三
Th 星期四
Fr 星期五
Sa 星期六
Su 星期日


Multiple opening intervals

Zh-hant:Key:opening hours/Tutorial/Example

  • Add the two time intervals in which they are open, separated by a comma (,).


Multiple days

Zh-hant:Key:opening hours/Tutorial/Example

  • Add the opening hours for each day range, separated by a semicolon and space (; ).


Closed on holidays

Zh-hant:Key:opening hours/Tutorial/Example

  • Use PH as if it were a weekday. Instead of hours, use off to say they're closed all day.
  • Use SH for school holidays. Although this is rare, you can also use both PH and SH on the same object, e.g. opening_hours=Mo-Fr 08:00-12:00,13:00-17:30; Sa 08:00-12:00; PH off; SH off


(optional reading) Different hours on holidays

Zh-hant:Key:opening hours/Tutorial/Example

  • As said before, PH is just like a weekday. Because it is to the right of the rest of the rules, it overwrites them. For more information on which rules take precedence, see this more elaborate guide.

Further reading

Read the time domains specification if you want to learn how to tag more difficult cases, and also other time-related properties such as the collection times of a post box.

You can also read Key:opening_hours on the usage of opening_hours specifically.

Warning: Default sort key "opening_hours/Tutorial" overrides earlier default sort key "Key:opening hours/Tutorial".