logo separator

[mkgmap-dev] process-exits vs process-destination

From WanMil wmgcnfg at web.de on Wed Apr 10 19:32:10 BST 2013

Hi Franco,

process-exits and process-destination works fine together. In case the 
_link starts at an exit and contains a destination tag it is split and 
the middle part contains the tags:
mkgmap:exit_hint=true
mkgmap:dest_hint=true

You can have a look at the default style how to use that:
(highway=motorway_link | highway=trunk_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) & 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) & 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}'
        }

WanMil

> Hi all,
>
> is there a way to combine the features process-exits and
> process-destination in a single style ?
>
> Based on my experience process-desitnation does a marvellous job when
> entering a motorway ( does it also work with also trunk roads ? ), while
> process-extis is perfect when leaving a motorway or trunk road.
>
> For instance the roundabout here
> http://www.openstreetmap.org/?lat=47.89665&lon=10.64805&zoom=17
> has two exits towards the B12.
>
> Routing from the "Sudetenstraße" going North (maybe towards Augsburg) I
> would like the Garmin device to announce "5 th Exit - B12 (München)". On
> the other hand routing to the South (maybe Kempten) it should announce
> "2nd exit - B12 (Kempten)".
> Using process-exits this does not work, it's only "5th Exit - B12" resp.
> "2nd Exit - B12".
> I would have to use process-destination instead to get the desired
> messages displayed.
>
> Coming home from the trip, routing from the B12 towards "Sudetenstraße"
> I would like "exit to the right - Exit  Kaufbeuren".
> Using process-exits this works perfectly.
> Would I use process-destination I would get "exit to the right towards
> B12 Verteilerring" or even "exit to the right towards Sudetenstraße" a
> really useless announcement as the sign on the trunk road reads
> "Kaufbeuren / Neugablonz / Mauerstetten".
>
> So this is why I would like to have an option that combines the
> functionality of process-exits and process-destination.
> Do you see any way to achieve this in one single style ?
>
> Ciao,
>    Franco
>
>
>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



More information about the mkgmap-dev mailing list