[mkgmap-dev] Problem with Exit info while on a BRIDGE
From greg crago gregcrago at gmail.com on Fri Mar 11 15:24:20 GMT 2016
Gerd, think I found the problem. Orginal 'bad' line code: highway=motorway & bridge!=yes [0x0B road_class=4 road_speed=7 resolution 15 *continue*] highway=motorway & bridge=yes [0x01 road_class=4 road_speed=7 resolution 22] highway=motorway_link & bridge!=yes [0x09 road_class=4 road_speed=7 resolution 15 *continue*] highway=motorway_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=true) [0x1b road_class=3 road_speed=2 resolution 15 *continue*] highway=motorway_link & bridge!=yes [0x20 resolution 15 *continue*] highway=motorway_link & bridge=yes [0x01 road_class=4 road_speed=7 resolution 22] Re-arranged and removed several CONTINUE and it seems to work, highway=motorway & bridge!=yes [0x0B road_class=4 road_speed=7 resolution 15] highway=motorway & bridge=yes [0x01 road_class=4 road_speed=7 resolution 22] highway=motorway_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=true) [0x1b road_class=3 road_speed=2 resolution 15] highway=motorway_link & bridge!=yes [0x20 resolution 15 continue] highway=motorway_link & bridge!=yes [0x09 road_class=4 road_speed=7 resolution 15] highway=motorway_link & bridge=yes [0x01 road_class=4 road_speed=7 resolution 22] When I select the MOTORWAY_LINK on the GPS, I still get 'motorway_link (overlay)' [this is still from my TYP file] When I select a bridge that is IN THE MOTORWAY_LINK, I get 'bridge (always on top) [this is still from my TYP file] Maybe it is because I am using TRANSPARENT high speed ram 0x09 with a CONTINUE statement and over writing with 0x20 (motorway color overlay)? Greg On Tue, Mar 8, 2016 at 2:10 AM, Gerd Petermann < GPetermann_muenchen at hotmail.com> wrote: > Hi Greg, > > > sorry, I can't reproduce the problem. I've done this: > > - Create a copy of the default style > > - replace the files lines and points with your version > > - modifiy your batch file to match my paths and replace --gmapsupp by > --nsis to be able to check on the PC > > - download a small area around the node on the bridge > > - compile the map > > > Results: > > 1) The short part of the motorlink is named as expected: > > "EXIT 139 M-106 (COOPER ST) – DOWNTOWN JACKSON M106 COOPER ST - DOWNTOWN > JACKSON" > > (Maybe this is too long for a message, don't know if Garmin devices have a > limit here) > > > 2) In Mapsource I've created a route through that way and the hint appears > as expected. > > > Maybe you fixed the problem already ? > > > Gerd > > > > > > > ------------------------------ > *Von:* mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von > greg crago <gregcrago at gmail.com> > *Gesendet:* Dienstag, 8. März 2016 00:59 > > *An:* Development list for mkgmap > *Betreff:* Re: [mkgmap-dev] Problem with Exit info while on a BRIDGE > > Sorry about that. Here is my line and point files > > Greg > > On Sun, Mar 6, 2016 at 1:25 PM, Gerd Petermann < > GPetermann_muenchen at hotmail.com> wrote: > >> Hi Greg, >> >> >> we still don't know your style files, so it is hard to reproduce a >> problem. >> >> >> Gerd >> >> >> >> >> ------------------------------ >> *Von:* mkgmap-dev-bounces at lists.mkgmap.org.uk < >> mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von greg crago < >> gregcrago at gmail.com> >> *Gesendet:* Sonntag, 6. März 2016 16:48 >> >> *An:* Development list for mkgmap >> *Betreff:* Re: [mkgmap-dev] Problem with Exit info while on a BRIDGE >> >> Sorry, lost track of this thread, but I would like to find out why my TYP >> english 0x04 labels are getting used as NAME for my ways. Here is my mkgmap >> options and my TYP file. >> >> I though it might have been since I moved MOTORWAY linetype to 0x0b and >> moved BRIDGES to 0x01 (because I wanted to see BRIDGES on top of all other >> ways, it works). However my motorway_link have the have "Ramp-High speed >> TRANSPARENT" just like my 0x04 ENGLISH label is defined in my TYP file >> (master_thin.txt) >> >> Any help will be appreciated. >> Greg >> >> On Wed, Feb 17, 2016 at 12:31 PM, Gerd Petermann < >> GPetermann_muenchen at hotmail.com> wrote: >> >>> Hi Greg, >>> >>> >>> I also wonder why this happens. Can't say more without all your input >>> files (style, mkgmap-options ) >>> >>> You may check with GPSMapedit what data mkgmap stores in the img file. >>> If you open the img file with >>> >>> it and double click on a line it shows the attributes like type, routing >>> data etc. >>> >>> Despite a few errors / unsupported features it works well for this. >>> >>> >>> Gerd >>> >>> >>> ------------------------------ >>> *Von:* mkgmap-dev-bounces at lists.mkgmap.org.uk < >>> mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von greg crago < >>> gregcrago at gmail.com> >>> *Gesendet:* Mittwoch, 17. Februar 2016 17:26 >>> >>> *An:* Development list for mkgmap >>> *Betreff:* Re: [mkgmap-dev] Problem with Exit info while on a BRIDGE >>> >>> Yes, "bridge" is in my typ file (attached). I set this linetype to 0x01 >>> so Bridges are drawn on top of all other ways. (Pinns suggested this on his >>> website, and it seems to work) >>> >>> If I would have kept it 'standard' with "motorway=0x01" then does that >>> mean I would have gotten "motorway" shown on my GPS ? >>> >>> I am wondering why the linetype 0x01 (0x04 English) string is being >>> displayed at the exit ref, or destination. >>> >>> Greg >>> >>> On Wed, Feb 17, 2016 at 2:09 AM, Gerd Petermann < >>> GPetermann_muenchen at hotmail.com> wrote: >>> >>>> Hi Greg, >>>> >>>> >>>> the word doesn't come from mkgmap , so maybe you have it in your typ >>>> file ? >>>> >>>> I can't say more without knowing your input files. >>>> >>>> >>>> Gerd >>>> >>>> ------------------------------ >>>> *Von:* mkgmap-dev-bounces at lists.mkgmap.org.uk < >>>> mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von greg crago < >>>> gregcrago at gmail.com> >>>> *Gesendet:* Mittwoch, 17. Februar 2016 00:15 >>>> *An:* Development list for mkgmap >>>> *Betreff:* Re: [mkgmap-dev] Problem with Exit info while on a BRIDGE >>>> >>>> I searched the entire style files for "bridge" using notepad++ and the >>>> only instances are in the line file, but it is only when I test the TAG >>>> (bridge=yes | bridge!=yes) I do not see any place I have set the 'name' to >>>> 'bridge' >>>> >>>> Greg >>>> >>>> On Tue, Feb 16, 2016 at 12:47 AM, Gerd Petermann < >>>> GPetermann_muenchen at hotmail.com> wrote: >>>> >>>>> Hi Greg, >>>>> >>>>> >>>>> I did not try with the default style, it >>>>> >>>>> sounds like your style sets the name to bridge before these rules are >>>>> processed ? >>>>> >>>>> Note that the rules will not change that, the action >>>>> >>>>> { name '${exit_hint} ${dest_hint}' | '${dest_hint}' | >>>>> '${exit_hint}'} >>>>> >>>>> has no effect when name is already set. >>>>> >>>>> >>>>> Gerd >>>>> >>>>> >>>>> ------------------------------ >>>>> *Von:* mkgmap-dev-bounces at lists.mkgmap.org.uk < >>>>> mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von greg crago < >>>>> gregcrago at gmail.com> >>>>> *Gesendet:* Montag, 15. Februar 2016 22:47 >>>>> *An:* Development list for mkgmap >>>>> *Betreff:* [mkgmap-dev] Problem with Exit info while on a BRIDGE >>>>> >>>>> While traveling East on I-94 (in Michigan), my DESCRIPTION TEXT on my >>>>> GPS ( the Nuvi layout) said "Bridge" when it should have stated "Exit 139" >>>>> >>>>> Example: >>>>> https://www.openstreetmap.org/node/184647257 >>>>> <https://www.openstreetmap.org/node/184647257> >>>>> OpenStreetMap | Node: 184647257 >>>>> <https://www.openstreetmap.org/node/184647257> >>>>> www.openstreetmap.org >>>>> OpenStreetMap is a map of the world, created by people like you and >>>>> free to use under an open license. >>>>> >>>>> >>>>> here is my exit and destination commands from my lines file: >>>>> >>>>> dest_hint=* { delete dest_hint } >>>>> (highway=motorway_link | highway=trunk_link | highway=primary_link | >>>>> highway=secondary_link | highway=tertiary_link) & mkgmap:dest_hint=true >>>>> # { set dest_hint = '${destination:ref|subst: =>} >>>>> ${destination|subst:;=> |subst:/=> }' | >>>>> { 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:/=>,}' | >>>>> >>>>> >>>>> '${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:/=>,}' >>>>> '${ref|subst: =>|subst: South=> S|subst: North=> N|subst: East=> >>>>> E|subst: West=> W} - ${destination|subst:;=>,|subst:/=>,}' | >>>>> '${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}' | >>>>> '${exit_to|subst: Road=> Rd|subst: Street=> St|subst: Avenue=> >>>>> Ave|subst: Mile=> Mi|subst: Boulevard=> Blvd|subst: Parkway=> Pkwy|subst: >>>>> Highway=> Hwy}' | >>>>> '${destination|subst:;=>,|subst:/=>,}'; >>>>> } >>>>> # 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} >>>>> ${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}'; >>>>> } >>>>> >>>>> # use destination hint and/or exit hint to build name >>>>> (highway=motorway_link | highway=trunk_link | highway=primary_link | >>>>> highway=secondary_link | highway=tertiary_link) & (mkgmap:exit_hint=true | >>>>> mkgmap:dest_hint=true) >>>>> { name '${exit_hint} ${dest_hint}' | '${dest_hint}' | >>>>> '${exit_hint}'} >>>>> >>>>> >>>>> This only seems to happen when highway=motorway_junction is sitting on >>>>> a BRIDGE. >>>>> >>>>> Greg >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> mkgmap-dev mailing list >>>>> mkgmap-dev at lists.mkgmap.org.uk >>>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >>>>> >>>> >>>> >>>> _______________________________________________ >>>> mkgmap-dev mailing list >>>> mkgmap-dev at lists.mkgmap.org.uk >>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >>>> >>> >>> >>> _______________________________________________ >>> mkgmap-dev mailing list >>> mkgmap-dev at lists.mkgmap.org.uk >>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >>> >> >> >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev at lists.mkgmap.org.uk >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160311/c9220e91/attachment-0001.html>
- Previous message: [mkgmap-dev] Problem with Exit info while on a BRIDGE
- Next message: [mkgmap-dev] [Patch] don't ignore access=forestry
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list