<div dir="ltr">When you say you didn&#39;t change the echotags code, did you rewrite the style rule? If you did that I&#39;m embarrassed to admit I am unable to see the difference. <div><br></div><div>AFAIK I&#39;m using the exact same style file for both runs, but the run with the older executables produced no output. I replaced that jar file with the new one (modified r3598) and all of a sudden output from echotags appeared.</div><div><br></div><div>Anyway, it&#39;s all good.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 19, 2015 at 11:03 AM, GerdP <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">Hi Dave,<br>
<br>
I am not sure if you understand that echotags always worked.<br>
The problem is/was that the rule was not executed because<br>
the expression evaluated to false.<br>
In other words, I did not change the echotags code,<br>
I changed the code so that it is more likely that the<br>
term &quot;mkgmap:exit_hint=true &amp; mkgmap:dest_hint=true&quot;<br>
evaluates to true.<br>
<br>
Gerd<br>
<br>
<br>
Dave Swarthout wrote<br>
<span class="">&gt; On Mon, May 18, 2015 at 7:51 AM, Gerd Petermann &lt;<br>
<br>
&gt; gpetermann_muenchen@<br>
<br>
</span><span class="">&gt;&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;&gt; @Dave: Please note the changes in the default style.<br>
&gt;&gt; It would be great if you could test this patch and maybe suggest<br>
&gt;&gt; a better description of the two options.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Sorry for the delay in responding. The modified r3598 produced output from<br>
&gt; the echotags function. I did not see anything regarding the exit_to tags<br>
&gt; but my test destination tag was processed and this output went to stderr:<br>
&gt;<br>
&gt; 4611686018427392234 (168231839) -<br>
&gt; [highway=motorway_link,destination=Beltline Road<br>
&gt; East,mkgmap:exit_hint=true,mkgmap:dest_hint=true,bicycle=yes,mkgmap:way-has-pois=true,mkgmap:exit_hint_ref=195A,mkgmap:label:1=Dest:<br>
&gt; Beltline Road East,oneway=yes] before<br>
&gt; 4611686018427392234 (168231839) -<br>
&gt; [highway=motorway_link,destination=Beltline Road<br>
&gt; East,mkgmap:exit_hint=true,mkgmap:dest_hint=true,bicycle=yes,mkgmap:way-has-pois=true,mkgmap:exit_hint_ref=195A,mkgmap:label:1=Dest:<br>
&gt; Beltline Road East,oneway=yes] after<br>
&gt;<br>
</span>&gt; *(highway=motorway_link | highway=trunk_link) &amp; mkgmap:exit_hint=true &amp;*<br>
&gt; *mkgmap:dest_hint=true*<br>
&gt; *  { echotags &quot;before&quot;;*<br>
&gt; *name &#39;${destination:ref|subst: =&gt;} ${destination|subst:;=&gt; |subst:/=&gt; }&#39;<br>
&gt; |*<br>
&gt; *         &#39;${ref|subst: =&gt;} ${destination|subst:;=&gt; |subst:/=&gt; }&#39; |*<br>
&gt; *         &#39;${destination|subst:;=&gt; |subst:/=&gt; }&#39; |*<br>
&gt; *         &#39;Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}&#39; |*<br>
&gt; *         &#39;Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_exit_to}&#39; |*<br>
&gt; *         &#39;Exit ${mkgmap:exit_hint_exit_to}&#39; |*<br>
&gt; *         &#39;Exit ${mkgmap:exit_hint_name}&#39; |*<br>
&gt; *         &#39;Exit ${mkgmap:exit_hint_ref}&#39; ;*<br>
&gt; *echotags &quot;after&quot;*<br>
&gt; *       }*<br>
<span class="">&gt;<br>
&gt; This is my rule for debugging the destination tag and it appears before<br>
&gt; the<br>
&gt; rule above:<br>
&gt;<br>
</span>&gt; *destination=* &amp; (highway=motorway_link | highway=trunk_link) {name &#39;Dest:<br>
&gt; ${destination}&#39; }*<br>
<span class="">&gt;<br>
&gt; My exit_to rule is for points is here:<br>
&gt;<br>
</span>&gt; *exit_to=* {name &#39;Exit ${ref} ${exit_to}&#39; | &#39;${exit_to}&#39; }  [0x12615<br>
&gt; resolution 24]*<br>
<span class="">&gt;<br>
&gt; This produces the desired output on my maps but doesn&#39;t show up in stderr<br>
&gt; because I haven&#39;t yet put echotags into my points style file.<br>
&gt;<br>
&gt; Thanks for the good work....<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Dave Swarthout<br>
&gt; Homer, Alaska<br>
&gt; Chiang Mai, Thailand<br>
&gt; Travel Blog at <a href="http://dswarthout.blogspot.com" target="_blank">http://dswarthout.blogspot.com</a><br>
&gt;<br>
</span>&gt; _______________________________________________<br>
&gt; mkgmap-dev mailing list<br>
<br>
&gt; mkgmap-dev@.org<br>
<br>
&gt; <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gis.19327.n5.nabble.com/Patch-v1-improve-handling-of-exits-tp5845035p5845192.html" target="_blank">http://gis.19327.n5.nabble.com/Patch-v1-improve-handling-of-exits-tp5845035p5845192.html</a><br>
Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></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>