External Publication
Visit Post

Very fast way to create opening hours for OSM with LLM's

did:plc:4tuge3k3comfj4nfvqnwkemn March 5, 2026
Source

Until recently, I mainly used the opening_hours evaluation tool to quickly generate valid OSM opening hours. However, it often requires some manual work to simplify the syntax afterwards.

That’s why I tried using ChatGPT instead - and it works surprisingly well. You can simply copy and paste opening hours from websites, or even upload an image, and ask it to format them for the opening_hours tag.

Example

LLM query

please format the opening hours in the attached image for the OSM 'opening_hours' tag.

Output

Mo 13:00-18:00; Tu-Th 09:30-18:00; Fr 09:30-21:00; Sa 09:00-17:00; Su off

This is a rather simple example, but it also works well with more complex opening hours.

Discussion in the ATmosphere

Loading comments...