[mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)
From A. Carlos anorcarlos at hotmail.com on Fri Jan 22 21:48:01 GMT 2016
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: GPetermann_muenchen at hotmail.com To: mkgmap-dev at lists.mkgmap.org.uk 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: mkgmap-dev-bounces at lists.mkgmap.org.uk <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von A. Carlos <anorcarlos at hotmail.com> 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: GPetermann_muenchen at hotmail.com To: mkgmap-dev at lists.mkgmap.org.uk 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: 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, 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 <GPetermann_muenchen at hotmail.com> 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: 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: Dienstag, 19. Januar 2016 19:34 An: mkgmap-dev at lists.mkgmap.org.uk 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 OpenStreetMap | Node: 62928686 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 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/20160122/71b585ad/attachment-0001.html>
- Previous message: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)
- Next message: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list