Hi Anor,
see attached patch, the binary is here: http://files.mkgmap.org.uk/download/288/mkgmap.jar Gerd ________________________________ Von: [email protected] <[email protected]> im Auftrag von A. Carlos <[email protected]> Gesendet: Freitag, 22. Januar 2016 22:48 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#) Hi Gerd. I'm sorry, I tried to make the changes, but do not know how. Only able to adjust the rules in the lines. But if you ever want to implement them in mkgmap in all the link. Thank you, I'm here to test this stuff. _______________________________________________________________________________________________________ Anor ________________________________ From: [email protected] To: [email protected] Date: Thu, 21 Jan 2016 13:22:08 +0000 Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#) Hi Anor, yes, if you think that makes sense. You have to modify the code in LinkDestinationHook.java first so that these two sets contain the corresponding strings: private final static Set<String> highwayTypes = new LinkedHashSet<String>(Arrays.asList( "motorway", "trunk", "primary", "motorway_link", "trunk_link", "primary_link")); private HashSet<String> linkTypes = new HashSet<String>(Arrays.asList( "motorway_link", "trunk_link", "primary_link")); and then modify the rules. Gerd ________________________________ Von: [email protected] <[email protected]> im Auftrag von A. Carlos <[email protected]> Gesendet: Donnerstag, 21. Januar 2016 13:56 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#) hello Gerd the default style have (highway = motorway_link | trunk_link highway = | = highway primary_link) & mkgmap: exit_hint = * & mkgmap: dest_hint = true! {Name '$ {destination: ref | subst: =>} $ {destination | subst:; => | subst: / =>}' | '$ {ref | subst: =>} $ {destination | subst:; => | subst: / =>}' | '$ {destination | subst:; => | subst: / =>}' } is possílvel include this also in secondary_link, tertiary_link ? _______________________________________________________________________________________________________ Anor C. A. de Souza Concórdia SC ________________________________ From: [email protected] To: [email protected] Date: Wed, 20 Jan 2016 07:42:02 +0000 Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#) Hi Greg, I just tried your example with the default style. I see a hint containing the exit number (28) when I only use --process-exits (without --process-destination) With --process-destination I see the hint "Exit right onto ramp onto Plymouth Livonia" I am not sure if it is intended that the --process-destination "removes" the exit hint, this looks like an error to me. I'll have to dig into the code and the archives to understand what it should do. In the meantime you may check your style: Does your lines file contain rules like these? (highway=motorway_link | highway=trunk_link | highway=primary_link) & mkgmap:exit_hint=true & mkgmap:dest_hint=true { name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | '${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | '${destination|subst:;=> |subst:/=> }' | '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}' } (highway=motorway_link | highway=trunk_link | highway=primary_link) & mkgmap:exit_hint!=* & mkgmap:dest_hint=true { name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | '${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | '${destination|subst:;=> |subst:/=> }' } (highway=motorway_link | highway=trunk_link | highway=primary_link) & mkgmap:exit_hint=true & mkgmap:dest_hint!=* { 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}' } Gerd ________________________________ Von: [email protected] <[email protected]> im Auftrag von greg crago <[email protected]> Gesendet: Mittwoch, 20. Januar 2016 00:28 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#) Yes Gerd, I use both of those options in my mkgmap command. Is there any other way to get the EXIT number displayed on my GPS during active routing for the 'next turn'? Greg On Tue, Jan 19, 2016 at 1:52 PM, Gerd Petermann <[email protected]<mailto:[email protected]>> wrote: Hi Greg, I did not yet try your example, but I am sure that neither the java code nor the default style handles the tag destination:street. I think this can be changed, not sure whether in the style or in the java code. Besides that: do you use the option --process-destinations and --process-exits ? Gerd ________________________________ Von: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> im Auftrag von greg crago <[email protected]<mailto:[email protected]>> Gesendet: Dienstag, 19. Januar 2016 19:34 An: [email protected]<mailto:[email protected]> Betreff: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#) I have entered exit info to this NODE: highway=motorway_junction ref=28 https://www.openstreetmap.org/node/62928686 [http://www.openstreetmap.org/assets/osm_logo_256-835a859acf0d378e1d14e88b15e7b4b95211ccd41a2c061b1629cfbbb8deb697.png]<https://www.openstreetmap.org/node/62928686> OpenStreetMap | Node: 62928686<https://www.openstreetmap.org/node/62928686> www.openstreetmap.org<http://www.openstreetmap.org> OpenStreetMap is a map of the world, created by people like you and free to use under an open license. I have entered this information on the following WAY: destination=Plymouth;Livonia destination:street=Ann Arbor Road https://www.openstreetmap.org/way/25926768 When I activate a ROUTE on my GARMIN MONTANA 600, It show "in 6mi, PLYMOUTH ANN ARBOR (using the Nuvi type layout) I do not get any EXIT or STREET information (in 6mi, exit 28, Ann Arbor road PLYMOUTH LIVONIA)", Am I doing something wrong? Greg _______________________________________________ mkgmap-dev mailing list [email protected]<mailto:[email protected]> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
link-hook-v1.patch
Description: link-hook-v1.patch
_______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
