Hallo Steffen, On Sat, Mar 29, 2014 at 06:15:45AM +0100, Steffen Wolf wrote: > Jetzt fiel mir allerdings ein Fall auf, bei dem der Sinn der Eintragung > strittig war. Es sah in etwa so aus: > Mo-Fr 18:00-24:00; Fr,Sa 00:00-01:00 > > Wenn man das nach der Wiki-Definition liest, dann ist am Freitag nur > eine Stunde lang geoeffnet. Gemeint waren aber die sieben Stunden. Der > Fall wurde mit allen Beteiligten zur Zufriedenheit geklaert. > > http://wiki.openstreetmap.org/wiki/Key:opening_hours > | Exceptions to a range of days, first the range then the exception > | (e.g., > Mo-Sa 10:00-20:00; Tu off) or > | (e.g., > Mo-Sa 10:00-20:00; Tu 10:00-14:00) > | (this means these are not additions, for example Mo-Fr 08:00-12:30; We > | 14:00-17:00 means that on Wednesdays, the shop is only opened in the > | afternoons and not additionally)
So habe ich das bisher nie interpretiert, aber du scheinst recht zu haben. https://wiki.openstreetmap.org/wiki/Key:opening_hours:specification stimmt dir dabei auch zu: > The result of evaluating a <rule_sequence> is the result of the last rule, > which is applicable to the particular day. Meaning that if multiple rules > match a specific date then the last rule will overwrite all previous ones. Das ist für mich insbesondere deswegen überraschend, weil der OpeningHoursEditor in JOSM es falsch macht und We,Th 08:00-12:30; Mo 08:00-12:30,13:00-17:00 genauso interpretiert wie We,Th 08:00-12:30; Mo 08:00-12:30,13:00-17:00 Ich frage mich, wieviele andere Editoren/Interpreten das noch falsch machen. Diese Regel ist auch nicht gerade auf den ersten Blick ersichtlich. Grüße Alex _______________________________________________ Talk-de mailing list Talk-de@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-de