#Namen
highway=motorway {name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' | '${name}' }
highway=trunk {name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' | '${name}'; add display_name = '${name} (${ref})' }
highway=primary {name '${ref|highway-symbol:box} ${name}' | '${ref|highway-symbol:box}' | '${name}'; add display_name = '${name} (${ref})' }


#Flags setzen
highway=primary | highway=primary_link  {add toll=yes}
highway=road | highway=minor | highway=unclassified  {add toll=yes}
highway=secondary     | highway=secondary_link     {add toll=yes}
highway=tertiary    {add toll=yes}
highway=residential  |highway=living_street | highway=service {add toll=yes}
highway=cycleway      {add access=no; add bicycle=yes; add foot=yes}
highway=bridleway | highway=byway | highway=unsurfaced  {add access=no; add bicycle=yes; add foot=yes; add mkgmap:unpaved=1 }
highway=footpath|highway=pedestrian & area!=yes|highway=footway|highway=path {add access=no; add bicycle=yes; add foot=yes; add mkgmap:unpaved=1 }
highway=track & tracktype=grade1 {add access=no; add bicycle=yes; add foot=yes}
highway=track & tracktype=grade2 {add access=no; add bicycle=yes; add foot=yes; add mkgmap:unpaved=1 }
highway=track & tracktype=grade4|highway=track & tracktype=grade5 {add access=no; add bicycle=yes; add foot=yes; add mkgmap:unpaved=1 }
highway=track  & *  {add access=no; add bicycle=yes; add foot=yes; add mkgmap:unpaved=1 }
highway=steps {add access = no; add foot = yes; add bicycle=no; add mkgmap:unpaved=1 }
waterway=dam {add access=no; add bicycle=yes; add foot=yes;}

#oneway auswerten
oneway= (yes|true) & highway=residential  | oneway= (yes|true) & highway=living_street | oneway= (yes|true) & highway=service [0x010e05 resolution 24 continue]
oneway= (yes|true) & highway=residential  | oneway= (yes|true) & highway=living_street | oneway= (yes|true) & highway=service [0x010e06 resolution 23-22 continue]
oneway= (yes|true) & highway=residential  | oneway= (yes|true) & highway=living_street | oneway= (yes|true) & highway=service [0x010e07 resolution 21-21 continue]
oneway= (yes|true) & highway=road | oneway= (yes|true) & highway=minor  | oneway= (yes|true) & highway=unclassified           [0x010e0b resolution 24 continue]
oneway= (yes|true) & highway=road | oneway= (yes|true) & highway=minor  | oneway= (yes|true) & highway=unclassified           [0x010e0c resolution 23-22 continue]
oneway= (yes|true) & highway=road | oneway= (yes|true) & highway=minor  | oneway= (yes|true) & highway=unclassified           [0x010e0d resolution 21-20 continue ]
oneway= (yes|true) & highway=secondary     |oneway= (yes|true) & highway=secondary_link         					[0x010e08 resolution 24 continue]
oneway= (yes|true) & highway=secondary     |oneway= (yes|true) & highway=secondary_link        						[0x010e09 resolution 23-22 continue]
oneway= (yes|true) & highway=secondary     |oneway= (yes|true) & highway=secondary_link         				      [0x010e0a resolution 21-19 continue]
oneway= (yes|true) & highway=tertiary           													[0x010e08 resolution 24 continue]
oneway= (yes|true) & highway=tertiary         													      [0x010e09 resolution 23-22 continue]
oneway= (yes|true) & highway=tertiary        														[0x010e0a resolution 21-19 continue]

#Brcken
bridge=(yes|true|viaduct) & highway=motorway  [0x10e16  resolution 24 continue]
bridge=(yes|true|viaduct) & highway=motorway  [0x10e17  resolution 23-22 continue]
bridge=(yes|true|viaduct) & highway=motorway  [0x10e18  resolution 21-10 continue]
bridge=(yes|true|viaduct) & highway=trunk  [0x10e16 resolution 24 continue]
bridge=(yes|true|viaduct) & highway=trunk  [0x10e17 resolution 23-22 continue]
bridge=(yes|true|viaduct) & highway=trunk  [0x10e18 resolution 21-15 continue]
bridge=(yes|true|viaduct) & highway=primary  [0x10e16 resolution 24 continue]
bridge=(yes|true|viaduct) & highway=primary  [0x10e17 resolution 23-22 continue]
bridge=(yes|true|viaduct) & highway=primary  [0x10e18 resolution 21-19 continue]
bridge=(yes|true|viaduct) & highway=secondary     [0x10e16 resolution 24 continue]
bridge=(yes|true|viaduct) & highway=secondary     [0x10e17 resolution 23-22 continue]
bridge=(yes|true|viaduct) & highway=secondary     [0x10e18 resolution 21-19 continue]
bridge=(yes|true|viaduct) & highway=tertiary   [0x10e16 resolution 24 continue]
bridge=(yes|true|viaduct) & highway=tertiary   [0x10e17 resolution 23-22 continue]
bridge=(yes|true|viaduct) & highway=tertiary   [0x10e18 resolution 21-19 continue]
bridge=(yes|true|viaduct) & highway=road [0x10e16 resolution 24 continue]
bridge=(yes|true|viaduct) & highway=road [0x10e17 resolution 23-22 continue]
bridge=(yes|true|viaduct) & highway=road [0x10e18 resolution 21-20 continue]
bridge=(yes|true|viaduct) & highway=minor [0x10e16 resolution 24 continue]
bridge=(yes|true|viaduct) & highway=minor [0x10e17 resolution 23-22 continue]
bridge=(yes|true|viaduct) & highway=minor [0x10e18 resolution 21-20 continue]
bridge=(yes|true|viaduct) & highway=unclassified  [0x10e16 resolution 24 continue]
bridge=(yes|true|viaduct) & highway=unclassified  [0x10e17 resolution 23-22 continue]
bridge=(yes|true|viaduct) & highway=unclassified  [0x10e18 resolution 21-20 continue]
bridge=(yes|true|viaduct) & highway=cycleway       [0x10e16 resolution 24 continue]
bridge=(yes|true|viaduct) & highway=cycleway       [0x10e17 resolution 23-22 continue]
bridge=(yes|true|viaduct) & highway=cycleway       [0x10e18 resolution 21-20 continue]
bridge=(yes|true|viaduct) & highway=*       [0x10e17 resolution 24-24 continue]
bridge=(yes|true|viaduct) & highway=*       [0x10e18 resolution 23-22 continue]

#Tunnel
tunnel=(yes|true|1)& highway=motorway  [0x10e11  resolution 24 continue]
tunnel=(yes|true|1)& highway=motorway  [0x10e12  resolution 23-22 continue]
tunnel=(yes|true|1)& highway=motorway  [0x10e13  resolution 21-10 continue]
tunnel=(yes|true|1)& highway=trunk  [0x10e11 resolution 24 continue]
tunnel=(yes|true|1)& highway=trunk  [0x10e12 resolution 23-22 continue]
tunnel=(yes|true|1)& highway=trunk  [0x10e13 resolution 21-15 continue]
tunnel=(yes|true|1)& highway=primary  [0x10e11 resolution 24 continue]
tunnel=(yes|true|1)& highway=primary  [0x10e12 resolution 23-22 continue]
tunnel=(yes|true|1)& highway=primary  [0x10e13 resolution 21-19 continue]
tunnel=(yes|true|1)& highway=secondary     [0x10e11 resolution 24 continue]
tunnel=(yes|true|1)& highway=secondary     [0x10e12 resolution 23-22 continue]
tunnel=(yes|true|1)& highway=secondary     [0x10e13 resolution 21-19 continue]
tunnel=(yes|true|1)& highway=tertiary   [0x10e11 resolution 24 continue]
tunnel=(yes|true|1)& highway=tertiary   [0x10e12 resolution 23-22 continue]
tunnel=(yes|true|1)& highway=tertiary   [0x10e13 resolution 21-19 continue]
tunnel=(yes|true|1)& highway=road [0x10e11 resolution 24 continue]
tunnel=(yes|true|1)& highway=road [0x10e12 resolution 23-22 continue]
tunnel=(yes|true|1)& highway=road [0x10e13 resolution 21-20 continue]
tunnel=(yes|true|1)& highway=minor [0x10e11 resolution 24 continue]
tunnel=(yes|true|1)& highway=minor [0x10e12 resolution 23-22 continue]
tunnel=(yes|true|1)& highway=minor [0x10e13 resolution 21-20 continue]
tunnel=(yes|true|1)& highway=unclassified  [0x10e11 resolution 24 continue]
tunnel=(yes|true|1)& highway=unclassified  [0x10e12 resolution 23-22 continue]
tunnel=(yes|true|1)& highway=unclassified  [0x10e13 resolution 21-20 continue]
tunnel=(yes|true|1)& highway=cycleway       [0x10e11 resolution 24 continue]
tunnel=(yes|true|1)& highway=cycleway       [0x10e12 resolution 23-22 continue]
tunnel=(yes|true|1)& highway=cycleway       [0x10e13 resolution 21-20 continue]
tunnel=(yes|true|1)& highway=*       [0x10e12 resolution 24-24 continue]
tunnel=(yes|true|1)& highway=*       [0x10e13 resolution 23-22 continue]

#Flsse
waterway=dam [0x10e15 road_class=2 road_speed=2 resolution 20]
waterway=* [0x1f resolution 24-22 continue]
waterway=* [0x010e03 resolution 21-10]

#Autobahn
highway=motorway  | highway=motorway_link [0x01  resolution 24 continue]
highway=motorway  | highway=motorway_link [0x010f01 resolution 23-22 continue]
highway=motorway  | highway=motorway_link [0x010f02 resolution 21-10]

#Kraftfahrstrae
highway=trunk  |   highway=trunk_link   [0x08 resolution 24 continue]
highway=trunk  |   highway=trunk_link   [0x010f03 	resolution 23-22 continue]
highway=trunk  |   highway=trunk_link   [0x010f04 	resolution 21-15]

#Bundesstrae
highway=primary | highway=primary_link 		[0x04 road_class=0 road_speed=4 resolution 24 continue]
highway=primary | highway=primary_link		[0x010f05 resolution 23-22 continue]
highway=primary | highway=primary_link		[0x010f06 resolution 21-19]

#Landstrae
highway=secondary     | highway=secondary_link    				   [0x02 road_class=1 road_speed=3 resolution 24 continue]
highway=secondary      | highway=secondary_link                            [0x010f09 resolution 23-22 continue]
highway=secondary     | highway=secondary_link                             [0x010f0a resolution 21-19 ]

#Kreisstrae
highway=tertiary   					[0x05 road_class=2 road_speed=5 resolution 24 continue]
highway=tertiary                                [0x010f0b resolution 23-22 continue]
highway=tertiary                                [0x010f0d resolution 21-19 ]

#Strae
highway=road 	[0x03 road_class=2 road_speed=5 resolution 24 continue]
highway=road      [0x010f07 resolution 23-22 continue]
highway=road      [0x010f08 resolution 21-20 ]
highway=unclassified  	[0x03 road_class=4 road_speed=5 resolution 24 continue]
highway=unclassified    [0x010f07 resolution 23-22 continue]
highway=unclassified    [0x010f08 resolution 21-20 ]
highway=minor 	[0x03 road_class=4 road_speed=5 resolution 24 continue]
highway=minor     [0x010f07 resolution 23-22 continue]
highway=minor     [0x010f08 resolution 21-20 ]

#Wohnstrae
highway=service 	[0x06 road_class=1 road_speed=4 resolution 24 continue]
highway=service	[0x010f0e resolution 23-22 continue]
highway=service	[0x010f0f resolution 21-21 ]
highway=living_street 	[0x06 road_class=2 road_speed=3 resolution 24 continue]
highway=living_street 	[0x010f0e resolution 23-22 continue]
highway=living_street 	[0x010f0f resolution 21-21 ]
highway=residential  	[0x06 road_class=2 road_speed=3 resolution 24 continue]
highway=residential 	[0x010f0e resolution 23-22 continue]
highway=residential  	[0x010f0f resolution 21-21 ]

#Radweg
highway=cycleway       [0x10 road_class=1 road_speed=4 resolution 24 continue]
highway=cycleway       [0x010f10 resolution 23-22 continue]
highway=cycleway       [0x010f11 resolution 21-20]

#Grade1
highway=track & tracktype=grade1  [0x13 road_class=4 road_speed=0 resolution 24 continue]
highway=track & tracktype=grade1  [0x010f19 resolution 23-22 continue]
highway=track & tracktype=grade1  [0x010f1a resolution 21-21]

#Grade2
highway=track & tracktype=grade2 [0x0a road_class=2 road_speed=4 resolution 24 continue]
highway=track & tracktype=grade2 [0x010f1b resolution 23-22 continue]
highway=track & tracktype=grade2 [0x010f1c resolution 21-21]

#Grade4/5
highway=track & tracktype=grade4|highway=track & tracktype=grade5 [0x0f  road_class=0 road_speed=1 resolution 24 continue]
highway=track & tracktype=grade4|highway=track & tracktype=grade5 [0x010f1d resolution 23-22 continue]
highway=track & tracktype=grade4|highway=track & tracktype=grade5 [0x010f1e resolution 21-21]

#Piste
highway=track  & *  [0x0e  road_class=2 road_speed=3 resolution 24 continue]
highway=track  [0x010e00 resolution 23-22 continue]
highway=track  [0x010e01 resolution 21-21]

#Fuweg
highway=footpath|highway=pedestrian & area!=yes|highway=footway|highway=path [0x0d road_class=2 road_speed=4 resolution 24 continue]
highway=footpath|highway=pedestrian & area!=yes|highway=footway|highway=path [0x010f16 resolution 23-22 continue]
highway=footpath|highway=pedestrian & area!=yes|highway=footway|highway=path [0x010f17 resolution 21-21]

#Reitweg
highway=bridleway | highway=byway | highway=unsurfaced   [0x1d road_class=0 road_speed=0 resolution 24 continue]
highway=bridleway | highway=byway | highway=unsurfaced   [0x010f14 resolution 23-22 continue]
highway=bridleway | highway=byway | highway=unsurfaced   [0x010f15 resolution 21-21]

#Treppe
highway=steps [0x26 road_class=0 road_speed=0 resolution 24-23 continue]
highway=steps [0x010f1f resolution 22-21]

#Kreisel
junction=roundabout & *                       [0x0c road_class=2 road_speed=5 resolution 24 continue]
junction=roundabout & *                       [0x010f18 resolution 23-18]

#Zug
railway=*                              [0x14 resolution 24-23 continue]
railway=*                              [0x010f00 resolution 20-19]

#Strom
power=line [0x29 resolution 24-22 continue]
power=line [0x010e02 resolution 21-15]

#diverses
natural=coastline [0x15 resolution 10]
man_made=breakwater [0x15 resolution 10]

route=ferry [0x1a road_class=0 road_speed=0 resolution 20]
barrier=hedge [0x10f0c resolution 20]
boundary=*  [0x1e resolution 24-22 continue]
boundary=*	[0x010e04 resolution 21-10]
aeroway=runway [0x10f12 resolution 18]
aeroway=taxiway [0x10f13 resolution 20]
aerialway=* [0x10e14 resolution 20]

#was brig bleibt
highway=*  [0x00 road_class=1 road_speed=2 resolution 10]






