We need to map a series of maxweight restrictions. But with an exception for both destination traffic and agricultural vehicles. I suppose it would look something like this:
or
Is this the best solution? Are both valid? Am I missing a wiki page where these kinds of combinations are explained? asked 07 Apr '17, 09:07 joost schouppe |
One Answer:
The conditional restrictions scheme doesn't define how to combine several conditions. It defines an AND operator but we need an OR operator here. Therefore the only solution is to define multiple separate conditions as done in your second suggestion:
Note that answered 07 Apr '17, 09:17 scai ♦ edited 07 Apr '17, 13:28 |
the 5th example on the conditional restrictions page does something similar for busses , but uses maxweight:bus=none (so it does not repeat the :conditional). Should this be corrected then ?
Good question. Without the :conditional part would be the "old" (i.e. non-conditional) tagging style, in this case
maxweight:agricultural=no
. So I guess there are two possible tagging schemes for specifying no maxweight restriction for vehicle types (yay!). Preferring the old (and simpler) style seems to be a good idea. Thanks for the hint, I've updated my answer.Right, reading your clarification I understand we can make a difference between vehicles that are built to do something agricultural, and vehicles that happen to be doing something agricultural? So the maxweight:conditional=none @ destination; none @ agricultural means that agricultural vehicles are allowed, unless they aren't entering the area to do something agricultural. But of course, they are still allowed if they have to be there. Hmm, so remains to be seen what the Belgian lawmaker means with "landbouwvoertuigen": the purpose of the vehicle or the purpose of the trip...