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's gravatar image

frankthetankk
1067712
accept rate: 0%

edited 02 Jun '14, 09:25

1

What's "6:00AM - 6:00AM" supposed to mean? Opened until the next day? Or just for 60 seconds? :)

(02 Jun '14, 09:57) scai ♦

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:

Mo-Th 06:00-01:00; Su 06:00-01:00

Alternatively you could just specify the opening hours for each day separately. It will look more complicated but means exactly the same:

Mo-Th 00:00-01:00,06:00-24:00; Fr 00:00-01:00; Su 06:00-24:00

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.

permanent link

answered 02 Jun '14, 10:17

scai's gravatar image

scai ♦
31.2k18281436
accept rate: 23%

edited 02 Jun '14, 10:18

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 ♦

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:

Mo-Su 00:00-01:00,18:00-24:00; Fr,Sa 00:00-24:00

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.

permanent link

answered 02 Jun '14, 10:23

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.0k16147244
accept rate: 19%

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

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.

permanent link

answered 02 Jun '14, 22:44

frankthetankk's gravatar image

frankthetankk
1067712
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×23

question asked: 02 Jun '14, 09:24

question was seen: 1,632 times

last updated: 03 Jun '14, 07:52

powered by OSQA