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@hotmail.com
To: mkgmap-dev@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@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von A. Carlos <anorcarlos@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@hotmail.com
To: mkgmap-dev@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@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von greg crago <gregcrago@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@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@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von greg crago <gregcrago@gmail.com>
Gesendet: Dienstag, 19. Januar 2016 19:34
An: mkgmap-dev@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_junctionref=28I have entered this information on the following WAY:destination=Plymouth;Livoniadestination:street=Ann Arbor RoadWhen 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@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev