[mkgmap-dev] Motorway_junction with noref=yes is getting assigned to a mkgmap variable
From Gerd Petermann GPetermann_muenchen at hotmail.com on Sat Apr 9 08:56:18 BST 2016
Hi Greg, I think the problem must be in the lines that follow the snippet. Please note that the snippet ends with a semicolon and a missing closing "}" so the parser in mkgmap expects more. Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von greg crago <gregcrago at gmail.com> Gesendet: Samstag, 9. April 2016 01:49 An: Development list for mkgmap Betreff: [mkgmap-dev] Motorway_junction with noref=yes is getting assigned to a mkgmap variable This node: https://www.openstreetmap.org/node/62479515 [http://www.openstreetmap.org/assets/osm_logo_256-835a859acf0d378e1d14e88b15e7b4b95211ccd41a2c061b1629cfbbb8deb697.png]<https://www.openstreetmap.org/node/62479515> OpenStreetMap | Node: 62479515<https://www.openstreetmap.org/node/62479515> www.openstreetmap.org OpenStreetMap is a map of the world, created by people like you and free to use under an open license. has highway=motorway_junction and noref=yes and my line file contains: # build exit hint exit_hint=* { delete exit_hint } (highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) & mkgmap:exit_hint=true { set exit_hint = 'Exit ${mkgmap:exit_hint_ref}'; # '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}' | # 'Exit ${ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W}' | # '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}' | # '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}' | # '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}' | # 'Exit ${mkgmap:exit_hint_ref|subst: South=> S|subst: North=> N|subst: East=> E|subst: West=> W}'; The resulting EXIT and MOTORWAY_LINK info builds this string: Exit Noref Wiard Rd-Willow Run Airport Since there is NO ref= tag, which one of the mkgmap variables is being set to NOREF. I want to write code to blank out the NOREF. thanks Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160409/4e5c2904/attachment-0001.html>
- Previous message: [mkgmap-dev] Motorway_junction with noref=yes is getting assigned to a mkgmap variable
- Next message: [mkgmap-dev] errors after 2nd april
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list