On 2015-05-15 10:09, Robin `ypid` Schneider wrote : > On 14.05.2015 23:17, André Pirard wrote: >> On 2015-05-13 16:49, Robin `ypid` Schneider wrote : >>> Hi >>> >>> This can already be done, no problem. It is even described on the key page >>> [1]. >>> Just search for "on appointment". >> Typical of that page, you discover "on appointment" by chance in an >> example dealing with fallback. >> I have read that page throughout 36 times, that's what one must do for >> each question. >> And you make me discover a very fundamental rule I didn't notice after >> 36 readings: that the tokens can be literal strings. And I wonder how >> software supposed to tell whether it's open can understand strings. >> Thanks. > Software is not supposed to evaluate comments in opening_hours (although there > has been an discussion about this [2]). I just added an explanation for the > use > of comments [3]. I hope this helps. The amazing is that I was told that opening_hours supports (just search) "on appointment" and that after coding it I learn that what I have added is a comment. And that the "fallback" '|| "on appointment" ' would in fact be '||'. > About the complexity: > https://www.openstreetmap.org/user/mvexel/diary/23332#comment27468 > You are welcome to write good documentation/tutorials for normal mappers. It's far from the first time that I read "if you don't understand, write the documentation". On the other hand, I did write a simplified syntax <https://wiki.openstreetmap.org/wiki/Key:opening_hours#Simplified_syntax> of what I think I understand and which was applauded by the "normal mappers" but someone had removed it and almost insulted me for doing that. > The thing which really helped me to understand opening_hours in OSM was the > syntax specification [4]. I would recommend everyone to try to wrap your head > around it. > > [2]: > https://wiki.openstreetmap.org/wiki/Talk:Key:opening_hours#women.2Fmen-only_days > [3]: > https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification#explain:comment > [4]: https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification Thanks for any improvement. I suggest (generally) that documentation said something like "anything in quotes is a comment that can be considered as removed from the tag" and only then gave examples. This is because explaining syntax almost only with comments like the opening_hours page does may have the reader believe that comments mean: the text in quotes may be displayed on the user screen if the preceding part of the rule is true or something like that.
Cheers André. > > >>> Garbage detector software: >> It's not the tagging errors that the QA tools usually detect. >> I discovered 2 streets whose non missing buildings outlines were mapped >> "à la Picasso". >> Very nice from a 5 m distance in an exhibition hall, but hair-raising as >> you watch close up. >> I was wondering if there's more Picasso around and where. >> I think I'll try searches by author's name. >> Is award-winning rush-tagging OSM-like ? >> >> Cheers >> >> André. >> >> >>> * http://openingh.openstreetmap.de/?setLng=en >>> * https://wiki.openstreetmap.org/wiki/Quality_Assurance_Tools_script >>> >>> Checkout: http://openingh.openstreetmap.de/evaluation_tool/ >>> >>> [1]: https://wiki.openstreetmap.org/wiki/Key:opening_hours > > > _______________________________________________ > Tagging mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/tagging
_______________________________________________ Tagging mailing list [email protected] https://lists.openstreetmap.org/listinfo/tagging
