logo separator

[mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)

From Colin Smale colin.smale at xs4all.nl on Thu Jan 21 13:39:08 GMT 2016

Could the lists of tags maybe be externalised into the config file, with
a sensible default? 

//colin

On 2016-01-21 14:37, A. Carlos wrote:

> Thank you Gerd
> 
> I will try to do it here, but if you can change there and release a beta version.
> Here we have many cases that this rule can be used
> 
> _______________________________________________________________________________________________________ 
> 
> ANOR C. A. DE SOUZA                                                              CONCÓRDIA SC  
> 
> -------------------------
> 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 
>> 
>> [1] 
>> 
>> OpenStreetMap | Node: 62928686 [1] 
>> www.openstreetmap.org [2] 
>> 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 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 

Links:
------
[1] https://www.openstreetmap.org/node/62928686
[2] http://www.openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160121/e040ed3e/attachment-0001.html>


More information about the mkgmap-dev mailing list