Hi Here is a patch to change some TYPE element numbers in default/lines:
Changes are: Use 0x30 for leisure=track instead of treating it like a footpath. 0x30 was introduced in the last set of changes as the code for various sports tracks (gallop, raceway) Use 0x0b (Road) instead of 0x06 as the "hint" portion of a *_link. 0x0b was unused. 0x06 is used for highway=minor & highway=unclassified Use 0x11 instead of 0x07 for highway=cycleway 0x11 was unused. 0x07 is Alley and is used for bridleway, service... Use 0x17 for various linear barriers and also man_made=breakwater Use 0x1a for car ferries, 0x1b for other ferries. At the moment 0x1b is used for all ferries Use 0x26 instead of 0x10a02 for intermittent steam & drain Regards Ticker
Index: resources/styles/default/lines =================================================================== --- resources/styles/default/lines (revision 4265) +++ resources/styles/default/lines (working copy) @@ -117,9 +117,11 @@ highway=path & foot=designated {set highway=footway} -leisure=track & area!=yes {add highway=footway; name '${name} (${sport})' | '${name}'} +leisure=track & area!=yes {name '${name} (${sport})' | '${sport}'} [0x30 resolution 22] man_made=pier | man_made=piste:halfpipe {add highway=footway; name '${ref} ${name}' | '${ref}' | '${name}'} +man_made=breakwater & is_closed()=false & mkgmap:mp_created!=true [0x17 resolution 22 default_name 'Breakwater'] + # Roundabouts junction=roundabout & (highway=trunk | highway=trunk_link) [0x0c road_class=4 road_speed=2 resolution 24 continue] junction=roundabout & (highway=trunk | highway=trunk_link) [0x10801 resolution 18] @@ -155,18 +157,18 @@ # Ways sorted roughly by descending order of class highway=motorway & mkgmap:fast_road=yes [0x01 road_class=4 road_speed=7 resolution 14] highway=motorway [0x01 road_class=4 road_speed=7 resolution 15] -highway=motorway_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=*) [0x06 road_class=4 road_speed=2 resolution 20] +highway=motorway_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=*) [0x0b road_class=4 road_speed=2 resolution 20] highway=motorway_link [0x09 road_class=4 road_speed=2 resolution 20] highway=trunk & mkgmap:fast_road=yes [0x02 road_class=4 road_speed=5 resolution 15] highway=trunk [0x02 road_class=4 road_speed=5 resolution 18] -highway=trunk_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=*) [0x06 road_class=4 road_speed=2 resolution 20] +highway=trunk_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=*) [0x0b road_class=4 road_speed=2 resolution 20] highway=trunk_link [0x09 road_class=4 road_speed=2 resolution 20] highway=* & motorroad=yes [0x02 road_class=4 road_speed=4 resolution 18] highway=primary & mkgmap:fast_road=yes [0x03 road_class=4 road_speed=4 resolution 17] highway=primary [0x03 road_class=3 road_speed=4 resolution 19] -highway=primary_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=*) & mkgmap:fast_road=yes [0x06 road_class=4 road_speed=1 resolution 21] -highway=primary_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=*) [0x06 road_class=3 road_speed=1 resolution 21] +highway=primary_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=*) & mkgmap:fast_road=yes [0x0b road_class=4 road_speed=1 resolution 21] +highway=primary_link & (mkgmap:exit_hint=true | mkgmap:dest_hint=*) [0x0b road_class=3 road_speed=1 resolution 21] highway=primary_link & mkgmap:fast_road=yes [0x08 road_class=4 road_speed=1 resolution 21] highway=primary_link [0x08 road_class=3 road_speed=1 resolution 21] highway=secondary & mkgmap:fast_road=yes [0x04 road_class=3 road_speed=3 resolution 18] @@ -198,7 +200,7 @@ highway=service & (service=alley | service=driveway) [0x07 road_class=0 road_speed=0 resolution 23] highway=service [0x07 road_class=0 road_speed=2 resolution 22] -highway=cycleway [0x07 road_class=0 road_speed=1 resolution 23] +highway=cycleway [0x11 road_class=0 road_speed=1 resolution 23] # highway=footway is often an area as well, continue for polygon processing highway=footway {set tmp:stopMopUp=yes} [0x16 road_class=0 road_speed=0 resolution 23 continue with_actions] @@ -251,13 +253,15 @@ boundary=national [0x1e resolution 17] boundary=political [0x1c resolution 19] +barrier=wall | barrier=fence | barrier=hedge | barrier=ditch {add name='${barrier|subst:"_=> "}'} [0x17 resolution 24] + route=ferry & (toll=no | toll=false) {set mkgmap:toll=no} route=ferry {set mkgmap:numbers=false; set mkgmap:ferry=1; add mkgmap:toll=yes} route=ferry & (motorcar=no | motor_vehicle=no) [0x1b road_class=0 road_speed=0 resolution 23] -route=ferry [0x1b road_class=3 road_speed=0 resolution 19] +route=ferry [0x1a road_class=3 road_speed=0 resolution 19] (waterway=river | waterway=canal) & intermittent=yes [0x26 resolution 20] -(waterway=stream | waterway=drain) & intermittent=yes [0x10A02 resolution 22] +(waterway=stream | waterway=drain) & intermittent=yes [0x26 resolution 22] waterway=canal [0x1f resolution 21] waterway=river [0x1f resolution 18]
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev