[Tagging] Extremely complicated conditional values

Tobias Zwick osm at westnordost.de
Thu Apr 25 12:06:27 UTC 2019

Even shorter, because if there are conflicting rules in the conditional, the last one is taken, says the wiki. (Not sure if this is really implemented in applications that work with that data though):

maxspeed:advisory:conditional=37 mph @ (weight>=60000 lbs);26 mph @ (weight>=65000 lbs);22 mph @ (weight>=70000 lbs);18 mph @ (weight>=75000 lbs AND weight<=80000)

- I'd always specify units as they are used on the sign for better confirmability
- to be precise, I guess you'd need to add "AND axles>=5" in every conditional 


Am 25. April 2019 10:34:21 MESZ schrieb Johnparis <okosm at johnfreed.com>:
>I suppose, given that they all have the same tag, that the values would
>need to be concatenated with semicolons:
>maxspeed:advisory:conditional=18 @ (weight>=37.5);22 @ (weight>=35 AND
>weight<37.5);26 @ (weight>=32.5 AND weight<35);37 @ (weight>=30 AND
>On Thu, Apr 25, 2019 at 10:28 AM Johnparis <okosm at johnfreed.com> wrote:
>> I'd try something similar to this example:
>> access:conditional=destination @ (weight>5.5)
>> So in your case you would have
>> maxspeed:advisory:conditional=18 @ (weight>=37.5)
>> maxspeed:advisory:conditional=22 @ (weight>=35 AND weight<37.5)
>> maxspeed:advisory:conditional=26 @ (weight>=32.5 AND weight<35)
>> maxspeed:advisory:conditional=37 @ (weight>=30 AND weight<32.5)
>> (... the standard for weight being short tons in the USA...)
>> John
>> On Thu, Apr 25, 2019 at 4:36 AM Paul Johnson <baloo at ursamundi.org>
>>> Is there a condition value calculator that can help me come up with
>>> tagging for this?
>>> https://openstreetcam.org/details/955279/18672/track-info
>>> This is a chart of advised speeds in MPH for HGVs on a motorway in
>>> based on weight in pounds.  I'm at a complete loss of how to tag for
>>> save for conditional values but I am banging my head on coming up
>>> cogent reading through
>>> https://wiki.openstreetmap.org/wiki/Conditional_restrictions short
>of maxspeed:advisory:hgv=18
>>> mph (which technically fits the most stringent value but a little
>>> hamfisted given that sign).
>>> Can I get a hint on this?
>>> _______________________________________________
>>> Tagging mailing list
>>> Tagging at openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/tagging

More information about the Tagging mailing list