[Tagging] opening-hours: how to code "always but..."? Syntax diagram.

André Pirard A.Pirard.Papou at gmail.com
Tue Oct 22 01:52:48 UTC 2013

On 2013-10-21 19:07, Eckhart Wörner wrote :
> Hi André,
> Am Sonntag, 20. Oktober 2013, 19:19:35 schrieb André Pirard:
>> No, that is completely wrong. 24/7 is *not* meant to be used as a building block.
>> Where is that explained and is it correctly explained if readers understand it "completely wrong"?
> The wiki states "If it is 24 hours 7 days a week [opening_hours] has a specific value: 24/7. this way it can render a specific icon."

I had understood that 24/7 doesn't allow exceptions and I wrote my
diagram accordingly. Someone said it can (in the quote that you
removed), nobody denied that so I changed my diagram accordingly. And
then I was told that *I am* completely wrong instead of that I was right.

>> IMHO, the first thing in this discussion is to define what "off" means.
> The first thing in this discussion is to *grasp* the meaning of "off", not *define* it. "off" has been in use for quite some time already.
> http://wiki.openstreetmap.org/wiki/Proposed_features/Time_domains explains quite well how the overall opening_hours syntax works.
A precise definition is always needed, especially when different people
are "grasping" differently, especially to the point of saying that "off"
is optional and 24/7 a building block.  You may notice that, precisely,
"off" overrides what is preceding it and not what is following it.
The definitions need to be where they're needed, not in other documents
or in people's head.
You're absolutely right that "Time domain" explanation is quite well. 
The only problem is that it should be at the beginning of
Key_opening_hours but that the latter does not even link to it. I have
added a sentence to draw the reader's attention on two key documents I
was lucky to find before he tackles decoding this one.
Fuzzy rules are unfortunately a spread disease of OSM, especially
traffic rules tags sending cars where they shouldn't go or
pedestrians/bicycles on a needless 3 km detour. I'm having a hard,
disappointing time with that.
Computers using tags do not "grasp".  They follow well defined rules.
I hope that the JOSM/Plugins/OpeningHoursEditor
<http://wiki.openstreetmap.org/wiki/JOSM/Plugins/OpeningHoursEditor> bug
will be corrected and that it will be improved because it's what taggers
jump on instead of reading (nice making a button to switch between
adding and subtracting mode).
I hope that my fast-to-read diagram will be appreciated.
I have to move on to those other concerns now.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20131022/f2ac8919/attachment.html>

More information about the Tagging mailing list