<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div><hr id="stopSpelling">From: gpetermann_muenchen@hotmail.com<br>To: daveswarthout@gmail.com<br>Subject: RE: [mkgmap-dev] Routing parameters<br>Date: Sat, 16 May 2015 12:02:22 +0200<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Hi Dave,<br><br>not sure what the problem is.<br>The subst filters are just used to remove some blanks or semicolons.<br>The rest is more or less "a list of alternative expressions separated with a vertical bar",<br>you can search for that term in the style manual:<br>http://www.mkgmap.org.uk/doc/pdf/style-manual.pdf<br><br>I've never tried these options because I use my GPS only for cycling,<br>but my understanding is that the types 0x08 and 0x09 are special<br>as they instruct the Garmin device to use the name of the road for the <br>destination hint, and these rules are used to fill this name with useful<br>information.<br><br>Does that help?<br><br>Gerd<br><br><div><hr id="ecxstopSpelling">From: daveswarthout@gmail.com<br>Date: Fri, 15 May 2015 17:51:13 -0700<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Subject: Re: [mkgmap-dev] Routing parameters<br><br><div dir="ltr">Yes, as you can see above, I &nbsp;understand the intent of those two options. But if someone could further explain what's happening in the rule, I would be most appreciative.&nbsp;<div><br></div><div>I'm guessing the first part assigns a name or ref if one appears in the tagging but understanding the logic of the series of "subst" filters following that is, for a newbie, quite challenging.</div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Fri, May 15, 2015 at 12:17 PM, GerdP <span dir="ltr">&lt;<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">Hi Dave,<br>
<br>
please check the documentation for --process-destination and<br>
--process-exits:<br>
<a href="http://www.mkgmap.org.uk/doc/options" target="_blank">http://www.mkgmap.org.uk/doc/options</a><br>
<br>
If I got this right, these option mark exits so that Garmin knows where<br>
they are where they lead.<br>
<br>
Gerd<br>
<br>
<br>
Dave Swarthout wrote<br>
<div><div class="h5">&gt; I am curious to know how mkgmap handles the display of and text to speech<br>
&gt; aspects of motorway junctions. It's hard to test for this without actually<br>
&gt; creating a route and then driving it to see and hear what the Garmin is<br>
&gt; doing with the data or to discover where it gets the information from.<br>
&gt;<br>
&gt; I'm assuming that whatever one puts in the exit_to=* tag gets displayed<br>
&gt; and<br>
&gt; spoken by the Garmin "assistant". Does mkgmap ever use the destination=*<br>
&gt; tag, and if so under what circumstances?<br>
&gt;<br>
&gt; I found this rule in the lines style sheet, but I do not understand it<br>
&gt; well<br>
&gt; enough to help me answer my question<br>
&gt;<br>
&gt; (highway=motorway_link | highway=trunk_link) &amp; mkgmap:exit_hint=true &amp;<br>
&gt; mkgmap:dest_hint=true<br>
&gt;&nbsp; &nbsp;{ name '${destination:ref|subst: =&gt;} ${destination|subst:;=&gt; |subst:/=&gt;<br>
&gt; }' |<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '${ref|subst: =&gt;} ${destination|subst:;=&gt; |subst:/=&gt; }' |<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '${destination|subst:;=&gt; |subst:/=&gt; }' |<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}' |<br>
&gt; highway=road<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_exit_to}' |<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'Exit ${mkgmap:exit_hint_exit_to}' |<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'Exit ${mkgmap:exit_hint_name}' |<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'Exit ${mkgmap:exit_hint_ref}'<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; }<br>
&gt;<br>
&gt;<br>
&gt; As always, thanks in advance to any help you can provide.<br>
&gt;<br>
&gt; Dave<br>
&gt;<br>
&gt; --<br>
&gt; Dave Swarthout<br>
&gt; Homer, Alaska<br>
&gt; Chiang Mai, Thailand<br>
&gt; Travel Blog at <a href="http://dswarthout.blogspot.com" target="_blank">http://dswarthout.blogspot.com</a><br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; mkgmap-dev mailing list<br>
<br>
&gt; mkgmap-dev@.org<br>
<br>
&gt; <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gis.19327.n5.nabble.com/Routing-parameters-tp5844762p5844766.html" target="_blank">http://gis.19327.n5.nabble.com/Routing-parameters-tp5844762p5844766.html</a><br>
Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>
<div class="ecxHOEnZb"><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" 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="ecxgmail_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>
<br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></div>                                               </div></body>
</html>