<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" 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>(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) & (mkgmap:exit_hint=true | mkgmap:dest_hint=true)<br>
{ 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 tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Von:</b> mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von greg crago <gregcrago@gmail.com><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 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>
</body>
</html>