[Tagging] Extended tagging schema - my thoughts

Rob Nickerson rob.j.nickerson at gmail.com
Thu Aug 9 17:33:59 BST 2012


Hi all,

One of the issues raised with the extended conditions tag schema was the
use of variable values in the key part of the tag. For example maxspeed:wet
= 80 is in the form constant:variable=variable. This has been deemed to
break the basic tagging rules.

Can I therefore give alternative suggestions:

  *  maxspeed=120; 80?wet; 60?wet+hgv

Here '?' can be interpreted as 'if' and '+' as 'and'. Many alternatives can
be proposed using alternate symbols (or none at all). In fact, it is
already in use:

  *  opening_hours=Mo-Sa 10:00-20:00; Tu off

This is off the form constant=condition value; condition value. Using this
existing schema, the maxspeed example becomes:

  *  maxspeed=120; wet 80; wet+hgv 60

Advantages: Easy to reduce back to the basic condition, editors can
implement this in a fancy GUI; expandable, can use bots to analyse/fix

Opinions welcome,
Regards,
RobJN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20120809/01b07db0/attachment.html>


More information about the Tagging mailing list