Now we are getting somewhere:
I ran this code:
# build destination hint
dest_hint=* { delete dest_hint }
highway=* & mkgmap:dest_hint=true { echo 'BEFORE destination=${destination}';
set destination:ref = '${destination:ref|subst:South=> S|subst:North=> N|subst:East=> E|subst:West=> W|subst:I =>I-|subst:M =>M-|subst:US =>US-}';
set destination = '${destination|subst:/=>,}';
set destination:street = '${destination:street|subst:;=>,|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=> Pkwy|subst: Highway=> Hwy|subst: Southwest=> SW|subst: Northwest=> NW|subst: Southeast=> SE|subst: Northeast=> NE}';
echo 'AFTER destination=${destination}';
}
And got this response from mkgmap:
Time started: Sun Mar 20 19:09:49 EDT 2016
Found one style in \MKGMAP\openmapchest-style\openmapchest
finished check-styles
4611686018427387907 (8729200): BEFORE destination=Beck Road
4611686018427387907 (8729200): AFTER destination=Beck Road
4611686018427387909 (8729934): BEFORE destination=Beck Road
4611686018427387909 (8729934): AFTER destination=Beck Road
Number of MapFailedExceptions: 0
Number of ExitExceptions: 0
Time finished: Sun Mar 20 19:09:51 EDT 2016
Total time taken: 1497ms
If you look at the OSM data, there IS NO DESTINATION tag, so why is "Beck Road" being set for variable $[destination] ??
Greg