[OSM-talk] Extended tagging schema - my thoughts
Rob Nickerson
rob.j.nickerson at gmail.com
Thu Aug 9 16:51:41 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/talk/attachments/20120809/5c314654/attachment-0001.html>
More information about the talk
mailing list