<div dir="ltr">Thanks for the clarifications. <div><br></div><div>I do want to see the bridge names, so apparently the label:1 option is the correct one. </div><div><br></div><div>Believe me, I really appreciate the work that has been done, and continues o get done, on mkgmap. Understanding the Garmin format without being an insider or having some sort of a functional spec must be extremely difficult. Kudos to you and all the other folks who support and enhance mkgmap.</div><div><br></div><div>If I ever get familiar enough with the program to be of help in clarifying the documentation, I will volunteer my time to do that. But at my present level of understanding, I'm afraid I wouldn't be of much help. </div><div><br></div><div>Dave</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 20, 2015 at 10:42 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><div dir="ltr">Hi Dave,<br><br>I agree that the rules to set a "name" are very confusing, esp. when it<br>comes to roads. I guess one reason is that it took a while to discover <br>that a map object can have 4 labels,<br>another point is that we don't try to explain the Garmin format in this <br>manual, instead we presume that the reader knows the details of the <br>Garmin format quite well.<br>Maybe it would help to add a chapter with links to <br>the corresponding manuals and wiki pages. <br>If you have the time, please propose improvements, the sources are<br>almost normal text files.<br><br>Reg. your questions:<br>Why not addabel ? <br>I thought you want to see the bridge name in the map. If that is the case, you have<br>to set mkgmap:label:1 . If you want to be able to find the bridge in address search,<br>you can use addlabel without problems.<br><br>Why doesn't set name='${bridge:name}' work?<br>Because it sets the tag name to a new /different value. If it is not followed<br>by a rule that uses this value to set mkgmap:label:* you will not see a change.<span class="HOEnZb"><font color="#888888"><br><br>Gerd<br></font></span><div class="hm HOEnZb"><br></div><div><div class="hm HOEnZb"><hr>From: <a href="mailto:daveswarthout@gmail.com" target="_blank">daveswarthout@gmail.com</a><br>Date: Wed, 20 May 2015 12:09:55 -0700<br>Subject: Re: [mkgmap-dev] Named bridges not displaying<br>To: <a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a></div><div><div class="h5"><br><br><div dir="ltr">Thank you very much. That worked like a charm.<div><br></div><div>As for the style manual, </div><div><br></div><div><div><div>4.3.6. name</div><div>This sets the first label of the element but only if it is not already set. This is a helper action. The same</div><div>effect can be produced with different notations as it is shown in the following example where all three</div><div>lines have the same effect.</div><div> {name '${name} (${ref})' | '${ref}' | '${name}'}</div><div> {add mkgmap:label:1='${name} (${ref})' | '${ref}' | '${name}'}</div><div> mkgmap:label:1!=* {set mkgmap:label:1='${name} (${ref})' | '${ref}' | '${name}'}</div></div></div><div><br></div><div>How one would determine that this is a situation when one must assign a mkgmap label is beyond me. I could have read that description a thousand times and not figured out what to do. What's missing is WHY one would use the name directive in this way. And then, some information about the use of mkgmap:label:1 in these circumstances would be helpful too.</div><div><br></div><div>In scanning the manual I noticed another directive, addlabel which would assign the next available label level. Why didn't you use that? I'm thinking it's because you already knew the tags for these two bridges so you knew mkgmap:label:1 was not being used. But wouldn't addlabel be a "safer" way to go about this in the general case? </div><div><br></div><div>One last question: During my struggles I tried using the set command, {set name='${bridge:name}' }, to replace the name of the section of highway that crosses the bridge with the bridge name but it didn't work. Could you venture a reason for that?</div><div><br></div><div><br></div></div><div><br><div>On Wed, May 20, 2015 at 10:02 AM, Gerd Petermann <span dir="ltr"><<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi Dave,<br><br>the name action has no effect when mkgmap:label:1 is already<br>set. You may move your rule before those <br>that use the highway name, or you can use <br><div>bridge=* & bridge:name=* {set mkgmap:label:1= '${bridge:name}'; echotags ""}</div><div><br>See style manual section 4.3.6<br><br>Gerd<br></div><br><div><hr>From: <a href="mailto:daveswarthout@gmail.com" target="_blank">daveswarthout@gmail.com</a><br>Date: Wed, 20 May 2015 09:49:43 -0700<br>To: <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>Subject: [mkgmap-dev] Named bridges not displaying<div><div><br><br><div dir="ltr"><div>Thanks for all the good effort on the exit_to and destination issues. Everything is working well for me now.</div><div><br></div>I discovered another problem that might be simple to fix, or maybe there's something that I'm doing wrong. There are two named bridges in my current area but the names do not display on my maps.<div><br></div><div>I placed this rule in my lines style file:</div><div><br></div><div>bridge=* & bridge:name=* {name '${bridge:name}'; echotags ""}</div><div><br></div><div>here is the stderr output</div><div><br></div><div><div><div>221689337 - [highway=tertiary,ref=CR 48,mkgmap:label:2=Lower Smith River Road (CR 48),bridge=yes,name=Lower Smith River Road,bridge:name=Jack Franz Bridge,surface=asphalt,mkgmap:street=Lower Smith River Road,mkgmap:label:1= CR48 Lower Smith River Road,ele=1] </div><div>336150197 - [highway=residential,mkgmap:street=Goodpasture Road,mkgmap:label:1=Goodpasture Road,covered=yes,bridge=yes,bridge:name=Goodpasture Bridge,name=Goodpasture Road] </div></div><div><br></div><div>The bridge name does not appear on the compiled maps.</div><div><br></div><div>Any ideas or suggestions?</div><div><br></div><div>Dave</div>-- <br><div><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></div>
<br></div></div>_______________________________________________
mkgmap-dev mailing list
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div>                                            </div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><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></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" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_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>