Commit: r2461: Merge the mkgmap_exits branch

Version 2461 was committed by wanmil on Wed, 23 Jan 2013 Merge the mkgmap_exits branch The new motorway exit processing can be activated with the --process-exits option.

Hello, i activated the new option and changed the lines file according to the lines file in the default style. The generated gmapsupp.img is slightly bigger than the normal one. Unfortunately i don't see any difference in routing hints? Do i have to activate some switches in my navigator? I use the etrex Vista HCx, if that matters. Regards, Uli -- View this message in context: http://gis.19327.n5.nabble.com/Commit-r2461-Merge-the-mkgmap-exits-branch-tp... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Uli, I don't know if the extrex Vista does something different to generate its hints. What hint do you get when you leave the motorway? What hint do you get when you enter the motorway? Can you post your line style file? Can you post an example motorway exit where it doesn't work? (Permalink of OSM or node id) It's a new option and probably we have to learn how it behaves on different units. Thanks! WanMil
Hello,
i activated the new option and changed the lines file according to the lines file in the default style. The generated gmapsupp.img is slightly bigger than the normal one. Unfortunately i don't see any difference in routing hints? Do i have to activate some switches in my navigator? I use the etrex Vista HCx, if that matters.
Regards, Uli

Hello WanMil, i get a simple "A391 nach A2" message and then at the junction i get "rechts auf A2 abbiegen". I expected something like "rechts auf A2 Richtung Berlin abbiegen"? Here is my lines file: lines <http://gis.19327.n5.nabble.com/file/n5746640/lines> Regards, Uli -- View this message in context: http://gis.19327.n5.nabble.com/Commit-r2461-Merge-the-mkgmap-exits-branch-tp... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Uli, your lines file contains the following rule: highway=motorway_link & mkgmap:exit_hint=true { delete mkgmap:display_name; name 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}' | 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_exit_to}' | 'Exit ${mkgmap:exit_hint_exit_to}' | 'Exit ${mkgmap:exit_hint_name}' | 'Exit ${mkgmap:exit_hint_ref}' } This means that you change the name of the mkgmap:exit_hint part. But this part still uses the Garmin code 0x09 for motorway_link which is assigned later in your lines file. Garmin ignores the names on 0x09 lines but reports the name of the next routeable way which is not a link (0x09 or 0x08(?)). So you have to assign a routable non link Garmin type to the mkgmap:exit_hint=true part. Just add the line before your common motorway_link rule: highway=motorway_link & mkgmap:exit_hint=true [0x01 road_class=4 road_speed=3 level 4] That should work. But you will not get the message "rechts auf A2 Richtung Berlin abbiegen". The --process-exits option adds the name of the exit so something link "leave the highway to exit 2 Kreuz Braunschweig-Nord". When using the --process-destination option you might get the message "keep right to A2 (Berlin)" afterwards. A combination of both in one message is not possible at the moment. I have to think about if I can combine both hints to one. WanMil
Hello WanMil,
i get a simple "A391 nach A2" message and then at the junction i get "rechts auf A2 abbiegen". I expected something like "rechts auf A2 Richtung Berlin abbiegen"?
Here is my lines file: lines <http://gis.19327.n5.nabble.com/file/n5746640/lines>
Regards, Uli
-- View this message in context: http://gis.19327.n5.nabble.com/Commit-r2461-Merge-the-mkgmap-exits-branch-tp... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Thanks a lot, i'll try at once and will see tomorrow, if it works. If i use the --process-destination option, do i have to add another command to the lines file? Regards, Uli -- View this message in context: http://gis.19327.n5.nabble.com/Commit-r2461-Merge-the-mkgmap-exits-branch-tp... Sent from the Mkgmap Development mailing list archive at Nabble.com.

If i use the --process-destination option, do i have to add another command to the lines file?
Yes. You have to use the destination tag to compile the name/mkgmap:display_name: That's what the default style looks like: (highway=motorway|highway=trunk ) & ref=* & destination=* { add mkgmap:display_name = '${ref|subst: =>}(${destination|subst:;=> |subst:/=> })' } WanMil

Again: Thanks a lot! The new gmapsupp.img, that starts being computed this night @1:10am will be made with the new settings. I will report tomorrow! Thanks again and king regards, Uli -- View this message in context: http://gis.19327.n5.nabble.com/Commit-r2461-Merge-the-mkgmap-exits-branch-tp... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hello again, yes it worked, at least partly. ;) When going from A391 to A2 it only says: "Nach Osten auf A2" but when going from A2 to A39 it says: "Rechts auf A39 abbiegen (Salzwedel,Wolfsburg)" <- That is new! :) Thanks again and kind regards, Uli -- View this message in context: http://gis.19327.n5.nabble.com/Commit-r2461-Merge-the-mkgmap-exits-branch-tp... Sent from the Mkgmap Development mailing list archive at Nabble.com.

@ Ulibear every interchange should ideally be tagged with the destination<http://wiki.openstreetmap.org/wiki/Key:destination>and the destination:ref <http://wiki.openstreetmap.org/wiki/Key:destination:ref> keys, the AK Braunschweig-Nord does not have them. Both tags can also be used on primary/secondary/tertiary roads with for example this rule in the style file: highway=primary & destination:ref=* {name '${destination:ref|highway-symbol:box} ${name}' | '${destination:ref|highway-symbol:box}' | '${name}' ; add mkgmap:display_name = '${destination:ref} (${destination})' } It would be great if you would enrich OSM with both these tags as much as you can, the OSM Garmin maps benefit a lot from it. Cheers, Johan 2013/1/28 UliBaer <ulibaer@gmail.com>
Hello again,
yes it worked, at least partly. ;) When going from A391 to A2 it only says: "Nach Osten auf A2" but when going from A2 to A39 it says: "Rechts auf A39 abbiegen (Salzwedel,Wolfsburg)" <- That is new! :)
Thanks again and kind regards, Uli
-- View this message in context: http://gis.19327.n5.nabble.com/Commit-r2461-Merge-the-mkgmap-exits-branch-tp... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (4)
-
Johan C
-
svn commit
-
UliBaer
-
WanMil