Лагатып OpenStreetMap OpenStreetMap

Fixing opening_hours

Апублікавана карыстальнікам HubMiner 18 Красавік 2019 на мове English

Here is regular-expression based OverPass query for finding some of the broken opening_hours values:
opening_hours~/(mon|tue|wed|thu|fri|sat|sun |sund)/i
http://overpass-turbo.eu/s/I3I
Does anyone know how to propose adding this to existing error checkers?

Hint if you are trying to fix in semi-batch mode: copy/paste the bad value to opening_hours evaluation tool and it will do a partial correction for you.

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Абмеркаванне

Каментар ад Kazing у 18 Красавік 2019 у 07:30

Hello,

The quality assurance tool “Osmose” can detect this type of error. This tool can also propose a correction and include a small tags editor to correct the errors.

You have to select the “opening hours” error type in the left menu; here is a link that shows the “opening_hours” errors in the US : https://osmose.openstreetmap.fr/en/map/?#zoom=9&lat=38.832&lon=-77.263&item=3250

Каментар ад LeifRasmussen у 22 Красавік 2019 у 19:38

The JOSM validator also finds invalid syntax - you can just download all objects in an area that have opening hours, and then use the validator window to find invalid ones. Overpass download in JOSM lets you only download the objects you want. It is available if you turn on expert mode

Каментар ад HubMiner у 4 Травень 2019 у 03:27

Both comments were helpful, thank you! I especially liked Osmose based approach as it allows to scan for problem without pre-loading anything, plus it gives suggestions for some of the bad data, and finally, it lets you edit right in the web tool.

Увайсці каб пакінуць каментар