Opening_hours in Switzerland

There is a fairly new report for opening_hours (announcement) available for Switzerland:

There is also a report for Liechtenstein (currently all ok).

The report checks if the hours are consistent with Key:opening_hours. It also does it for service_hours and collection_times (keys that also accept points in time, not just time periods).

The reports show when the feature was last edited. Personally, I find that for recently edited features (<1 year), one can just fix the syntax, for older one should try to check if the feature still exists, etc. I left defibrillators (identified by an icon in the list) to specialized editors.

A frequent issue in the report is that 8:00 needs a leading zero: 08:00. For service_times and collection_times this may not be determined easily.

The main issue that came up for Switzerland is how to tag hours for winter/summer. In the OSM’s opening hours syntax, winter and summer are not keywords, so it it needs to be included as string with quotes. Sample:

  • Mo-Fr 12:00-14:00 "winter"

    In winter, open during weekdays at lunch. If the time period of winter season is defined (months, month-day, dates, week numbers, etc), it’s preferable to use that instead.

The report doesn’t list any hours that might just be outdated. There is a bug in the module the report uses for Easter-based calculations, but that should disappear in the next update.

1 Like