<div dir="ltr">I should have tested using the DEFAULT STYLE, the exit and destination strings look correct using the DEFAULT STYLE.<div><br></div><div>Greg</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 3, 2016 at 12:26 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 don&#39;t think that r3669 introduced the problem. You can check this on your own</p>
<p>using the default style.</p>
<p>Another good tool to debug the style is the echotags action.</p>
<p>Use it like this:</p>
<p><span class="">(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) &amp; (mkgmap:exit_hint=true | mkgmap:dest_hint=true)<br></span>
  { echotags &quot;before&quot;;   name &#39;${exit_hint} ${dest_hint}&#39; | &#39;${dest_hint}&#39; | &#39;${exit_hint}&#39;; echotags &quot;after&quot;}<br>
The expected result would be a pair of two lines, the first one ending with before, the 2nd with after. The 2nd line should be different as the
<br>
</p>
<p>name action should add mkgmap:label1 .</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<p><br>
</p>
<p><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> Donnerstag, 3. März 2016 00:00<br>
<b>An:</b> Development list for mkgmap<br>
<b>Betreff:</b> [mkgmap-dev] Anyone verify that Exit info and Destination info still works in mkgmap r3669?</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>I seem to have lost the &#39;Nuvi&#39; looking Exit and Destination strings I use to get on mkgmap with --process-exits &amp; --process-destination options.<br>
<br>
</div>
Here is my compile command:<br>
<br>
java -ea -Xmx1024M -jar \MKGMAP\mkgmap-r3669\mkgmap-r3669\mkgmap.jar --gmapsupp --description=&quot;Metro Area 2016.3.1&quot; --latin1 --index --x-split-name-index --bounds=\MKGMAP\bounds.zip --location-autofill=is_in,nearest --housenumbers --overview-mapname=Plymouth-ov
 --overview-mapnumber=12390000 --remove-ovm-work-files --style-file=\MKGMAP\openmapchest-style\openmapchest --check-styles --family-id=555 --family-name=&quot;Plymouth&quot; --product-id=1 --series-name=&quot;Metro Area 2016.3.1&quot; --area-name=&quot;My maps&quot; --min-size-polygon --route
 --drive-on=detect,right --check-roundabouts --check-roundabout-flares --remove-short-arcs --add-pois-to-areas --pois-to-areas-placement=&quot;entrance=main;entrance=yes;building=entrance&quot; --generate-sea=extend-sea-sectors,multipolygon,floodblocker,close-gaps=6000
 --make-poi-index --make-opposite-cycleways --process-destination --process-exits --tdbfile --poi-address --verbose --input-file=12390005.osm.pbf --input-file=12390006.osm.pbf --input-file=12390007.osm.pbf master_thin.txt<br>
<br>
<br>
</div>
And here is the section in the &#39;lines&#39; file:<br>
<br>
# start of rules for process-exits and process-destination options<br>
# which may add info to a part of these highway=*_link roads:<br>
# motorway_link, trunk_link, primary_link, secondary_link, tertiary_link<br>
# build destination hint <br>
dest_hint=* { delete dest_hint }<br>
(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) &amp; mkgmap:dest_hint=true<br>
#  { set dest_hint = &#39;${destination:ref|subst: =&gt;} ${destination|subst:;=&gt; |subst:/=&gt; }&#39; |<br>
  { 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; |<br>
<br>
<br>
         &#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;<br>
         &#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; |
<br>
         &#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; |<br>
         &#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; |<br>
         &#39;${destination|subst:;=&gt;,|subst:/=&gt;,}&#39;;<br>
       }<br>
# build exit hint <br>
exit_hint=* { delete exit_hint }<br>
(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) &amp; mkgmap:exit_hint=true
<br>
  { 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; |
<br>
         &#39;Exit ${ref|subst: South=&gt; S|subst: North=&gt; N|subst: East=&gt; E|subst: West=&gt; W}&#39; |<br>
         &#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; | <br>
         &#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; |<br>
         &#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; |<br>
         &#39;Exit ${mkgmap:exit_hint_ref|subst: South=&gt; S|subst: North=&gt; N|subst: East=&gt; E|subst: West=&gt; W}&#39;;<br>
       }<br>
<br>
# use destination hint and/or exit hint to build name              <br>
(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) &amp; (mkgmap:exit_hint=true | mkgmap:dest_hint=true)<br>
  {    name &#39;${exit_hint} ${dest_hint}&#39; | &#39;${dest_hint}&#39; | &#39;${exit_hint}&#39;}<br>
  <br>
# end of rules for process-exits and process-destination options    <br>
<br>
<br>
</div>
Am I missing something, or did the EXIT and DESTINATION feature stop working?<br>
<br>
</div>
Greg<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>