<div dir="ltr">Sorry, lost track of this thread, but I would like to find out why my TYP english 0x04 labels are getting used as NAME for my ways. Here is my mkgmap options and my TYP file.<div><br></div><div>I though it might have been since I moved MOTORWAY linetype to 0x0b and moved BRIDGES to 0x01 (because I wanted to see BRIDGES on top of all other ways, it works). However my motorway_link have the have "Ramp-High speed TRANSPARENT" just like my 0x04 ENGLISH label is defined in my TYP file (master_thin.txt)</div><div><br></div><div>Any help will be appreciated.</div><div>Greg</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 17, 2016 at 12:31 PM, Gerd Petermann <span dir="ltr"><<a href="mailto:GPetermann_muenchen@hotmail.com" target="_blank">GPetermann_muenchen@hotmail.com</a>></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 also wonder why this happens. Can't say more without all your input files (style, mkgmap-options )</p>
<p>You may check with GPSMapedit what data mkgmap stores in the img file. If you open the img file with</p>
<p>it and double click on a line it shows the attributes like type, routing data etc.
<br>
</p>
<p>Despite a few errors / unsupported features it works well for this.<br>
</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"><span class=""><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>
</span><b>Gesendet:</b> Mittwoch, 17. Februar 2016 17:26<div><div class="h5"><br>
<b>An:</b> Development list for mkgmap<br>
<b>Betreff:</b> Re: [mkgmap-dev] Problem with Exit info while on a BRIDGE</div></div></font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">Yes, "bridge" is in my typ file (attached). I set this linetype to 0x01 so Bridges are drawn on top of all other ways. (Pinns suggested this on his website, and it seems to work)
<div><br>
</div>
<div>If I would have kept it 'standard' with "motorway=0x01" then does that mean I would have gotten "motorway" shown on my GPS ?</div>
<div><br>
</div>
<div>I am wondering why the linetype 0x01 (0x04 English) string is being displayed at the exit ref, or destination.</div>
<div><br>
</div>
<div>Greg</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 17, 2016 at 2:09 AM, Gerd Petermann <span dir="ltr">
<<a href="mailto:GPetermann_muenchen@hotmail.com" target="_blank">GPetermann_muenchen@hotmail.com</a>></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>the word doesn't come from mkgmap , so maybe you have it in your typ file ?<br>
</p>
<p>I can't say more without knowing your input files.</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<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"><span><b>Von:</b>
<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a> <<a title="Ctrl+Klicken oder tippen Sie, um dem Link zu folgen." 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>
</span><b>Gesendet:</b> Mittwoch, 17. Februar 2016 00:15<span><br>
<b>An:</b> Development list for mkgmap<br>
</span><b>Betreff:</b> Re: [mkgmap-dev] Problem with Exit info while on a BRIDGE</font>
<div> </div>
</div>
<div>
<div>
<div>
<div dir="ltr">I searched the entire style files for "bridge" 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 'name' to 'bridge'
<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">
<<a href="mailto:GPetermann_muenchen@hotmail.com" target="_blank">GPetermann_muenchen@hotmail.com</a>></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>
<p> {<span style="white-space:pre-wrap"> </span>name '${exit_hint} ${dest_hint}' | '${dest_hint}' | '${exit_hint}'}</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> <<a title="Ctrl+Klicken oder tippen Sie, um dem Link zu folgen." 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> 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>While traveling East on I-94 (in Michigan), my DESCRIPTION TEXT on my GPS ( the Nuvi layout) said "Bridge" when it should have stated "Exit 139"
<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:"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/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:"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:400;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>
<span>
<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) & mkgmap:dest_hint=true</div>
<div># { set dest_hint = '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |</div>
<div> { set dest_hint = '${destination:ref|subst: =>|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W} ${destination:street|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=> Pkwy|subst:
Highway=> Hwy} - ${destination|subst:;=>,|subst:/=>,}' |</div>
<div><br>
</div>
<div><br>
</div>
<div> '${destination:street|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=> Pkwy|subst: Highway=> Hwy} - ${destination|subst:;=>,|subst:/=>,}'</div>
<div><span style="white-space:pre-wrap"></span>'${ref|subst: =>|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W} - ${destination|subst:;=>,|subst:/=>,}' | </div>
<div><span style="white-space:pre-wrap"></span>'${exit_hint_ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W} ${exit_hint_name|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=>
Pkwy|subst: Highway=> Hwy}' |</div>
<div><span style="white-space:pre-wrap"></span>'${exit_to|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=> Pkwy|subst: Highway=> Hwy}' |</div>
<div> '${destination|subst:;=>,|subst:/=>,}';</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) & mkgmap:exit_hint=true </div>
<div> { set exit_hint = 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=> Pkwy|subst: Highway=> Hwy}' | </div>
<div> 'Exit ${ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W}' |</div>
<div><span style="white-space:pre-wrap"></span>'Exit ${mkgmap:exit_hint_ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W} ${mkgmap:exit_hint_exit_to|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=>
Blvd|subst: Parkway=> Pkwy|subst: Highway=> Hwy}' | </div>
<div> 'Exit ${mkgmap:exit_hint_exit_to|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=> Pkwy|subst: Highway=> Hwy}' |</div>
<div> 'Exit ${mkgmap:exit_hint_name|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=> Pkwy|subst: Highway=> Hwy}' |</div>
<div> 'Exit ${mkgmap:exit_hint_ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W}';</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) & (mkgmap:exit_hint=true | mkgmap:dest_hint=true)</div>
<div> {<span style="white-space:pre-wrap"> </span>name '${exit_hint} ${dest_hint}' | '${dest_hint}' | '${exit_hint}'}</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" target="_blank">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>
</div>
</div>
</div>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">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></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>