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 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

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_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 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

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_junction ref=28
https://www.openstreetmap.org/node/62928686 <https://www.openstreetmap.org/node/62928686> OpenStreetMap | Node: 62928686 <https://www.openstreetmap.org/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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

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<mailto: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<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von greg crago <gregcrago@gmail.com<mailto:gregcrago@gmail.com>> Gesendet: Dienstag, 19. Januar 2016 19:34 An: mkgmap-dev@lists.mkgmap.org.uk<mailto: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_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 mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

I will try this with the latest mkgmap file with my montana 600 series garmin hand held unit Stephen On Wed, Jan 20, 2016 at 5:42 PM, Gerd Petermann < GPetermann_muenchen@hotmail.com> wrote:
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_junction ref=28
https://www.openstreetmap.org/node/62928686 <https://www.openstreetmap.org/node/62928686> OpenStreetMap | Node: 62928686 <https://www.openstreetmap.org/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@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

Yes Gerd, I have the code in my lines file that you mentioned. When you test this. Did you download an .img file to a GPS, or is there an 'on-line GPS simulator?' Greg On Wed, Jan 20, 2016 at 3:09 AM, Steve Sgalowski <steve.sgalowski@gmail.com> wrote:
I will try this with the latest mkgmap file with my montana 600 series garmin hand held unit
Stephen
On Wed, Jan 20, 2016 at 5:42 PM, Gerd Petermann < GPetermann_muenchen@hotmail.com> wrote:
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_junction ref=28
https://www.openstreetmap.org/node/62928686 <https://www.openstreetmap.org/node/62928686> OpenStreetMap | Node: 62928686 <https://www.openstreetmap.org/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@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

so far it is being compiled on my custom map with this string , am now trying process destination in the same string start /low /b /wait java -enableassertions -Xmx2100m -jar ..\bin\mkgmap.jar --link-pois-to-ways --polygon-size-limits="23:15, 22:14, 21:13,20:12,19:11 18:10, 17:9, 16:8, 15:7, 14:6, 13:5, 12:4 ,11:3 10:2, 9:1, 8:0 " --process-exits --process-destination --merge-lines --style=default --pois-to-areas-placement=tagelist --tdbfile --transparent --make-poi-index --reduce-point-density=2.6 --reduce-point-density-polygon=4 --index --levels=0:24,1:23,2:22,3:21,4:20,5:19,6:18,7:16 --verbose --route --country-name="%country%" --family-id=%FID% --mapname=66%FID%001 --overview-mapname=66%FID%000 --series-name="OSM-%country%" --family-name="OpenStreetMap: %country%" --style-file=..\bin\styles\ --style=%style% --description="%country%" -c ..\bin\template_basic.args -c template.args %TypFileToAdd% Stephen On Thu, Jan 21, 2016 at 7:42 AM, greg crago <gregcrago@gmail.com> wrote:
Yes Gerd, I have the code in my lines file that you mentioned.
When you test this. Did you download an .img file to a GPS, or is there an 'on-line GPS simulator?'
Greg
On Wed, Jan 20, 2016 at 3:09 AM, Steve Sgalowski < steve.sgalowski@gmail.com> wrote:
I will try this with the latest mkgmap file with my montana 600 series garmin hand held unit
Stephen
On Wed, Jan 20, 2016 at 5:42 PM, Gerd Petermann < GPetermann_muenchen@hotmail.com> wrote:
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_junction ref=28
https://www.openstreetmap.org/node/62928686 <https://www.openstreetmap.org/node/62928686> OpenStreetMap | Node: 62928686 <https://www.openstreetmap.org/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@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

