aeroway=runway [0x27 resolution 18]
aeroway=taxiway [0x07 resolution 22]

#changed by Ludi from computerteddy original TYP file
aerialway=cable_car  [0x3f resolution 22]
aerialway=chair_lift [0x3f resolution 22]
aerialway=drag_lift  [0x3f resolution 22]
aerialway=gondola    [0x3f resolution 22]
aerialway=t-bar      [0x3f resolution 22]
piste:lift=t-bar     [0x3f resolution 22]


boundary=administrative [0x1d resolution 20]
boundary=national [0x1e resolution 10]
boundary=political [0x1c resolution 10]

# eventuell nicht optimal, die 0x19 ist eigentlich die Zeitzonengrenze vielleicht
# besser die 0x17, die ist unbelegt

barrier=fence | barrier=wall | barrier=city_wall | barrier=hence | barrier=hedge | barrier=retaining_wall | barrier=bollard [0x17 resolution 24]

# Contours take their name from the elevation setting.
contour=elevation & contour_ext=elevation_minor
        { name '${ele|conv:m=>ft}'; }
        [0x20 resolution 23]
contour=elevation & contour_ext=elevation_medium
        { name '${ele|conv:m=>ft}'; }
        [0x21 resolution 21]
contour=elevation & contour_ext=elevation_major
        { name '${ele|conv:m=>ft}'; }
        [0x22 resolution 20]
contour=elevation | contour_ext=elevation
        { name '${ele|conv:m=>ft}'; }
        [0x21 resolution 20]


junction=roundabout & highway=trunk [0x0c road_class=3 road_speed=5 resolution 14]
junction=roundabout & highway=primary [0x0c road_class=3 road_speed=4 resolution 18]
junction=roundabout & highway=secondary [0x0c road_class=2 road_speed=3 resolution 18]
junction=roundabout & highway=tertiary [0x0c road_class=1 road_speed=3 resolution 18]
junction=roundabout & highway=unclassified [0x0c road_class=1 road_speed=2 resolution 21]
junction=roundabout [0x0c road_class=0 road_speed=1 resolution 22]

