secondary_links, tertiary_links

While driving a while ago, I noticed highway ramps missing from my Vista HCx. Now, they are present but dashed lines. The problem is a combination of two things: a road that should be a motorway tagged as secondary (state highway), and mkgmap's default style not having rules for secondary_link and tertiary_link. I built maps with the following patch, and in RoadTrip the ramps now show up as ramps. Note that I used 0x09 insetad of 0x08 since that seems to be the lesser ramp class. Index: resources/styles/default/lines =================================================================== --- resources/styles/default/lines (revision 1122) +++ resources/styles/default/lines (working copy) @@ -45,10 +45,12 @@ 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 23] highway=secondary [0x04 road_class=2 road_speed=3 resolution 20] +highway=secondary_link [0x09 road_class=2 road_speed=2 resolution 20] highway=path {add access = no; add bicycle = yes; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 23] highway=service [0x07 road_class=0 road_speed=1 resolution 22] highway=steps {add access = no; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 23] highway=tertiary [0x05 road_class=1 road_speed=3 resolution 20] +highway=tertiary_link [0x09 road_class=1 road_speed=2 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 [0x08 road_class=3 road_speed=3 resolution 16]

Greg Troxel <gdt@ir.bbn.com> writes:
While driving a while ago, I noticed highway ramps missing from my Vista HCx. Now, they are present but dashed lines. The problem is a combination of two things: a road that should be a motorway tagged as secondary (state highway), and mkgmap's default style not having rules for secondary_link and tertiary_link.
I built maps with the following patch, and in RoadTrip the ramps now show up as ramps. Note that I used 0x09 insetad of 0x08 since that seems to be the lesser ramp class.
I have gone driving with these maps, and the display (vista HCx) looks good. So I think this is safe to commit. Index: resources/styles/default/lines =================================================================== --- resources/styles/default/lines (revision 1142) +++ resources/styles/default/lines (working copy) @@ -45,10 +45,12 @@ 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=secondary_link [0x09 road_class=2 road_speed=2 resolution 20] highway=path {add access = no; add bicycle = yes; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 23] highway=service [0x07 road_class=0 road_speed=1 resolution 22] highway=steps {add access = no; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 23] highway=tertiary [0x05 road_class=1 road_speed=3 resolution 20] +highway=tertiary_link [0x09 road_class=1 road_speed=2 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 [0x08 road_class=3 road_speed=3 resolution 16]
participants (1)
-
Greg Troxel