[mkgmap-dev] [PATCH v2] - name motorway exit roads from the exits' namesFrom Mark Burton markb at ordern.com on Mon Oct 5 00:24:57 BST 2009
v2 - now based on r1260.
-------------
Annoyingly, motorway exit POIs don't show up on my Nuvi so I thought
that the next best thing would be to label the exit roads with the exit
name (number). This patch does that in a generic way. It introduces a
new facility:
If a way (of highway type X) has a POI for its first point and that
POI has a tag called X_name, set the way's name to that tag's value.
So, if the exit POI (which should be positioned on the first point of
the exit ramp) set's motorway_link_name to its name/ref, then the ramp
will get that name. So the points style file has something like:
highway=motorway_junction & ref=* { add motorway_link_name = '${ref}'
name '${ref}' } highway=motorway_junction & name=* { add
motorway_link_name = '${name}' name '${name}'}
With the patch in place, you need to use the --link-pois-to-ways
option for this to work.
All feedback appreciated.
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-exit-road-names-v2.patch
Type: text/x-patch
Size: 2748 bytes
Desc: not available
Url : http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091005/24891a84/attachment.bin
More information about the mkgmap-dev mailing list |