Hi
Gerd
With torque,
and adding the
line described below,
here worked on all the links
# Set highway names to include the reference if there is one
# highway=motorway { name '${ref|highway-symbol:hbox}' | '${ref|highway-symbol:hbox}' | '${name}' }
(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) & mkgmap:exit_hint=true & mkgmap:dest_hint=true
{ delete mkgmap:display_name;
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 | highway=secondary_link | highway=tertiary_link) & mkgmap:exit_hint!=* & mkgmap:dest_hint=true
{ delete mkgmap:display_name;
name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |
'${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |
'${destination|subst:;=> |subst:/=> }'
}
(highway=motorway_link | highway=trunk_link | highway=primary_link | highway=secondary_link | highway=tertiary_link) & mkgmap:exit_hint=true & mkgmap:dest_hint!=*
{ 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}'
}
_______________________________________________________________________________________________________
From: GPetermann_muenchen@hotmail.com
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Sat, 23 Jan 2016 07:26:27 +0000
Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)
Hi Anor,
see attached patch, the binary is here:
http://files.mkgmap.org.uk/download/288/mkgmap.jar
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: 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.
_______________________________________________________________________________________________________
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
_______________________________________________ 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