<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 Anor,</p>
<p><br>
</p>
<p>yes, if you think that makes sense. You have to modify the code in LinkDestinationHook.java first so that these</p>
<p>two sets contain the corresponding strings:<br>
</p>
<p> 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>
</p>
<p>and then modify the rules. <br>
</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<br>
<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 A. Carlos <anorcarlos@hotmail.com><br>
<b>Gesendet:</b> Donnerstag, 21. Januar 2016 13:56<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>
<div dir="ltr"><br id="FontBreak">
<span id="result_box" lang="en"><span class="hps">hello</span> <span class="hps">
Gerd<br>
<br>
</span><span class="hps">the</span> <span class="hps">default</span> <span class="hps">
style</span> <span class="hps">have</span><br>
<br>
<span class="hps atn">(</span><span>highway</span> <span class="hps">=</span> <span class="hps">
motorway_link</span> <span class="hps">|</span> <span class="hps">trunk_link</span>
<span class="hps">highway</span> <span class="hps">=</span> <span class="hps">|</span>
<span class="hps">=</span> <span class="hps">highway</span> <span class="hps">primary_link</span><span>)</span>
<span class="hps">&</span> <span class="hps">mkgmap</span><span>:</span> <span class="hps">
exit_hint</span> <span class="hps">=</span> <span class="hps">*</span> <span class="hps">
&</span> <span class="hps">mkgmap</span><span>:</span> <span class="hps">dest_hint</span>
<span class="hps">= true</span><span>!</span><br>
<span class="hps">{Name</span> <span class="hps atn">'</span><span>$</span> <span class="hps atn">
{</span><span>destination:</span> <span class="hps">ref</span> <span class="hps">
|</span> <span class="hps">subst:</span> <span class="hps">=</span><span>>}</span>
<span class="hps">$</span> <span class="hps atn">{</span><span>destination</span>
<span class="hps">|</span> <span class="hps">subst:</span><span>;</span> <span class="hps">
=</span><span>> |</span> <span class="hps">subst:</span> <span class="hps">/</span>
<span class="hps">=</span><span>></span><span>}'</span> <span class="hps">|</span><br>
<span class="hps atn">'</span><span>$</span> <span class="hps atn">{</span><span>ref</span>
<span class="hps">|</span> <span class="hps">subst:</span> <span class="hps">=</span><span>>}</span>
<span class="hps">$</span> <span class="hps atn">{</span><span>destination</span>
<span class="hps">|</span> <span class="hps">subst:</span><span>;</span> <span class="hps">
=</span><span>> |</span> <span class="hps">subst:</span> <span class="hps">/</span>
<span class="hps">=</span><span>></span><span>}'</span> <span class="hps">|</span><br>
<span class="hps atn">'</span><span>$</span> <span class="hps atn">{</span><span>destination</span>
<span class="hps">|</span> <span class="hps">subst:</span><span>;</span> <span class="hps">
=</span><span>> |</span> <span class="hps">subst:</span> <span class="hps">/</span>
<span class="hps">=</span><span>></span><span>}'</span><br>
<span class="hps">}</span><br>
<br>
<span class="hps">is</span> <span class="hps">possílvel</span> <span class="hps">
include this</span> <span class="hps">also in</span> <span class="hps">secondary_link</span><span>,</span>
<span class="hps">tertiary_link</span><span> ?</span></span><br>
<br>
<br>
<font style="" color="#ff0000"></font> <br>
<font style="" color="#ff0000"></font> <br>
<font style="" color="#ff0000"></font> <br>
<font style="" color="#ff0000"></font> <br>
<font style="" color="#ff0000"></font> <br>
<font style="" color="#ff0000"></font> <br>
<br>
<font style="" color="#ff0000"><font style="background-color:#92d050"><u>_______________________________________________________________________________________________________</u></font></font>
<div><font color="#ff0000"><font style="background-color:#92d050"><u><br>
</u></font></font>
<p align="left"><font face="Arial"><font size="5"><font style="background-color:#ffffff" color="#205867"><strong>Anor C. A. de Souza Co</strong></font><strong><font style="background-color:#ffffff" color="#ff0000"><font color="#205867">ncórdia SC </font></font></strong></font></font></p>
<p align="left"><font face="Arial"><font size="5"><strong><font style="background-color:#ffffff" color="#ff0000"><font color="#205867"> </font></font></strong></font></font></p>
<br>
<p align="center"><strong><font color="#ff0000"></font></strong> </p>
<br>
<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: 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:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="ecxdivRplyFwdMsg" 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 greg crago <gregcrago@gmail.com><br>
<b>Gesendet:</b> Mittwoch, 20. Januar 2016 00:28<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>
<div dir="ltr">Yes Gerd,
<div><br>
</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><br>
</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 dir="ltr">
<<a title="Ctrl+Klicken oder tippen Sie, um dem Link zu folgen." 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">
<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:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Von:</b>
<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a> <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von greg crago
<<a href="mailto:gregcrago@gmail.com" target="_blank">gregcrago@gmail.com</a>><br>
<b>Gesendet:</b> Dienstag, 19. Januar 2016 19:34<br>
<b>An:</b> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<b>Betreff:</b> [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)</font>
<div> </div>
</div>
<div>
<div dir="ltr"><span>I have entered exit info to this NODE:
<div><br>
</div>
</span>
<div>
<div>highway=motorway_junction</div>
<div>ref=28</div>
<div><br>
</div>
<div><a href="https://www.openstreetmap.org/node/62928686" target="_blank">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:rgb(200,200,200); border-bottom-width:1px; border-bottom-style:dotted; border-bottom-color:rgb(200,200,200); background-color:rgb(255,255,255)" 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:rgb(255,255,255)">
<a href="https://www.openstreetmap.org/node/62928686" target="_blank" style="display:table-cell; text-align:center"><img 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="http://www.openstreetmap.org/assets/osm_logo_256-835a859acf0d378e1d14e88b15e7b4b95211ccd41a2c061b1629cfbbb8deb697.png"></a></div>
</td>
<td colspan="2" style="vertical-align:top; padding:0px; display:table-cell">
<div></div>
<div style="color:rgb(0,120,215); 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" target="_blank" style="text-decoration:none">OpenStreetMap | Node: 62928686</a></div>
<div style="color:rgb(102,102,102); 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" target="_blank">www.openstreetmap.org</a></div>
<div style="display:block; color:rgb(102,102,102); 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>
<span>
<div><br>
</div>
<div><br>
</div>
<div>I have entered this information on the following WAY:</div>
<div><br>
</div>
<div>destination=Plymouth;Livonia</div>
<div>destination:street=Ann Arbor Road</div>
<div><br>
</div>
<div><a href="https://www.openstreetmap.org/way/25926768" target="_blank">https://www.openstreetmap.org/way/25926768</a><br>
</div>
<div><br>
</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><br>
</div>
<div>I do not get any EXIT or STREET information (in 6mi, exit 28, Ann Arbor road PLYMOUTH LIVONIA)",</div>
<div><br>
</div>
<div>Am I doing something wrong?</div>
</span></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" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</blockquote>
</div>
<br>
</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>
</body>
</html>