<div dir="ltr">I searched the entire style files for &quot;bridge&quot; using notepad++ and the only instances are in the line file, but it is only when I test the TAG (bridge=yes | bridge!=yes) I do not see any place I have set the &#39;name&#39; to &#39;bridge&#39;<div><br></div><div>Greg</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 12:47 AM, Gerd Petermann <span dir="ltr">&lt;<a href="mailto:GPetermann_muenchen@hotmail.com" target="_blank">GPetermann_muenchen@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;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">
<p>Hi Greg,</p>
<p><br>
</p>
<p>I did not try with the default style, it <br>
</p>
<p>sounds like your style sets the name to bridge before these rules are processed ?</p>
<p>Note that the rules will not change that, the action <br>
</p><span class="">
<p>  {<span style="white-space:pre-wrap"> </span>name &#39;${exit_hint} ${dest_hint}&#39; | &#39;${dest_hint}&#39; | &#39;${exit_hint}&#39;}</p>
</span><p>has no effect when name is already set.</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Von:</b> <a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a> &lt;<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>&gt; im Auftrag von greg crago &lt;<a href="mailto:gregcrago@gmail.com" target="_blank">gregcrago@gmail.com</a>&gt;<br>
<b>Gesendet:</b> Montag, 15. Februar 2016 22:47<br>
<b>An:</b> Development list for mkgmap<br>
<b>Betreff:</b> [mkgmap-dev] Problem with Exit info while on a BRIDGE</font>
<div> </div>
</div>
<div>
<div dir="ltr"><span class="">While traveling East on I-94 (in Michigan), my DESCRIPTION TEXT on my GPS ( the Nuvi layout) said &quot;Bridge&quot; when it should have stated &quot;Exit 139&quot;
<div><br>
</div>
<div>Example:</div>
<div><a href="https://www.openstreetmap.org/node/184647257" target="_blank">https://www.openstreetmap.org/node/184647257</a></div>
</span><div style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px">
<table style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td colspan="1" style="width:250px;display:table-cell;padding-right:20px">
<div style="background-color:rgb(255,255,255);min-height:250px;margin:auto;display:table;width:250px">
<a href="https://www.openstreetmap.org/node/184647257" style="display:table-cell;text-align:center" target="_blank"><img style="display:inline-block;margin-left:auto;margin-right:auto;max-width:250px;max-height:250px;min-height:250px;width:250px;border-width:0px;vertical-align:bottom" 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:400;font-size:21px;font-family:&quot;wf_segoe-ui_light&quot;,&quot;Segoe UI Light&quot;,&quot;Segoe WP Light&quot;,&quot;Segoe UI&quot;,&quot;Segoe WP&quot;,Tahoma,Arial,sans-serif;line-height:21px">
<a href="https://www.openstreetmap.org/node/184647257" style="text-decoration:none" target="_blank">OpenStreetMap | Node: 184647257</a></div>
<div style="margin:10px 0px 16px;color:rgb(102,102,102);font-weight:400;font-family:&quot;wf_segoe-ui_normal&quot;,&quot;Segoe UI&quot;,&quot;Segoe WP&quot;,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:400;font-family:&quot;wf_segoe-ui_normal&quot;,&quot;Segoe UI&quot;,&quot;Segoe WP&quot;,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><span class="">
<div><br>
<div><br>
</div>
<div>here is my exit and destination commands from my lines file:</div>
<div><br>
</div>
<div>
<div>dest_hint=* { delete dest_hint }</div>
<div>(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) &amp; mkgmap:dest_hint=true</div>
<div>#  { set dest_hint = &#39;${destination:ref|subst: =&gt;} ${destination|subst:;=&gt; |subst:/=&gt; }&#39; |</div>
<div>  { set dest_hint = &#39;${destination:ref|subst: =&gt;|subst: South=&gt; S|subst: North=&gt; N|subst: East=&gt; E|subst: West=&gt; W} ${destination:street|subst: Road=&gt; Rd|subst: Street=&gt; St|subst: Avenue=&gt; Ave|subst: Mile=&gt; Mi|subst: Boulevard=&gt; Blvd|subst: Parkway=&gt; Pkwy|subst:
 Highway=&gt; Hwy} - ${destination|subst:;=&gt;,|subst:/=&gt;,}&#39; |</div>
<div><br>
</div>
<div><br>
</div>
<div>         &#39;${destination:street|subst: Road=&gt; Rd|subst: Street=&gt; St|subst: Avenue=&gt; Ave|subst: Mile=&gt; Mi|subst: Boulevard=&gt; Blvd|subst: Parkway=&gt; Pkwy|subst: Highway=&gt; Hwy} - ${destination|subst:;=&gt;,|subst:/=&gt;,}&#39;</div>
<div><span style="white-space:pre-wrap"></span>&#39;${ref|subst: =&gt;|subst: South=&gt; S|subst: North=&gt; N|subst: East=&gt; E|subst: West=&gt; W} - ${destination|subst:;=&gt;,|subst:/=&gt;,}&#39; | </div>
<div><span style="white-space:pre-wrap"></span>&#39;${exit_hint_ref|subst: South=&gt; S|subst: North=&gt; N|subst: East=&gt; E|subst: West=&gt; W} ${exit_hint_name|subst: Road=&gt; Rd|subst: Street=&gt; St|subst: Avenue=&gt; Ave|subst: Mile=&gt; Mi|subst: Boulevard=&gt; Blvd|subst: Parkway=&gt;
 Pkwy|subst: Highway=&gt; Hwy}&#39; |</div>