# Set highway names to include the reference if there is one, and add the shield signs 
highway=motorway {name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' | '${name}' ; add display_name = '${name} (${ref})' }
highway=motorway_link {name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' | '${name}' ; add display_name = '${name} (${ref})' }
highway=trunk {name '${ref|highway-symbol:box} ${name}' | '${ref|highway-symbol:box}' | '${name}' ; add display_name = '${name} (${ref})' }
highway=trunk_link {name '${ref|highway-symbol:box} ${name}' | '${ref|highway-symbol:box}' | '${name}' ; add display_name = '${name} (${ref})' }
highway=primary {name '${ref|highway-symbol:box} ${name}' | '${ref|highway-symbol:box}' | '${name}' ; add display_name = '${name} (${ref})' }
highway=primary_link {name '${ref|highway-symbol:box} ${name}' | '${ref|highway-symbol:box}' | '${name}' ; add display_name = '${name} (${ref})' }
highway=secondary {name '${ref|highway-symbol:oval} ${name}' | '${ref|highway-symbol:oval}' | '${name}' ; add display_name = '${name} (${ref})' }
highway=secondary_link {name '${ref|highway-symbol:oval} ${name}' | '${ref|highway-symbol:oval}' | '${name}' ; add display_name = '${name} (${ref})' }

highway=* {name '${ref} ${name}' | '${ref}' | '${name}' ; add display_name = '${name} (${ref})' }

# Convert generic path to most specific
highway=path & bicycle=designated {set highway=cycleway }
highway=path & horse=designated {set highway=bridleway }
highway=path & foot=designated {set highway=footway }


highway=bridleway {add access = no; add bicycle = yes; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 24]
highway=byway [0x0a road_class=0 road_speed=0 resolution 24]
highway=cycleway {add access = no; add bicycle = yes; add foot = yes} [0x0a road_class=0 road_speed=1 resolution 24]
highway=construction {add access = no} [0x10 road_class=0 road_speed=0 resolution 24]
highway=* & construction=yes {add access = no} [0x10 road_class=0 road_speed=0 resolution 24]
highway=footway & bicycle=yes {add access = no; add bicycle = yes; add foot = yes} [0x0a road_class=0 road_speed=1 resolution 24]
highway=footway {add access = no; add foot = yes; add bicycle = yes} [0x16 road_class=0 road_speed=0 resolution 24]
highway=path & bicycle=yes {add access = no; add foot = yes; add bicycle = yes} [0x0a road_class=0 road_speed=0 resolution 24]
highway=path {add access = no; add foot = yes; add bicycle = yes} [0x16 road_class=0 road_speed=0 resolution 24]
highway=living_street [0x07 road_class=1 road_speed=1 resolution 24]
highway=minor [0x06 road_class=2 road_speed=3 resolution 22]
highway=motorway {add oneway = yes; add bicycle = no; add foot = no} [0x01 road_class=4 road_speed=7 resolution 10]
highway=motorway_link {add oneway = yes; add bicycle = no; add foot = no} [0x01 road_class=4 road_speed=6 resolution 10]
highway=pedestrian & area!=yes {add access = no; add foot = yes; add bicycle = yes} [0x07 road_class=0 road_speed=0 resolution 24]

#highway=primary & maxspeed>=50 {name '${name} (${ref})' | '${ref}' } [0x03 road_class=3 road_speed=2 resolution 18]
#highway=primary & maxspeed<=70 {name '${name} (${ref})' | '${ref}' } [0x03 road_class=3 road_speed=3 resolution 18]
highway=primary [0x02 road_class=3 road_speed=5 resolution 18]
highway=primary_link [0x02 road_class=3 road_speed=5 resolution 18]

highway=residential [0x06 road_class=1 road_speed=3 resolution 24]
highway=secondary [0x04 road_class=3 road_speed=5 resolution 18]
highway=secondary_link [0x04 road_class=3 road_speed=5 resolution 18]
highway=service [0x07 road_class=1 road_speed=2 resolution 24]
highway=bus_guideway {add access = no} [0x07 resolution 24]
highway=steps {add access = no; add foot = yes; add bicycle = yes} [0x16 road_class=0 road_speed=0 resolution 24]
highway=tertiary [0x05 road_class=3 road_speed=4 resolution 18]

#changed by Ludi from computerteddy original TYP file
#piste:type=downhill  {add access = no} [0x16 road_class=0 road_speed=0 resolution 24]
piste:type=downhill & piste:difficulty=novice {add access = no} [0x30 road_class=0 road_speed=0 resolution 22]
piste:type=downhill & piste:difficulty=easy {add access = no} [0x31 road_class=0 road_speed=0 resolution 22]
piste:type=downhill & piste:difficulty=intermediate {add access = no} [0x32 road_class=0 road_speed=0 resolution 22]
piste:type=downhill & piste:difficulty=advanced {add access = no} [0x33 road_class=0 road_speed=0 resolution 22]
piste:type=downhill & piste:difficulty=expert {add access = no} [0x34 road_class=0 road_speed=0 resolution 22]
piste:type=downhill & piste:difficulty=freeride {add access = no} [0x34 road_class=0 road_speed=0 resolution 22]
piste:type=downhill  {add access = no} [0x16 road_class=0 road_speed=0 resolution 22]
#END

tracktype=grade1 {add access = no; add bicycle = yes; add foot = yes} [0x07 road_class=1 road_speed=1 resolution 24]
tracktype=grade2 {add access = no; add bicycle = yes; add foot = yes} [0x07 road_class=0 road_speed=1 resolution 24]
tracktype=grade3 {add access = no; add bicycle = yes; add foot = yes} [0x0a road_class=0 road_speed=1 resolution 24]
tracktype=grade4 {add access = no; add bicycle = no; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 24]
tracktype=grade5 {add access = no; add bicycle = no; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 24]
highway=track {add access = no; add bicycle = yes; add foot = yes} [0x0a road_class=0 road_speed=0 resolution 24]
highway=trunk {add bicycle = no; add foot = no} [0x02 road_class=3 road_speed=6 resolution 14]
highway=trunk_link {add bicycle = no; add foot = no} [0x02 road_class=3 road_speed=6 resolution 14]
highway=unclassified [0x06 road_class=3 road_speed=3 resolution 22]
highway=road [0x06 road_class=3 road_speed=3 resolution 22]
highway=unsurfaced [0x0a road_class=1 road_speed=1 resolution 24]

man_made=breakwater [0x15 resolution 24]
man_made=pier [0x07 road_class=0 road_speed=0 resolution 24]
man_made=pipeline {name '${operator}'} [0x28 resolution 24]
natural=coastline [0x15 resolution 10]
natural=cliff [0x2b resolution 24]
power=line [0x29 resolution 24]


railway=light_rail [0x14 resolution 22]
railway=rail [0x14 resolution 20]
railway=subway [0x14 resolution 24]
railway=tram [0x14 resolution 24]
railway=narrow_gauge [0x14 resolution 24]
railway=preserved [0x14 resolution 24]
railway=platform [0x16 resolution 24]
railway=disused [0x16 resolution 24]
railway=* [0x16 resolution 24]

route=ferry [0x1a road_class=0 road_speed=0 resolution 22]

waterway=canal [0x1f resolution 22]
waterway=drain [0x18 resolution 22]
waterway=river [0x1f resolution 10]
waterway=stream [0x18 resolution 22]
