<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>As lots of people frequently point out, what about emergency vehicles? They can (often) ignore legal restrictions, but not physical ones:</p>
<p>if(i_am_an_emergency_vehicle)</p>
<p>    maxfoo = min(maxfoo:physical, maxfoo:legal)</p>
<p>else</p>
<p>    maxfoo = maxfoo:physical;</p>
<p> </p>
<div> </div>
<p>On 2015-02-17 19:57, moltonel 3x Combo wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>On 16/02/2015, Martin Koppenhoefer <<a href="mailto:dieterdreist@gmail.com">dieterdreist@gmail.com</a>> wrote:</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">2015-02-16 10:42 GMT+01:00 Martin Vonwald <<a href="mailto:imagic.osm@gmail.com">imagic.osm@gmail.com</a>>:
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">* maxwidth: this is a legal limitation; nothing wider than the given value may use the feature</blockquote>
+1, there is also the synonym "maxwidth:legal" (IMHO not advisable, as this is the same than the more used "maxwidth")</blockquote>
<pre>That's what the maxwidth wiki page states, but it is strangely
inconsistent with maxheight. It really should be the same definition
for both, and I think the height variant makes more sense.

maxfoo = min(maxfoo:physical, maxfoo:legal)

Don't assume that legal =< physical. For example, many roads have a
default legal max but didn't bother setting a legal limit on
individual chokepoints. When physical != legal, you may want to add
the subkeyed tag for the bigger value (or both), but most data users
will only care about the simple key.

_______________________________________________
Tagging mailing list
<a href="mailto:Tagging@openstreetmap.org">Tagging@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/tagging">https://lists.openstreetmap.org/listinfo/tagging</a>
</pre>
</blockquote>
</body></html>