<div><span style="white-space:pre-wrap"></span>&#39;${exit_to|subst: Road=&gt; Rd|subst: Street=&gt; St|subst: Avenue=&gt; Ave|subst: Mile=&gt; Mi|subst: Boulevard=&gt; Blvd|subst: Parkway=&gt; Pkwy|subst: Highway=&gt; Hwy}&#39; |</div>
<div>         &#39;${destination|subst:;=&gt;,|subst:/=&gt;,}&#39;;</div>
<div>       }</div>
<div># build exit hint </div>
<div>exit_hint=* { delete exit_hint }</div>
<div>(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) &amp; mkgmap:exit_hint=true </div>
<div>  { set exit_hint = &#39;Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name|subst: Road=&gt; Rd|subst: Street=&gt; St|subst: Avenue=&gt; Ave|subst: Mile=&gt; Mi|subst: Boulevard=&gt; Blvd|subst: Parkway=&gt; Pkwy|subst: Highway=&gt; Hwy}&#39; | </div>
<div>         &#39;Exit ${ref|subst: South=&gt; S|subst: North=&gt; N|subst: East=&gt; E|subst: West=&gt; W}&#39; |</div>
<div><span style="white-space:pre-wrap"></span>&#39;Exit ${mkgmap:exit_hint_ref|subst: South=&gt; S|subst: North=&gt; N|subst: East=&gt; E|subst: West=&gt; W} ${mkgmap:exit_hint_exit_to|subst: Road=&gt; Rd|subst: Street=&gt; St|subst: Avenue=&gt; Ave|subst: Mile=&gt; Mi|subst: Boulevard=&gt;
 Blvd|subst: Parkway=&gt; Pkwy|subst: Highway=&gt; Hwy}&#39; | </div>
<div>         &#39;Exit ${mkgmap:exit_hint_exit_to|subst: Road=&gt; Rd|subst: Street=&gt; St|subst: Avenue=&gt; Ave|subst: Mile=&gt; Mi|subst: Boulevard=&gt; Blvd|subst: Parkway=&gt; Pkwy|subst: Highway=&gt; Hwy}&#39; |</div>
<div>         &#39;Exit ${mkgmap:exit_hint_name|subst: Road=&gt; Rd|subst: Street=&gt; St|subst: Avenue=&gt; Ave|subst: Mile=&gt; Mi|subst: Boulevard=&gt; Blvd|subst: Parkway=&gt; Pkwy|subst: Highway=&gt; Hwy}&#39; |</div>
<div>         &#39;Exit ${mkgmap:exit_hint_ref|subst: South=&gt; S|subst: North=&gt; N|subst: East=&gt; E|subst: West=&gt; W}&#39;;</div>
<div>       }</div>
<div><br>
</div>
<div># use destination hint and/or exit hint to build name              </div>
<div>(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) &amp; (mkgmap:exit_hint=true | mkgmap:dest_hint=true)</div>
<div>  {<span style="white-space:pre-wrap"> </span>name &#39;${exit_hint} ${dest_hint}&#39; | &#39;${dest_hint}&#39; | &#39;${exit_hint}&#39;}</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>This only seems to happen when highway=motorway_junction is sitting on a BRIDGE.</div>
<div><br>
</div>
<div>Greg</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</span></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>