I would like to know how to tag this opening hours by using this tool http://openingh.openstreetmap.de/evaluation_tool/ . I don't know how to successful tag it with all the ending hours of the week ending at 01:00 in the morning. Thanks MONDAY: 6:00AM - 1:00AM TUESDAY: 6:00AM - 1:00AM WEDNESDAY: 6:00AM - 1:00AM THURSDAY: 6:00AM - 1:00AM FRIDAY: 6:00AM - 6:00AM SATURDAY: 6:00AM - 6:00AM SUNDAY: 6:00AM - 1:00AM asked 02 Jun '14, 09:24 frankthetankk |
Mo-Fr 00:00-01:00,06:00-24:00; Sa,Su 00:00-24:00 I figured out the correct opening hours on my own from using the OpeningHoursEditor. answered 02 Jun '14, 22:44 frankthetankk |
Past midnight, it's the next day. So add the 0-1am section in the next day. You can have multiple sections per day. This is explained in the wiki. Assuming you mean that this POI is open 24h on friday and saturday, it gives:
You may find the josm plugin easyer to use than this webpage. As a side note, avoid using the 12h format unless you absolutely need to. It's confusing. answered 02 Jun '14, 10:23 Vincent de P... ♦ Thanks for trying to help. Your code didn't work out the way I asked in the question above.
(02 Jun '14, 22:42)
frankthetankk
|
For now I excluded your odd opening hours for Friday and Saturday. The opening hours specification states: "If the second time is earlier then the first one, it is assumed to be on the next day.". Therefore specifying a time range which includes the next day is perfectly valid:
Alternatively you could just specify the opening hours for each day separately. It will look more complicated but means exactly the same:
There is also a nice plugin for JOSM: OpeningHoursEditor. It makes editing opening hours quite easy. But always double-check the result, there are some bugs and it doesn't support the whole opening hours specification. Also see the opening hours evaluation tool. answered 02 Jun '14, 10:17 scai ♦ Thanks for trying to help. I already linked the opening hours evaluation tool above and was having problems getting the correct outcome. Plus you left out Saturday. Your code didn't seem to work out.
(02 Jun '14, 22:41)
frankthetankk
I left out Friday and Saturday because 6:00AM - 6:00AM didn't make any sense to me and you didn't react to my comment asking about clarification.
(03 Jun '14, 07:51)
scai ♦
|
What's "6:00AM - 6:00AM" supposed to mean? Opened until the next day? Or just for 60 seconds? :)