You already know how it works, if you have read my prior post.
You also already know what to change for working in your way.
A more specific rule should generally have higher priority
( = should occur sooner )than more general rule.
The truck discrimination tests should come first.
If it passes these tests, then road based discrimination rules should
come after.
....
.....
<select value="-1" t="maxweight">
<gt value1=":weight" value2="$maxweight" type="weight"/>
</select>
......
<select value="1" t="motor_vehicle" v="customers"/>
.....
....
Dne 17.7.2017 v 13:03 Peter B napsal(a):
Am Montag, 17. Juli 2017 12:43:58 UTC+2 schrieb Poutnik:
First comes, first served.
Yes, but what about with the following data:
<select value="1" t="motor_vehicle" v="customers"/>
Due to that situation value is set to 1.
But I have a truck with weight of 3.5 t
Street is tagged as 1.5t
lines are
<select value="-1" t="maxweight">
<gt value1=":weight" value2="$maxweight" type="weight"/>
</select>
these lines are ommited, because value is already set ( <select
value="1" t="motor_vehicle" v="customers"/>)
But the weight of my truck exceeds the limit, value should be set to -1
All example lines are in same section
<way attribute="access">
How does it work ?
Peter
--
You received this message because you are subscribed to the Google
Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
Poutnik ( The Pilgrim, Der Wanderer )
https://github.com/poutnikl/Brouter-profiles/wiki
--
You received this message because you are subscribed to the Google Groups
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.