<div dir="ltr">This node:<div><br></div><div><a href="https://www.openstreetmap.org/node/62479515">https://www.openstreetmap.org/node/62479515</a><br></div><div><br></div><div>has highway=motorway_junction and noref=yes</div><div><br></div><div>and my line file contains:</div><div><br></div><div><div># build exit hint </div><div>exit_hint=* { delete exit_hint }</div><div>(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) & mkgmap:exit_hint=true </div><div>  { set exit_hint = 'Exit ${mkgmap:exit_hint_ref}';</div><div>#<span class="" style="white-space:pre">                                       </span>'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}' | </div><div>#<span class="" style="white-space:pre">                                      </span>'Exit ${ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W}' |</div><div>#<span class="" style="white-space:pre">                                     </span>'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}' | </div><div>#<span class="" style="white-space:pre">                                     </span>'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}' |</div><div>#<span class="" style="white-space:pre">                                     </span>'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}' |</div><div>#<span class="" style="white-space:pre">                                        </span>'Exit ${mkgmap:exit_hint_ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W}';</div></div><div><br></div><div>The resulting EXIT and MOTORWAY_LINK info builds this string:</div><div><br></div><div>Exit Noref Wiard Rd-Willow Run Airport<br></div><div><br></div><div>Since there is NO ref= tag, which one of the mkgmap variables is being set to NOREF.</div><div>I want to write code to blank out the NOREF.</div><div><br></div><div>thanks</div><div>Greg</div></div>