[mkgmap-dev] [PATCH v1] - name motorway exit roads from the exits' names
From Mark Burton markb at ordern.com on Sat Oct 3 15:05:08 BST 2009
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-v1.patch Type: text/x-patch Size: 3033 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091003/156244cd/attachment.bin
- Previous message: [mkgmap-dev] Commit: r1257: Add MDR 7 for street names.
- Next message: [mkgmap-dev] Routing through bollard
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list