
Hi, On Wed, Mar 11, 2009 at 3:22 AM, Ralf Kleineisel <ralf@kleineisel.de> wrote:
Clinton Gladstone wrote:
- Before I changed the *_link rules to 0x09 and 0x08, my device did not give as precise a description of the exit. The exits were not described as "ramps" in the description.
I can affirm the above statement. Routing instructions in the complicated motorway/trunk junction are much better with 0x09 and 0x08 for links.
So far the codes with special meaning for routing I am aware of are 0x0c (roundabout), 0x08 (trunk_link) and 0x09 (motorway_link).
Thanks for working this out guys! I've attached a patch to fix this in the default style. It would be nice to get this committed so that everyone can get this fix by default. Cheers, Ben Index: /home/ben/workspace/mkgmap2/resources/styles/default/lines =================================================================== --- /home/ben/workspace/mkgmap2/resources/styles/default/lines (revision 974) +++ /home/ben/workspace/mkgmap2/resources/styles/default/lines (working copy) @@ -23,10 +23,10 @@ highway=footway {add access = no; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 23] highway=minor [0x06 road_class=1 road_speed=2 resolution 21] highway=motorway {add oneway = yes; add bicycle = no; add foot = no } [0x01 road_class=4 road_speed=6 resolution 12] -highway=motorway_link {add oneway = yes; add bicycle = no; add foot = no } [0x01 road_class=4 road_speed=3 resolution 16] +highway=motorway_link {add oneway = yes; add bicycle = no; add foot = no } [0x09 road_class=4 road_speed=3 resolution 16] highway=pedestrian & area!=yes [0x06 road_class=0 road_speed=0 resolution 22] highway=primary [0x02 road_class=3 road_speed=4 resolution 19] -highway=primary_link [0x03 road_class=3 road_speed=3 resolution 19] +highway=primary_link [0x08 road_class=3 road_speed=3 resolution 19] highway=residential | highway=living_street [0x06 road_class=0 road_speed=2 resolution 21] highway=secondary [0x04 road_class=2 road_speed=3 resolution 20] highway=path {add access = no; add bicycle = yes; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 20] @@ -35,7 +35,7 @@ highway=tertiary [0x05 road_class=1 road_speed=3 resolution 20] highway=track [0x0a road_class=0 road_speed=1 resolution 21] highway=trunk [0x02 road_class=3 road_speed=5 resolution 16] -highway=trunk_link [0x02 road_class=3 road_speed=3 resolution 16] +highway=trunk_link [0x08 road_class=3 road_speed=3 resolution 16] highway=unclassified [0x06 road_class=1 road_speed=2 resolution 21] highway=unsurfaced [0x0a road_class=0 road_speed=1 resolution 21]