<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Colin,</p>
<p><br>
</p>
<p>I also thought about this but found no meaningful option name. <br>
</p>
<p>Any ideas?</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Von:</b> mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Colin Smale <colin.smale@xs4all.nl><br>
<b>Gesendet:</b> Donnerstag, 21. Januar 2016 14:39<br>
<b>An:</b> Development list for mkgmap<br>
<b>Betreff:</b> Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)</font>
<div> </div>
</div>
<div>
<p>Could the lists of tags maybe be externalised into the config file, with a sensible default?</p>
<p>//colin</p>
<div> </div>
<p> </p>
<p>On 2016-01-21 14:37, A. Carlos wrote:</p>
<blockquote type="cite" style="padding:0 0.4em; border-left:#1010ff 2px solid; margin:0">
<div dir="ltr"><br id="FontBreak">
<span id="result_box"><span class="hps">Thank you</span> <span class="hps">Gerd<br>
<br>
</span><span class="hps">I will try to</span> <span class="hps">do it here</span><span>,</span>
<span class="hps">but if</span> <span class="hps">you can change</span> <span class="hps">
there and</span> <span class="hps">release a</span> <span class="hps">beta</span>
<span class="hps">version</span><span>.</span><br>
<span>Here we have</span> <span class="hps">many cases</span> <span class="hps">that this</span>
<span class="hps">rule can be used</span></span><br>
<br>
<br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<br>
<span style="color:#ff0000"><span style="background-color:#92d050"><u>_______________________________________________________________________________________________________</u></span></span>
<div><span style="color:#ff0000"><span style="background-color:#92d050"><u><br>
</u></span></span>
<p align="left"><span style="font-family:Arial"><span style="font-size:x-large"><span style="color:#205867; background-color:#ffffff"><strong>Anor C. A. de Souza Co</strong></span><strong><span style="color:#ff0000; background-color:#ffffff"><span style="color:#205867">ncórdia SC </span></span></strong></span></span></p>
<p align="left"><span style="font-family:Arial"><span style="font-size:x-large"><strong><span style="color:#ff0000; background-color:#ffffff"><span style="color:#205867"> </span></span></strong></span></span></p>
<br>
<p align="left"> </p>
<p align="center"><span style="color:#ff0000"></span> </p>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
<br>
<br>
<div>
<hr id="stopSpelling">
From: GPetermann_muenchen@hotmail.com<br>
To: mkgmap-dev@lists.mkgmap.org.uk<br>
Date: Thu, 21 Jan 2016 13:22:08 +0000<br>
Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)<br>
<br>
<div id="ecxdivtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
Hi Anor,<br>
<br>
<br>
yes, if you think that makes sense. You have to modify the code in LinkDestinationHook.java first so that these<br>
two sets contain the corresponding strings:<br>
<br>
private final static Set<String> highwayTypes = new LinkedHashSet<String>(Arrays.asList(<br>
"motorway", "trunk", "primary", "motorway_link", "trunk_link", "primary_link"));<br>
private HashSet<String> linkTypes = new HashSet<String>(Arrays.asList(<br>
"motorway_link", "trunk_link", "primary_link"));<br>
<br>
<br>
and then modify the rules. <br>
<br>
<br>
<br>
Gerd<br>
<br>
<br>
<br>
<div style="color:#000000">
<hr style="display:inline-block; width:98%">
<div id="ecxdivRplyFwdMsg" dir="ltr"><span style="font-size:11pt; color:#000000; font-family:Calibri,sans-serif"><strong>Von:</strong> mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von A. Carlos <anorcarlos@hotmail.com><br>
<strong>Gesendet:</strong> Donnerstag, 21. Januar 2016 13:56<br>
<strong>An:</strong> Development list for mkgmap<br>
<strong>Betreff:</strong> Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)</span>
<div> </div>
</div>
<div>
<div dir="ltr"><br id="ecxFontBreak">
<span id="ecxresult_box"><span class="ecxhps">hello</span> <span class="ecxhps">Gerd<br>
<br>
</span><span class="ecxhps">the</span> <span class="ecxhps">default</span> <span class="ecxhps">
style</span> <span class="ecxhps">have</span><br>
<br>
<span class="ecxhps ecxatn">(</span><span>highway</span> <span class="ecxhps">=</span>
<span class="ecxhps">motorway_link</span> <span class="ecxhps">|</span> <span class="ecxhps">
trunk_link</span> <span class="ecxhps">highway</span> <span class="ecxhps">=</span>
<span class="ecxhps">|</span> <span class="ecxhps">=</span> <span class="ecxhps">
highway</span> <span class="ecxhps">primary_link</span><span>)</span> <span class="ecxhps">
&</span> <span class="ecxhps">mkgmap</span><span>:</span> <span class="ecxhps">exit_hint</span>
<span class="ecxhps">=</span> <span class="ecxhps">*</span> <span class="ecxhps">
&</span> <span class="ecxhps">mkgmap</span><span>:</span> <span class="ecxhps">dest_hint</span>
<span class="ecxhps">= true</span><span>!</span><br>
<span class="ecxhps">{Name</span> <span class="ecxhps ecxatn">'</span><span>$</span>
<span class="ecxhps ecxatn">{</span><span>destination:</span> <span class="ecxhps">
ref</span> <span class="ecxhps">|</span> <span class="ecxhps">subst:</span> <span class="ecxhps">
=</span><span>>}</span> <span class="ecxhps">$</span> <span class="ecxhps ecxatn">
{</span><span>destination</span> <span class="ecxhps">|</span> <span class="ecxhps">
subst:</span><span>;</span> <span class="ecxhps">=</span><span>> |</span> <span class="ecxhps">
subst:</span> <span class="ecxhps">/</span> <span class="ecxhps">=</span><span>></span><span>}'</span>
<span class="ecxhps">|</span><br>
<span class="ecxhps ecxatn">'</span><span>$</span> <span class="ecxhps ecxatn">
{</span><span>ref</span> <span class="ecxhps">|</span> <span class="ecxhps">subst:</span>
<span class="ecxhps">=</span><span>>}</span> <span class="ecxhps">$</span> <span class="ecxhps ecxatn">
{</span><span>destination</span> <span class="ecxhps">|</span> <span class="ecxhps">
subst:</span><span>;</span> <span class="ecxhps">=</span><span>> |</span> <span class="ecxhps">
subst:</span> <span class="ecxhps">/</span> <span class="ecxhps">=</span><span>></span><span>}'</span>
<span class="ecxhps">|</span><br>
<span class="ecxhps ecxatn">'</span><span>$</span> <span class="ecxhps ecxatn">
{</span><span>destination</span> <span class="ecxhps">|</span> <span class="ecxhps">
subst:</span><span>;</span> <span class="ecxhps">=</span><span>> |</span> <span class="ecxhps">
subst:</span> <span class="ecxhps">/</span> <span class="ecxhps">=</span><span>></span><span>}'</span><br>
<span class="ecxhps">}</span><br>
<br>
<span class="ecxhps">is</span> <span class="ecxhps">possílvel</span> <span class="ecxhps">
include this</span> <span class="ecxhps">also in</span> <span class="ecxhps">secondary_link</span><span>,</span>
<span class="ecxhps">tertiary_link</span><span> ?</span></span><br>
<br>
<br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<span style="color:#ff0000"></span> <br>
<br>
<span style="color:#ff0000"><span style="background-color:#92d050"><u>_______________________________________________________________________________________________________</u></span></span>
<div><span style="color:#ff0000"><span style="background-color:#92d050"><u><br>
</u></span></span>
<p align="left"><span style="font-family:Arial"><span style="font-size:x-large"><span style="color:#205867; background-color:#ffffff"><strong>Anor C. A. de Souza Co</strong></span><strong><span style="color:#ff0000; background-color:#ffffff"><span style="color:#205867">ncórdia SC </span></span></strong></span></span></p>
<p align="left"><span style="font-family:Arial"><span style="font-size:x-large"><strong><span style="color:#ff0000; background-color:#ffffff"><span style="color:#205867"> </span></span></strong></span></span></p>
<br>
<p align="center"><span style="color:#ff0000"></span> </p>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
<br>
<br>
<div>
<hr id="ecxstopSpelling">
From: GPetermann_muenchen@hotmail.com<br>
To: mkgmap-dev@lists.mkgmap.org.uk<br>
Date: Wed, 20 Jan 2016 07:42:02 +0000<br>
Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)<br>
<br>
<div id="ecxdivtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
Hi Greg,<br>
<br>
<br>
I just tried your example with the default style.<br>
I see a hint containing the exit number (28) when I only use --process-exits (without --process-destination)<br>
With --process-destination I see the hint "Exit right onto ramp onto Plymouth Livonia"
<br>
<br>
I am not sure if it is intended that the --process-destination "removes" the exit hint,<br>
this looks like an error to me. I'll have to dig into the code and the archives to understand what it should do.<br>
In the meantime you may check your style: Does your lines file contain rules like these?<br>
<span id="ecxms-rterangepaste-start"></span>(highway=motorway_link | highway=trunk_link | highway=primary_link) & mkgmap:exit_hint=true & mkgmap:dest_hint=true<br>
{ name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | <br>
'${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | <br>
'${destination|subst:;=> |subst:/=> }' |<br>
'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}' | <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>
(highway=motorway_link | highway=trunk_link | highway=primary_link) & mkgmap:exit_hint!=* & mkgmap:dest_hint=true<br>
{ name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |<br>
'${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | <br>
'${destination|subst:;=> |subst:/=> }'<br>
}<br>
<br>
(highway=motorway_link | highway=trunk_link | highway=primary_link) & mkgmap:exit_hint=true & mkgmap:dest_hint!=*<br>
{ name 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}' | <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>
<span id="ecxms-rterangepaste-end"></span><br>
<br>
<br>
<br>
Gerd<br>
<br>
<br>
<div style="color:#000000">
<hr style="display:inline-block; width:98%">
<div id="ecxdivRplyFwdMsg" dir="ltr"><span style="font-size:11pt; color:#000000; font-family:Calibri,sans-serif"><strong>Von:</strong> mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von greg crago <gregcrago@gmail.com><br>
<strong>Gesendet:</strong> Mittwoch, 20. Januar 2016 00:28<br>
<strong>An:</strong> Development list for mkgmap<br>
<strong>Betreff:</strong> Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)</span>
<div> </div>
</div>
<div>
<div dir="ltr">Yes Gerd,
<div> </div>
<div>I use both of those options in my mkgmap command. Is there any other way to get the EXIT number displayed on my GPS during active routing for the 'next turn'?</div>
<div> </div>
<div>Greg</div>
</div>
<div class="ecxgmail_extra"><br>
<div class="ecxgmail_quote">On Tue, Jan 19, 2016 at 1:52 PM, Gerd Petermann <span>
<<a title="Ctrl+Klicken oder tippen Sie, um dem Link zu folgen." href="mailto:GPetermann_muenchen@hotmail.com">GPetermann_muenchen@hotmail.com</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
Hi Greg,<br>
<br>
<br>
I did not yet try your example, but I am sure that neither<br>
the java code nor the default style handles the tag destination:street.<br>
I think this can be changed, not sure whether in the style or in the java code.<br>
Besides that: do you use the option --process-destinations and --process-exits ?<br>
<br>
<br>
Gerd<br>
<br>
<br>
<div style="color:#000000">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><span style="font-size:11pt; color:#000000; font-family:Calibri,sans-serif"><strong>Von:</strong>
<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@lists.mkgmap.org.uk</a> <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von greg crago <<a href="mailto:gregcrago@gmail.com">gregcrago@gmail.com</a>><br>
<strong>Gesendet:</strong> Dienstag, 19. Januar 2016 19:34<br>
<strong>An:</strong> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<strong>Betreff:</strong> [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)</span>
<div> </div>
</div>
<div>
<div dir="ltr"><span><span>I have entered exit info to this NODE:</span></span>
<div> </div>
<div>
<div>highway=motorway_junction</div>
<div>ref=28</div>
<div> </div>
<div><a href="https://www.openstreetmap.org/node/62928686">https://www.openstreetmap.org/node/62928686</a>
<div style="overflow:auto; width:100%">
<table style="width:90%; overflow:auto; padding-top:20px; padding-bottom:20px; border-top-width:1px; border-top-style:dotted; border-top-color:#c8c8c8; border-bottom-width:1px; border-bottom-style:dotted; border-bottom-color:#c8c8c8; background-color:#ffffff" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td colspan="1" style="width:250px; display:table-cell; padding-right:20px">
<div style="min-height:250px; display:table; width:250px; background-color:#ffffff">
<a href="https://www.openstreetmap.org/node/62928686" style="display:table-cell; text-align:center"><img alt="" style="display: inline-block; max-width: 250px; max-height: 250px; min-height: 250px; width: 250px; border-width: 0px; vertical-align: bottom; -moz-user-select: none;" height="250" width="250" src=""></a></div>
</td>
<td colspan="2" style="vertical-align:top; padding:0px; display:table-cell">
<div> </div>
<div style="color:#0078d7; font-weight:normal; font-size:21px; font-family:wf_segoe-ui_light,'Segoe UI Light','Segoe WP Light','Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; line-height:21px">
<a href="https://www.openstreetmap.org/node/62928686" style="text-decoration:none">OpenStreetMap | Node: 62928686</a></div>
<div style="color:#666666; font-weight:normal; font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:14px; line-height:14px">
<a href="http://www.openstreetmap.org">www.openstreetmap.org</a></div>
<div style="display:block; color:#666666; font-weight:normal; font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:14px; line-height:20px; max-height:100px; overflow:hidden">
OpenStreetMap is a map of the world, created by people like you and free to use under an open license.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
<div> </div>
<div> </div>
<div>I have entered this information on the following WAY:</div>
<div> </div>
<div>destination=Plymouth;Livonia</div>
<div>destination:street=Ann Arbor Road</div>
<div> </div>
<div><a href="https://www.openstreetmap.org/way/25926768">https://www.openstreetmap.org/way/25926768</a></div>
<div> </div>
<div>When I activate a ROUTE on my GARMIN MONTANA 600, It show "in 6mi, PLYMOUTH ANN ARBOR (using the Nuvi type layout)</div>
<div> </div>
<div>I do not get any EXIT or STREET information (in 6mi, exit 28, Ann Arbor road PLYMOUTH LIVONIA)",</div>
<div> </div>
<div>Am I doing something wrong?</div>
</div>
<div>Greg</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<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">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote>
</div>
</div>
</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>
</div>
<br>
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>
</div>
<br>
<div class="pre" style="margin:0; padding:0; font-family:monospace">_______________________________________________<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">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div>
</blockquote>
</div>
</div>
</div>
</body>
</html>