<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"><<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 don'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) & (mkgmap:exit_hint=true | mkgmap:dest_hint=true)<br></span>
{ echotags "before"; name '${exit_hint} ${dest_hint}' | '${dest_hint}' | '${exit_hint}'; echotags "after"}<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> <<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>
<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 'Nuvi' looking Exit and Destination strings I use to get on mkgmap with --process-exits & --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="Metro Area 2016.3.1" --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="Plymouth" --product-id=1 --series-name="Metro Area 2016.3.1" --area-name="My maps" --min-size-polygon --route
--drive-on=detect,right --check-roundabouts --check-roundabout-flares --remove-short-arcs --add-pois-to-areas --pois-to-areas-placement="entrance=main;entrance=yes;building=entrance" --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 'lines' 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) & mkgmap:dest_hint=true<br>
# { set dest_hint = '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |<br>
{ 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:/=>,}' |<br>
<br>
<br>
'${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:/=>,}'<br>
'${ref|subst: =>|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W} - ${destination|subst:;=>,|subst:/=>,}' |
<br>
'${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}' |<br>
'${exit_to|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=> Pkwy|subst: Highway=> Hwy}' |<br>
'${destination|subst:;=>,|subst:/=>,}';<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) & mkgmap:exit_hint=true
<br>
{ 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}' |
<br>
'Exit ${ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W}' |<br>
'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}' | <br>
'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}' |<br>
'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}' |<br>
'Exit ${mkgmap:exit_hint_ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W}';<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) & (mkgmap:exit_hint=true | mkgmap:dest_hint=true)<br>
{ name '${exit_hint} ${dest_hint}' | '${dest_hint}' | '${exit_hint}'}<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>