<div dir="ltr">Thanks, Gerd. I had missed seeing the "add" in those rules. Now I understand.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 21, 2016 at 5:31 PM, Gerd Petermann <span dir="ltr"><<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dave Swarthout wrote<br>
<span class="">> I ask because I am confused by line 29, where it seems my assumption is<br>
> reversed because the value for motor_vehicle is being transferred to the<br>
> motorcar tag :<br>
><br>
> Line 29: motor_vehicle=* { add motorcar='${motor_vehicle}'; add<br>
> goods='${motor_vehicle}'; add hgv='${motor_vehicle}'; add<br>
> psv='${motor_vehicle}'; add emergency='${motor_vehicle}'; }<br>
><br>
> And also this comment:<br>
><br>
> Line 46: # Therefore we have to choose one vehicle type - and the winner<br>
> is: motorcar<br>
><br>
> After which access is set for a range of situations all involving the term<br>
> "motorcar"<br>
><br>
> Can someone take a few minutes to explain these rules?<br>
<br>
</span>The idea is simple , if motor_vehicle=* is used and motorcar is not set,then<br>
set motorcar=* to the same value. Note that the action is add, not set.<br>
<br>
The line 46 is preceeded by this:<br>
# throughroute cannot be handled differently for different vehicle types<br>
<br>
It means that the Garmin format has only one bit that means "allow no<br>
through route"<br>
So, if we find motorcar=destination we set the flag.<br>
If I got that right, the flag is ignored when you select a bicycle as<br>
vehicle when routing with<br>
Garmin software, so the solution seems to be ok for me. One who creates a<br>
map for trucks<br>
should change this rule.<br>
<br>
Gerd<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gis.19327.n5.nabble.com/Key-motorcar-tp5868207p5868217.html" rel="noreferrer" target="_blank">http://gis.19327.n5.nabble.com/Key-motorcar-tp5868207p5868217.html</a><br>
Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Dave Swarthout<br>Homer, Alaska<br>Chiang Mai, Thailand<br>Travel Blog at <a href="http://dswarthout.blogspot.com" target="_blank">http://dswarthout.blogspot.com</a></div></div>
</div>