[Tagging] Reviving the conditions debate

Pieren pieren3 at gmail.com
Thu Jun 14 11:10:49 BST 2012


On Thu, Jun 14, 2012 at 11:44 AM, Martin Vonwald <imagic.osm at gmail.com> wrote:
> Yes, short and readable (IMO), but how would you express a conditional maxspeed?

You mean:
> access:lgv.speed=120
> access:lgv?wet.speed=80

condition1=wet
maxspeed:lgv=120 or 80 in condition1

If we consider that a special parser is required as soon as one of the
keywords "condition", " or ", " and ", " in ", " not " is present in
the value, we could even reduce the amount of tags:

maxspeed:lgv=120 or 80 in wet

Or about one of the previous examples:
> Here's a test case. No motor vehicles mon-fri between 1600-1800 except
> agricultural vehicles and good vehicles *in this direction*. Going the other
> way the sign is similar but the times are between 0600 and 0900.

access=yes
motor_vehicle:forward=not (Mo-Fr 16:00-18:00)
motor_vehicle:backward=not (Mo-Fr 06:00-09:00)

Pieren



More information about the Tagging mailing list