greg crago wrote
Yes Gerd, I have the code in my lines file that you mentioned.
When you test this. Did you download an .img file to a GPS, or is there an 'on-line GPS simulator?'
I used the Garmin Windows program MapSource. I think I found the reason for the problem, here is what happens: The options process-exits and process-destination work as documented, they create tags with mkgmap:exit_hint=true and mkgmap:dest_hint=true for you case, so this rule is used: (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}' } Now, this rule lists a set of alternatives to create the name for the way. The first alternative that returns a string is used. In your case that is this one : '${destination|subst:;=> |subst:/=> }' The following alternatives are ignored, therefore the (wanted ) text "Exit 28" doesn't appear. Attached is a patch that can solve this issue, I hope someone finds a better solution. My approach: Build the hint for the destination, build the hint for the exit, finally combine them. I don't know if that is too simple. I've also attached the complete modified lines file for the default style. Gerd hints_v1.patch <http://gis.19327.n5.nabble.com/file/n5865310/hints_v1.patch> lines.lines <http://gis.19327.n5.nabble.com/file/n5865310/lines.lines> -- View this message in context: http://gis.19327.n5.nabble.com/Trying-to-get-EXIT-info-on-my-MONTANA-600-usi... Sent from the Mkgmap Development mailing list archive at Nabble.com.

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_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@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

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<mailto: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<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von greg crago <gregcrago@gmail.com<mailto:gregcrago@gmail.com>> Gesendet: Dienstag, 19. Januar 2016 19:34 An: mkgmap-dev@lists.mkgmap.org.uk<mailto: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_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 mkgmap-dev@lists.mkgmap.org.uk<mailto: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

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_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@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

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_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@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
Links: ------ [1] https://www.openstreetmap.org/node/62928686 [2] http://www.openstreetmap.org

Hi Colin, I also thought about this but found no meaningful option name. Any ideas? Gerd ________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Colin Smale <colin.smale@xs4all.nl> Gesendet: Donnerstag, 21. Januar 2016 14:39 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#) 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<mailto: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<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von greg crago <gregcrago@gmail.com<mailto:gregcrago@gmail.com>> Gesendet: Dienstag, 19. Januar 2016 19:34 An: mkgmap-dev@lists.mkgmap.org.uk<mailto: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_junction ref=28 https://www.openstreetmap.org/node/62928686 [X]<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 mkgmap-dev@lists.mkgmap.org.uk<mailto: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<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

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@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_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@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

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. _______________________________________________________________________________________________________ Anor ________________________________ 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<mailto: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<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von greg crago <gregcrago@gmail.com<mailto:gregcrago@gmail.com>> Gesendet: Dienstag, 19. Januar 2016 19:34 An: mkgmap-dev@lists.mkgmap.org.uk<mailto: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_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 mkgmap-dev@lists.mkgmap.org.uk<mailto: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

Hi Gerd Thanks, here both the audio and the video information out right in every link. To get better now is just going by setting it on the map For me can make it definitively in binary _______________________________________________________________________________________________________ Anor C. A. de Souza 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. _______________________________________________________________________________________________________ Anor 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_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@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

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}' } _______________________________________________________________________________________________________ Anor C. A. de Souza 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. _______________________________________________________________________________________________________ Anor 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_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@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

Hi Anor, thanks for reporting. I guess that the link-hook-v1.patch is rather harmless, but I want to verify this during the next days. 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: Montag, 25. Januar 2016 06:03 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 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}' } _______________________________________________________________________________________________________ Anor C. A. de Souza ________________________________ 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. _______________________________________________________________________________________________________ Anor ________________________________ 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<mailto: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<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk> <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>> im Auftrag von greg crago <gregcrago@gmail.com<mailto:gregcrago@gmail.com>> Gesendet: Dienstag, 19. Januar 2016 19:34 An: mkgmap-dev@lists.mkgmap.org.uk<mailto: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_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 mkgmap-dev@lists.mkgmap.org.uk<mailto: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

Hi Gerd Ok, with this attachment line does not show in GPS and Mapsource. However, the binary is right, then the setting is in lines. As in my example _______________________________________________________________________________________________________ Anor C. A. de Souza From: GPetermann_muenchen@hotmail.com To: mkgmap-dev@lists.mkgmap.org.uk Date: Mon, 25 Jan 2016 05:17:20 +0000 Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#) Hi Anor, thanks for reporting. I guess that the link-hook-v1.patch is rather harmless, but I want to verify this during the next days. 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: Montag, 25. Januar 2016 06:03 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 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}' } _______________________________________________________________________________________________________ Anor C. A. de Souza 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. _______________________________________________________________________________________________________ Anor 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_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@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 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (6)
-
A. Carlos
-
Colin Smale
-
Gerd Petermann
-
Gerd Petermann
-
greg crago
-
Steve Sgalowski