<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 understand the intent of those two options. But if someone could further explain what's happening in the rule, I would be most appreciative. <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"><<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>></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">> I am curious to know how mkgmap handles the display of and text to speech<br>
> aspects of motorway junctions. It's hard to test for this without actually<br>
> creating a route and then driving it to see and hear what the Garmin is<br>
> doing with the data or to discover where it gets the information from.<br>
><br>
> I'm assuming that whatever one puts in the exit_to=* tag gets displayed<br>
> and<br>
> spoken by the Garmin "assistant". Does mkgmap ever use the destination=*<br>
> tag, and if so under what circumstances?<br>
><br>
> I found this rule in the lines style sheet, but I do not understand it<br>
> well<br>
> enough to help me answer my question<br>
><br>
> (highway=motorway_link | highway=trunk_link) & mkgmap:exit_hint=true &<br>
> mkgmap:dest_hint=true<br>
> { name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=><br>
> }' |<br>
> '${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |<br>
> '${destination|subst:;=> |subst:/=> }' |<br>
> 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}' |<br>
> highway=road<br>
> 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_exit_to}' |<br>
> 'Exit ${mkgmap:exit_hint_exit_to}' |<br>
> 'Exit ${mkgmap:exit_hint_name}' |<br>
> 'Exit ${mkgmap:exit_hint_ref}'<br>
> }<br>
><br>
><br>
> As always, thanks in advance to any help you can provide.<br>
><br>
> Dave<br>
><br>
> --<br>
> 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><br>
><br>
</div></div>> _______________________________________________<br>
> mkgmap-dev mailing list<br>
<br>
> mkgmap-dev@.org<br>
<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>
<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>