[Tagging] opening_hours and related tags: hours past 24:00

Simon Poole simon at poole.ch
Sun Oct 17 10:25:29 UTC 2021


Am 17.10.2021 um 08:13 schrieb Snusmumriken:
> ...
> Could you explain why a mapper should do an abstraction from what is
> posted on a sign? Given that a value like Fr-Sa 21:00-05:00 is without
> ambiguity.
>
Because the contents of an opening hours tag are based on a highly 
formalized grammar, just adding an extra day with different hours 
already requires you to know that grammar. It could be argued that that 
is the case even for your super simple example, for example that leading 
zeros are in principle required in times, that the weekday identifiers 
are two letter English abbreviations and so on. But as I already pointed 
out you are mixing up internal representation with data entry and display.

Now there are contributors that argue that we shouldn't have this kind 
of tag to start with (and to a certain point I sympathize with them), 
but then say goodbye to lane tagging, destination sign mapping, 
conditional access etc.. Not to even mention turn restrictions and lots 
of other things modelled with relations.

Simon


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20211017/3dcc7e23/attachment.sig>


More information about the Tagging mailing list