# This style-file is published under CCBYNCSA 3.0 by http://openmtbmap.org . See here for license details: http://creativecommons.org/licenses/by-nc-sa/3.0/
# Please note: 
# a) any works that build upon it, have to give attribution to openmtbmap.org
# b) any maps generated by using the style-file or large parts of it have to give attribution to openmtbmap.org
# c) reusing this style-file or partly reusing it for commercial products/projects is not allowed without special permission by http://openmtbmap.org 



# 0x3300 -- 0x1991e is NOT found via "nearest places".
# 0x10c?? 0x10d?? 0x10e?? 0x110?? are all still empty, especially 0x111?? seems well suited.

# Not shown on Oregon
# 1951
# 2b05 to 2b09
# 2a15 to 2a1f
# 2f17 to 2f1f
# 2c15 to 2c1f and 2c0c to 2e0f
# 2e1c to 2e1f and 2e0c to 2e0f
# 1860a and up (18600 to 18609 seems to be shown)
# 1761? not shown.
# Could try 0x1a??? as well as 0x1b???


# Fehlt zurzeit: 'natural=tree' change emergency_phone 5100 to something else
# General notes: Attractions are found under 0x2c0* 0x2d01+0x2d02
# -
# 3006 is Zoll
# 6404 is church
# spring 6511
# heuriger muss als winery gefunden werden. falsch ist 0x3d02 --> 0x4a02-08 is park/garden. 0x4b03 is doctor
# Place of worship: 0x6424 - no symbol; 0x6404; 0x2c0b
# 2701-2709 sind frei

# Category Cities:
# 0x2722 and 0x72e and 0x92a and 0xa26 and 0xa2c and 0xb28 and 0xb2e and 0xd24 and 0xd2a plus many many unknown

# Category: Attractions
# Amusement Theme Park 0x2c21 and 0x2c1 (not the same symbol) and 0x2d28 and 0x2d8 (same symbol)
# Arena Track: 0x2c28 and 0x2c8 (same symbol) 
# Hall Auditorium: 0x2c29 and 0x2c9 (same symbol)
# Landmark: 0x2c24, 0x2c4 and 0x2c27, 0x2c7 and 0x520, 0x521, 0x522, 0x521c-0x522f, 0x523-0x527
# Museum: 0x2c22 and 02c2 (same symbol)
# Park Garden 0x2c0, 0x2c20 and 0x2c26, 0x2c6 and 0x490-0x497 and 0x4925-0x492f and  0x4a0-0x4a7 and 0x4a27-0x4a2f and 0x642e, 0x64e
# Winery 0x2c2a, 0x2ca

# Category: Auto Services
# Auto Club= 0x2f2d and 0x2fd - 0x2f2d used for streetname pois.
# Auto Rental= 0x2f2 and 0x2f22
# Auto Repair= 0x2f23 and 0x2f3
# Car wash= 0x2f0e and 0x2fe
# Auto Dealer / Parts 0x311? all found. 0x3120, 0x3121 and 0x310e and 0x310f too
# Parking all 0x4d1? found as well as 0x4d20, 0x4d21, 0x4d0e, 0x4d0f
# Rest Area / Tourist Info: 0x511? and 0x5014 to 0x501b (probably all are found anyhow), also 0x2f0c
# Truck Stop 0x2f16
# Wrecker Service 0x2f0a and 0x2fa (not the same typfile symbol)


# Category Bank/ATM 0x2f26 and 0x2f6 (not the same symbol)


# Category Community
# Boarder Crossing: 0x3026 and 0x3006 
# City Hall 0x3023 and 0x303 (same symbol)
# Community Center 0x3025 and 0x305 (same symbol)
# Court House 0x3024 and 0x304 (same symbol)
# Fire Department: 0x3028 and 0x308 (same symbol)
# Government office: 0x3020 and 0x3027 and 0x300 and 0x307 (same symbol)
# Library: 0x2c23 and 0x2c3 (same symbol)
# Place of Worship: 0x2c2b and 0x6424 and 0x2c2 and 0x644 (same symbol)
# Police Station: 0x3021 and 0x301
# Post Office: 0x2f25 and 0x642f and 0x2f5 and 0x64f (same symbol)
# 0x2c25 and 0x2c5 and 0x6410 (same symbol)
# Utility: 0x2f15


# Category Entertainment:
# Bar/Nightclub: 0x2d22 and 0x4613-0x462f
# Casino: 0x2d24 and 0x2d4 (there have to be more)
# Hall Auditorium: 0x2c29 and 0x2c9 (same symbol)
# Live Theater: 0x02d and 0x2d0 and 0x2d01, 0x2d20, 0x2d21
# Movie Theater: 0x2d23 and 0x2d3 (not the same symbol)

# Category Food and Drink (only additional)
# American 0x2ae and 0x2a1
# Other 0x451? and 0x45?

# Category Food and Drink: Mapsource Crash


# Category Fuel:
# Auto Fuel 0x4410-0x442f and 0x44? and 0x2f1
# Convenience 0x2e26 and 0x2e6 (same symbol)
# Truck Stop 0x2f16


# Category Geographic Places:
# Land: 0x6610-0x662f and 0x66?
# Man-Made 0x6410-0x642f and 0x64?
# Water: 0x6510-0x652b 


# Category Hospital 0x4b10-0x4b2f and 0x6428 and 0x648 (same symbol) and 0x302 and 0x4b?


# Category Lodging
# Campground 0x481c-0x482f and 0x2b3 and 0x48?
# Hotel/Motel 0x2b20-0x2b24 and 0x2b0-0x2b4 (same symbols)


# Category Other
# Business 0x2f11
# Communications: 0x2f12
# Garmin 0x2ff (and another not found)
# Marina / Repair Storage: 0x43? and 0x431?
# other 0x02f and 0x2f0
# Personal 0x2f10
# Repair: 0x2f13
# Social: 0x2f14


# Category Recreation
# Amusement Theme Park 0x2c21 and 0x2c1 (not the same symbol)
# Arena Track: 0x2c28 and 0x2c8 (same symbol)
# Bowling: 0x2c27 and 0x2c7 (not the same symbol)
# Golf Course: 0x402? and 0x401? and 0x40? and 0x2d05
# Park Garden: 0x2c6 and 0x4916-0x491f and 0x4928-0x492f and 0x49? and 0x4a16-0x4a1f and 0x4a26-0x4a2f and 0x642e and 0x64e (not the same symbol)
# Public Sports Airport: 0x2d2b and 0x2db (same symbol)
# Skiing Center: 0x5310-0x531f and 0x5320-0x532f and 0x53?
# Sports / Fitness Center 0x2d9 and 0x2da and 0x5c2? and 0x54? and 0x541? 0x542d-0x542f (swimming) and 0x5c1?


# Category Shopping (allways same symbol)
# Apparel 0x2e7 and 0x2e27 (same symbol)
# Computer 0x2eb and 0x2e2b (same symbol)
# Convenicence 0x2e26 and 0x2e6
# Department 0x2e21 and 0x351
# General Merchandise: 0x02e and 0x2e3 and 0x2e0 plus unknown
# Grocery 0x2e22 and 0x2e2
# Home Furnishings 0x2e29 and 0x2e9
# House and Garden 0x2e28 and 0x2e8
# Pharmacist 0x2e25 and 0x2e5
# Shopping Center 0x2e24 and 0x2e4
# Speciality Retail 0x2e2a and 0x2ea


# Category Transportation
# Air Transportation: 0x590? and 0x591? and 0x59c - 0x59f and 0x2f4 and 0x2f24
# Auto Rental 0x2f2 and 0x2f22 (same symbol)
# Ground transportation 0x2f8 and 0x2f28 (same symbol)
# Transit: 0x2f17

# 	new AccessMapping("access",     RoadNetwork.NO_MAX), // must be first in list
#		new AccessMapping("bicycle",    RoadNetwork.NO_BIKE),
#		new AccessMapping("foot",       RoadNetwork.NO_FOOT),
#		new AccessMapping("hgv",        RoadNetwork.NO_TRUCK),
#		new AccessMapping("motorcar",   RoadNetwork.NO_CAR),
#		new AccessMapping("motorcycle", RoadNetwork.NO_CAR),
#		new AccessMapping("psv",        RoadNetwork.NO_BUS),
#		new AccessMapping("taxi",       RoadNetwork.NO_TAXI),
#		new AccessMapping("emergency",  RoadNetwork.NO_EMERGENCY),
#		new AccessMapping("delivery",   RoadNetwork.NO_DELIVERY),
#		new AccessMapping("goods",      RoadNetwork.NO_DELIVERY),

# Delete List
( highway=proposed | proposed=* ) & highway=* {set highway=grsz}

# Correct wrong tags
amenity=drinking-water { set amenity=drinking_water }
amenity=Bar { set amenity=bar }
leisure=Freibad { set leisure=water_park }
leisure=Schwimmbad{ set leisure=water_park }
manmade=* {add man_made='${manmade}'

# Naming
elevation=* { add ele='${elevation}' }
( natural=peak | natural=summit | natural=mountain ) & ele=* { set name='${name}, ${ele}' | '${ele}' }

(highway=bus_stop | railway=tram_stop | railway=halt | railway=station) & lit=yes & (shelter=yes | covered=yes)
{ set ref='${ref|def:}(${route_ref})';  name '${name|def:} ${ref|def:}*${operator|def:}'; }
(highway=bus_stop | railway=tram_stop | railway=halt | railway=station) & (shelter=yes | covered=yes)
{ set ref='${ref|def:}(${route_ref})';  name '${name|def:} ${ref|def:}+${operator|def:}'; }
(highway=bus_stop | railway=tram_stop | railway=halt | railway=station) & (shelter=no | covered=no)
{ set ref='${ref|def:}(${route_ref})';  name '${name|def:} ${ref|def:}-${operator|def:}'; }
(highway=bus_stop | railway=tram_stop | railway=halt | railway=station) & (name=*|ref=*|operator=*)
{ set ref='${ref|def:}(${route_ref})';  name '${name|def:} ${ref|def:} ${operator|def:}'; }

addr:housename=* & name!=* {name '${addr:housename}'}
addr:housenumber=* {set name= '${name} (${addr:housenumber})' | '${addr:housenumber}' }

opening_hours=* {set addr:city = '${addr:city} open ${opening_hours}' | 'open ${opening_hours}'}
note=* {set addr:city = '${addr:city}  (${note})' | '${note}'}
# addr:city=* {add addr:housenumber=""; add addr:street=""}


# Remove access rights for motorcars/motorcycles:
motorcar=no | motorcar=private {delete motorcar}
motorcycle=no | motorcycle=private {delete motorcycle}
hgv=no | hgv=private {delete hgv}
psv=no | psv=private {delete psv}
taxi=no | taxi=private {delete taxi}
emergency=no | emergency=private {delete emergency}
delivery=no | delivery=private {delete delivery}
goods=no | goods=private {delete goods}

# Delete Access rights:
motorcar=delivery | hgv=delivery | psv=delivery | taxi=delivery | emergency=delivery | delivery=delivery | goods=delivery | motorcar=destination | hgv=destination | psv=destination | taxi=destination | emergency=destination | destination=destination | goods=destination | motorcar=forestry | hgv=forestry | psv=forestry | taxi=forestry | emergency=forestry | forestry=forestry | goods=forestry | motorcar=permissive | hgv=permissive | psv=permissive | taxi=permissive | emergency=permissive | permissive=permissive | goods=permissive { set access=yes; set motorcar=yes; set motorcycle=yes; set bicycle=yes; set foot=yes; set taxi=yes; set emergency=yes; set delivery=yes; set goods=yes; set foot=yes; set bicycle=yes }

access=no { set access=yes; set motorcar=yes; set motorcycle=yes; set bicycle=yes; set foot=yes; set taxi=yes; set emergency=yes; set delivery=yes; set goods=yes; set foot=yes; set bicycle=yes }
 

# Cities
place=capitol | place=capital				   {set cityxx=yes} [0x0100 resolution 14 continue with_actions ]
place=city & population > 699999 & cityxx!=yes {set cityxx=yes}	[0x0200 resolution 14 continue with_actions ]
place=city & population > 499999 & cityxx!=yes {set cityxx=yes} [0x0300 resolution 14 continue with_actions ]
place=city & population > 299999 & cityxx!=yes {set cityxx=yes} [0x0400 resolution 16 continue with_actions ]
place=city & population > 199999 & cityxx!=yes {set cityxx=yes} [0x0500 resolution 16 continue with_actions ]
place=city & population >  99999 & cityxx!=yes {set cityxx=yes} [0x0600 resolution 17 continue with_actions ]
place=city & population >  49999 & cityxx!=yes {set cityxx=yes} [0x0700 resolution 17 continue with_actions ]
place=city & population >   9999 & cityxx!=yes {set cityxx=yes} [0x0800 resolution 18 continue with_actions ]
place=city & population >	   0 & cityxx!=yes {set cityxx=yes} [0x0800 resolution 18 continue with_actions ]
place=city 						 & cityxx!=yes {set cityxx=yes} [0x0700 resolution 18 continue with_actions ]

place=town   & population >  49999 & cityxx!=yes {set cityxx=yes} [0x0600 resolution 18 continue with_actions ]
place=town   & population >  19999 & cityxx!=yes {set cityxx=yes} [0x0700 resolution 18 continue with_actions ]
place=town   & population >   9999 & cityxx!=yes {set cityxx=yes} [0x0800 resolution 19 continue with_actions ]
place=town   & population >   4999 & cityxx!=yes {set cityxx=yes} [0x0a00 resolution 19 continue with_actions ]
place=town   & population >    999 & cityxx!=yes {set cityxx=yes} [0x0b00 resolution 19 continue with_actions ]
place=town   & population >		 0 & cityxx!=yes {set cityxx=yes} [0x0c00 resolution 20 continue with_actions ]
place=town 						   & cityxx!=yes {set cityxx=yes} [0x0800 resolution 19 continue with_actions ]

place=village & population >  20000	 & cityxx!=yes {set cityxx=yes} [0x0b00 resolution 19 continue with_actions ]
place=village & population >   4000	 & cityxx!=yes {set cityxx=yes} [0x0c00 resolution 19 continue with_actions ]
place=village & population >   1500	 & cityxx!=yes {set cityxx=yes} [0x0c00 resolution 20 continue with_actions ]
place=village & population >      0	 & cityxx!=yes {set cityxx=yes} [0x0d00 resolution 21 continue with_actions ]
place=village 						 & cityxx!=yes {set cityxx=yes} [0x0c00 resolution 20 continue with_actions ]

place=island & population > 50000	 & cityxx!=yes {set cityxx=yes} [0x650c resolution 18 continue with_actions ]
place=island 						 & cityxx!=yes {set cityxx=yes} [0x650c resolution 19 continue with_actions ]
place=islet	& population >    1999	 & cityxx!=yes {set cityxx=yes} [0x650c resolution 20 continue with_actions ]
place=islet							 & cityxx!=yes {set cityxx=yes} [0x650c resolution 21 continue with_actions ]

place=hamlet  & population >   1999	 & cityxx!=yes {set cityxx=yes} [0x0b00 resolution 20 continue with_actions ]
place=hamlet  & population >    699	 & cityxx!=yes {set cityxx=yes} [0x0c00 resolution 21 continue with_actions ]
place=hamlet  & population >    100	 & cityxx!=yes {set cityxx=yes} [0x0d00 resolution 21 continue with_actions ]
place=hamlet  & population >      0	 & cityxx!=yes {set cityxx=yes} [0x0e00 resolution 22 continue with_actions ]
place=hamlet  						 & cityxx!=yes {set cityxx=yes} [0x0c00 resolution 21 continue with_actions ]

( place=municipality | place=district ) & population >  49999  & cityxx!=yes {set cityxx=yes} [0x0c00 resolution 20 continue with_actions ]
( place=municipality | place=district ) & population >  19999  & cityxx!=yes {set cityxx=yes} [0x0d00 resolution 21 continue with_actions ]
( place=municipality | place=district ) & population >  4999   & cityxx!=yes {set cityxx=yes} [0x0e00 resolution 21 continue with_actions ]
( place=municipality | place=district ) & population >  1	   & cityxx!=yes {set cityxx=yes} [0x0e00 resolution 22 continue with_actions ]
place=municipality | place=district							   & cityxx!=yes {set cityxx=yes} [0x0e00 resolution 21 continue with_actions ]

place=suburb & population >  49999   & cityxx!=yes {set cityxx=yes} [0x0c00 resolution 20 continue with_actions ]
place=suburb & population >  19999   & cityxx!=yes {set cityxx=yes} [0x0d00 resolution 21 continue with_actions ]
place=suburb & population >   4999   & cityxx!=yes {set cityxx=yes} [0x0e00 resolution 21 continue with_actions ]
place=suburb & population >   	 0   & cityxx!=yes {set cityxx=yes} [0x0e00 resolution 22 continue with_actions ]
place=suburb                         & cityxx!=yes {set cityxx=yes} [0x0d00 resolution 21 continue with_actions ]

place=locality 						 & cityxx!=yes {set cityxx=yes} [0x1100 resolution 22 continue with_actions ]


 								
name:de=* & cityxx=yes  	{ set name='${name:de}' } 	[0x0900 resolution 24 continue]
name:loc=* & cityxx=yes  	{ set name='${name:loc}' } 	[0x0900 resolution 24 continue]
name:en=* & cityxx=yes  	{ set name='${name:en}' } 	[0x0900 resolution 24 continue]
name:int=* & cityxx=yes  	{ set name='${name:int}' } 	[0x0900 resolution 24 continue]





rcn_ref=0 	{ name '${rcn_ref}' } [0x1710 resolution 24 continue]
rcn_ref=1	{ name '${rcn_ref}' } [0x1711 resolution 24 continue]
rcn_ref=2	{ name '${rcn_ref}' } [0x1712 resolution 24 continue]
rcn_ref=3	{ name '${rcn_ref}' } [0x1713 resolution 24 continue]
rcn_ref=4	{ name '${rcn_ref}' } [0x1714 resolution 24 continue]
rcn_ref=5	{ name '${rcn_ref}' } [0x1715 resolution 24 continue]
rcn_ref=6	{ name '${rcn_ref}' } [0x1716 resolution 24 continue]
rcn_ref=7	{ name '${rcn_ref}' } [0x1717 resolution 24 continue]
rcn_ref=8	{ name '${rcn_ref}' } [0x1718 resolution 24 continue]
rcn_ref=9	{ name '${rcn_ref}' } [0x1719 resolution 24 continue]

rcn_ref=0 	{ name '${rcn_ref}' } [0x3410 resolution 23-22 continue]
rcn_ref=1	{ name '${rcn_ref}' } [0x3411 resolution 23-22 continue]
rcn_ref=2	{ name '${rcn_ref}' } [0x3412 resolution 23-22 continue]
rcn_ref=3	{ name '${rcn_ref}' } [0x3413 resolution 23-22 continue]
rcn_ref=4	{ name '${rcn_ref}' } [0x3414 resolution 23-22 continue]
rcn_ref=5	{ name '${rcn_ref}' } [0x3415 resolution 23-22 continue]
rcn_ref=6	{ name '${rcn_ref}' } [0x3416 resolution 23-22 continue]
rcn_ref=7	{ name '${rcn_ref}' } [0x3417 resolution 23-22 continue]
rcn_ref=8	{ name '${rcn_ref}' } [0x3418 resolution 23-22 continue]
rcn_ref=9	{ name '${rcn_ref}' } [0x3419 resolution 23-22 continue]

rcn_ref=0 	{ name '${rcn_ref}' } [0x19610 resolution 22-21 continue]
rcn_ref=1	{ name '${rcn_ref}' } [0x19611 resolution 22-21 continue]
rcn_ref=2	{ name '${rcn_ref}' } [0x19612 resolution 22-21 continue]
rcn_ref=3	{ name '${rcn_ref}' } [0x19613 resolution 22-21 continue]
rcn_ref=4	{ name '${rcn_ref}' } [0x19614 resolution 22-21 continue]
rcn_ref=5	{ name '${rcn_ref}' } [0x19615 resolution 22-21 continue]
rcn_ref=6	{ name '${rcn_ref}' } [0x19616 resolution 22-21 continue]
rcn_ref=7	{ name '${rcn_ref}' } [0x19617 resolution 22-21 continue]
rcn_ref=8	{ name '${rcn_ref}' } [0x19618 resolution 22-21 continue]
rcn_ref=9	{ name '${rcn_ref}' } [0x19619 resolution 22-21 continue]

# rcn_ref=* & rcn_ref=11	{ set mkgmap:rcn_ref=11; name '${rcn_ref}' } 	[0x01701 resolution 22 continue with_actions]
# mkgmap:rcn_ref=11								{ name '${rcn_ref}' } 	[0x3301 resolution 22]
# rcn_ref=11										{ name '${rcn_ref}' } 	[0x3301 resolution 22 continue]

# rcn_ref=10	{ name '${rcn_ref}' } [0x01701 resolution 22 continue]
# rcn_ref=10				{ name '${rcn_ref}' } [0x3300 resolution 22 continue]




rcn_ref=* & rcn_ref > 99 { name '${rcn_ref}'} [0x170a resolution 24 continue]
rcn_ref=* & rcn_ref > 99 { name '${rcn_ref}'} [0x350a resolution 23-22 continue]
rcn_ref=* & rcn_ref > 99 { name '${rcn_ref}'} [0x1960a resolution 22-21 continue]


rcn_ref=* & rcn_ref > 89 & rcn_ref < 100 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}'} [0x01709 resolution 24 continue with_actions]
rcn_ref=* & rcn_ref > 79 & rcn_ref < 90 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x01708 resolution 24 continue with_actions]
rcn_ref=* & rcn_ref > 69 & rcn_ref < 80 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x01707 resolution 24 continue with_actions]
rcn_ref=* & rcn_ref > 59 & rcn_ref < 70 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x01706 resolution 24 continue with_actions]
rcn_ref=* & rcn_ref > 49 & rcn_ref < 60 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x01705 resolution 24 continue with_actions]
rcn_ref=* & rcn_ref > 39 & rcn_ref < 50 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x01704 resolution 24 continue with_actions]
rcn_ref=* & rcn_ref > 29 & rcn_ref < 40 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x01703 resolution 24 continue with_actions]
rcn_ref=* & rcn_ref > 19 & rcn_ref < 30 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x01702 resolution 24 continue with_actions]
rcn_ref=* & rcn_ref > 9  & rcn_ref < 20 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x01701 resolution 24 continue with_actions]

# Let's use a single type, that does not need special double treatment for visibility. 0x340? is already used for other stuff.
rcn_ref=* & rcn_ref > 89 & rcn_ref < 100 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}'} [0x3509 resolution 23-22 continue with_actions]
rcn_ref=* & rcn_ref > 79 & rcn_ref < 90 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x3508 resolution 23-22 continue with_actions]
rcn_ref=* & rcn_ref > 69 & rcn_ref < 80 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x3507 resolution 23-22 continue with_actions]
rcn_ref=* & rcn_ref > 59 & rcn_ref < 70 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x3506 resolution 23-22 continue with_actions]
rcn_ref=* & rcn_ref > 49 & rcn_ref < 60 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x3505 resolution 23-22 continue with_actions]
rcn_ref=* & rcn_ref > 39 & rcn_ref < 50 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x3504 resolution 23-22 continue with_actions]
rcn_ref=* & rcn_ref > 29 & rcn_ref < 40 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x3503 resolution 23-22 continue with_actions]
rcn_ref=* & rcn_ref > 19 & rcn_ref < 30 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x3502 resolution 23-22 continue with_actions]
rcn_ref=* & rcn_ref > 9  & rcn_ref < 20 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x3501 resolution 23-22 continue with_actions]

rcn_ref=* & rcn_ref > 89 & rcn_ref < 100 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}'} [0x19609 resolution 22-21 continue with_actions]
rcn_ref=* & rcn_ref > 79 & rcn_ref < 90 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x19608 resolution 22-21 continue with_actions]
rcn_ref=* & rcn_ref > 69 & rcn_ref < 80 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x19607 resolution 22-21 continue with_actions]
rcn_ref=* & rcn_ref > 59 & rcn_ref < 70 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x19606 resolution 22-21 continue with_actions]
rcn_ref=* & rcn_ref > 49 & rcn_ref < 60 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x19605 resolution 22-21 continue with_actions]
rcn_ref=* & rcn_ref > 39 & rcn_ref < 50 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x19604 resolution 22-21 continue with_actions]
rcn_ref=* & rcn_ref > 29 & rcn_ref < 40 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x19603 resolution 22-21 continue with_actions]
rcn_ref=* & rcn_ref > 19 & rcn_ref < 30 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x19602 resolution 22-21 continue with_actions]
rcn_ref=* & rcn_ref > 9  & rcn_ref < 20 { set mkgmap:rcn_ref='${rcn_ref}'; name '${rcn_ref}' } [0x19601 resolution 22-21 continue with_actions]


mkgmap:rcn_ref=10 | mkgmap:rcn_ref=20 | mkgmap:rcn_ref=30 | mkgmap:rcn_ref=40 | mkgmap:rcn_ref=50 | mkgmap:rcn_ref=60 | mkgmap:rcn_ref=70 | mkgmap:rcn_ref=80 | mkgmap:rcn_ref=90  [0x3300 resolution 24-22 continue]
mkgmap:rcn_ref=11 | mkgmap:rcn_ref=21 | mkgmap:rcn_ref=31 | mkgmap:rcn_ref=41 | mkgmap:rcn_ref=51 | mkgmap:rcn_ref=61 | mkgmap:rcn_ref=71 | mkgmap:rcn_ref=81 | mkgmap:rcn_ref=91  [0x3301 resolution 24-22 continue]
mkgmap:rcn_ref=12 | mkgmap:rcn_ref=22 | mkgmap:rcn_ref=32 | mkgmap:rcn_ref=42 | mkgmap:rcn_ref=52 | mkgmap:rcn_ref=62 | mkgmap:rcn_ref=72 | mkgmap:rcn_ref=82 | mkgmap:rcn_ref=92  [0x3302 resolution 24-22 continue]
mkgmap:rcn_ref=13 | mkgmap:rcn_ref=23 | mkgmap:rcn_ref=33 | mkgmap:rcn_ref=43 | mkgmap:rcn_ref=53 | mkgmap:rcn_ref=63 | mkgmap:rcn_ref=73 | mkgmap:rcn_ref=83 | mkgmap:rcn_ref=93  [0x3303 resolution 24-22 continue]
mkgmap:rcn_ref=14 | mkgmap:rcn_ref=24 | mkgmap:rcn_ref=34 | mkgmap:rcn_ref=44 | mkgmap:rcn_ref=54 | mkgmap:rcn_ref=64 | mkgmap:rcn_ref=74 | mkgmap:rcn_ref=84 | mkgmap:rcn_ref=94  [0x3304 resolution 24-22 continue]
mkgmap:rcn_ref=15 | mkgmap:rcn_ref=25 | mkgmap:rcn_ref=35 | mkgmap:rcn_ref=45 | mkgmap:rcn_ref=55 | mkgmap:rcn_ref=65 | mkgmap:rcn_ref=75 | mkgmap:rcn_ref=85 | mkgmap:rcn_ref=95  [0x3305 resolution 24-22 continue]
mkgmap:rcn_ref=16 | mkgmap:rcn_ref=26 | mkgmap:rcn_ref=36 | mkgmap:rcn_ref=46 | mkgmap:rcn_ref=56 | mkgmap:rcn_ref=66 | mkgmap:rcn_ref=76 | mkgmap:rcn_ref=86 | mkgmap:rcn_ref=96  [0x3306 resolution 24-22 continue]
mkgmap:rcn_ref=17 | mkgmap:rcn_ref=27 | mkgmap:rcn_ref=37 | mkgmap:rcn_ref=47 | mkgmap:rcn_ref=57 | mkgmap:rcn_ref=67 | mkgmap:rcn_ref=77 | mkgmap:rcn_ref=87 | mkgmap:rcn_ref=97  [0x3307 resolution 24-22 continue]
mkgmap:rcn_ref=18 | mkgmap:rcn_ref=28 | mkgmap:rcn_ref=38 | mkgmap:rcn_ref=48 | mkgmap:rcn_ref=58 | mkgmap:rcn_ref=68 | mkgmap:rcn_ref=78 | mkgmap:rcn_ref=88 | mkgmap:rcn_ref=98  [0x3308 resolution 24-22 continue]
mkgmap:rcn_ref=19 | mkgmap:rcn_ref=29 | mkgmap:rcn_ref=39 | mkgmap:rcn_ref=49 | mkgmap:rcn_ref=59 | mkgmap:rcn_ref=69 | mkgmap:rcn_ref=79 | mkgmap:rcn_ref=89 | mkgmap:rcn_ref=99  [0x3309 resolution 24-22 continue]

mkgmap:rcn_ref=10 | mkgmap:rcn_ref=20 | mkgmap:rcn_ref=30 | mkgmap:rcn_ref=40 | mkgmap:rcn_ref=50 | mkgmap:rcn_ref=60 | mkgmap:rcn_ref=70 | mkgmap:rcn_ref=80 | mkgmap:rcn_ref=90  [0x18600 resolution 22-21 continue]
mkgmap:rcn_ref=11 | mkgmap:rcn_ref=21 | mkgmap:rcn_ref=31 | mkgmap:rcn_ref=41 | mkgmap:rcn_ref=51 | mkgmap:rcn_ref=61 | mkgmap:rcn_ref=71 | mkgmap:rcn_ref=81 | mkgmap:rcn_ref=91  [0x18601 resolution 22-21 continue]
mkgmap:rcn_ref=12 | mkgmap:rcn_ref=22 | mkgmap:rcn_ref=32 | mkgmap:rcn_ref=42 | mkgmap:rcn_ref=52 | mkgmap:rcn_ref=62 | mkgmap:rcn_ref=72 | mkgmap:rcn_ref=82 | mkgmap:rcn_ref=92  [0x18602 resolution 22-21 continue]
mkgmap:rcn_ref=13 | mkgmap:rcn_ref=23 | mkgmap:rcn_ref=33 | mkgmap:rcn_ref=43 | mkgmap:rcn_ref=53 | mkgmap:rcn_ref=63 | mkgmap:rcn_ref=73 | mkgmap:rcn_ref=83 | mkgmap:rcn_ref=93  [0x18603 resolution 22-21 continue]
mkgmap:rcn_ref=14 | mkgmap:rcn_ref=24 | mkgmap:rcn_ref=34 | mkgmap:rcn_ref=44 | mkgmap:rcn_ref=54 | mkgmap:rcn_ref=64 | mkgmap:rcn_ref=74 | mkgmap:rcn_ref=84 | mkgmap:rcn_ref=94  [0x18604 resolution 22-21 continue]
mkgmap:rcn_ref=15 | mkgmap:rcn_ref=25 | mkgmap:rcn_ref=35 | mkgmap:rcn_ref=45 | mkgmap:rcn_ref=55 | mkgmap:rcn_ref=65 | mkgmap:rcn_ref=75 | mkgmap:rcn_ref=85 | mkgmap:rcn_ref=95  [0x18605 resolution 22-21 continue]
mkgmap:rcn_ref=16 | mkgmap:rcn_ref=26 | mkgmap:rcn_ref=36 | mkgmap:rcn_ref=46 | mkgmap:rcn_ref=56 | mkgmap:rcn_ref=66 | mkgmap:rcn_ref=76 | mkgmap:rcn_ref=86 | mkgmap:rcn_ref=96  [0x18606 resolution 22-21 continue]
mkgmap:rcn_ref=17 | mkgmap:rcn_ref=27 | mkgmap:rcn_ref=37 | mkgmap:rcn_ref=47 | mkgmap:rcn_ref=57 | mkgmap:rcn_ref=67 | mkgmap:rcn_ref=77 | mkgmap:rcn_ref=87 | mkgmap:rcn_ref=97  [0x18607 resolution 22-21 continue]
mkgmap:rcn_ref=18 | mkgmap:rcn_ref=28 | mkgmap:rcn_ref=38 | mkgmap:rcn_ref=48 | mkgmap:rcn_ref=58 | mkgmap:rcn_ref=68 | mkgmap:rcn_ref=78 | mkgmap:rcn_ref=88 | mkgmap:rcn_ref=98  [0x18608 resolution 22-21 continue]
mkgmap:rcn_ref=19 | mkgmap:rcn_ref=29 | mkgmap:rcn_ref=39 | mkgmap:rcn_ref=49 | mkgmap:rcn_ref=59 | mkgmap:rcn_ref=69 | mkgmap:rcn_ref=79 | mkgmap:rcn_ref=89 | mkgmap:rcn_ref=99  [0x18609 resolution 22-21 continue]

# mkgmap:rcn_ref=100 | mkgmap:rcn_ref=110 | mkgmap:rcn_ref=120 | mkgmap:rcn_ref=130 | mkgmap:rcn_ref=140 | mkgmap:rcn_ref=150 | mkgmap:rcn_ref=160 | mkgmap:rcn_ref=170 | mkgmap:rcn_ref=180 | mkgmap:rcn_ref=190  [0x12900 resolution 21]
# mkgmap:rcn_ref=101 | mkgmap:rcn_ref=111 | mkgmap:rcn_ref=121 | mkgmap:rcn_ref=131 | mkgmap:rcn_ref=141 | mkgmap:rcn_ref=151 | mkgmap:rcn_ref=161 | mkgmap:rcn_ref=171 | mkgmap:rcn_ref=181 | mkgmap:rcn_ref=191  [0x12901 resolution 21]
# mkgmap:rcn_ref=102 | mkgmap:rcn_ref=112 | mkgmap:rcn_ref=122 | mkgmap:rcn_ref=132 | mkgmap:rcn_ref=142 | mkgmap:rcn_ref=152 | mkgmap:rcn_ref=162 | mkgmap:rcn_ref=172 | mkgmap:rcn_ref=182 | mkgmap:rcn_ref=192  [0x12902 resolution 21]
# mkgmap:rcn_ref=103 | mkgmap:rcn_ref=113 | mkgmap:rcn_ref=123 | mkgmap:rcn_ref=133 | mkgmap:rcn_ref=143 | mkgmap:rcn_ref=153 | mkgmap:rcn_ref=163 | mkgmap:rcn_ref=173 | mkgmap:rcn_ref=183 | mkgmap:rcn_ref=193  [0x12903 resolution 21]
# mkgmap:rcn_ref=104 | mkgmap:rcn_ref=114 | mkgmap:rcn_ref=124 | mkgmap:rcn_ref=134 | mkgmap:rcn_ref=144 | mkgmap:rcn_ref=154 | mkgmap:rcn_ref=164 | mkgmap:rcn_ref=174 | mkgmap:rcn_ref=184 | mkgmap:rcn_ref=194  [0x12904 resolution 21]
# mkgmap:rcn_ref=105 | mkgmap:rcn_ref=115 | mkgmap:rcn_ref=125 | mkgmap:rcn_ref=135 | mkgmap:rcn_ref=145 | mkgmap:rcn_ref=155 | mkgmap:rcn_ref=165 | mkgmap:rcn_ref=175 | mkgmap:rcn_ref=185 | mkgmap:rcn_ref=195  [0x12905 resolution 21]
# mkgmap:rcn_ref=106 | mkgmap:rcn_ref=116 | mkgmap:rcn_ref=126 | mkgmap:rcn_ref=136 | mkgmap:rcn_ref=146 | mkgmap:rcn_ref=156 | mkgmap:rcn_ref=166 | mkgmap:rcn_ref=176 | mkgmap:rcn_ref=186 | mkgmap:rcn_ref=196  [0x12906 resolution 21]
# mkgmap:rcn_ref=107 | mkgmap:rcn_ref=117 | mkgmap:rcn_ref=127 | mkgmap:rcn_ref=137 | mkgmap:rcn_ref=147 | mkgmap:rcn_ref=157 | mkgmap:rcn_ref=167 | mkgmap:rcn_ref=177 | mkgmap:rcn_ref=187 | mkgmap:rcn_ref=197  [0x12907 resolution 21]
# mkgmap:rcn_ref=108 | mkgmap:rcn_ref=118 | mkgmap:rcn_ref=128 | mkgmap:rcn_ref=138 | mkgmap:rcn_ref=148 | mkgmap:rcn_ref=158 | mkgmap:rcn_ref=168 | mkgmap:rcn_ref=178 | mkgmap:rcn_ref=188 | mkgmap:rcn_ref=198  [0x12908 resolution 21]
# mkgmap:rcn_ref=109 | mkgmap:rcn_ref=119 | mkgmap:rcn_ref=129 | mkgmap:rcn_ref=139 | mkgmap:rcn_ref=149 | mkgmap:rcn_ref=159 | mkgmap:rcn_ref=169 | mkgmap:rcn_ref=179 | mkgmap:rcn_ref=189 | mkgmap:rcn_ref=199  [0x12909 resolution 21]

(shop=* | amenity=* | building=* | cuisine=* | natural=* | tourism=*) & name=* & operator=*  { set name='${name} ${operator}'; delete operator }
operator=* & name!=*  { set name='${operator}'; delete operator}

#Garmin types. 11602 alpine_hut, 11603 hut, 11604 alpine_hut belonging to a mountaineering club - 11601 used for lean_to, though not used by Garmin. According to the http://wiki.openstreetmap.org/wiki/Proposed_features/wilderness_mountain_buildings
(tourism=alpine_hut | amenity=alpine_hut | building=alpine_hut) & (name=* | heating=* | shower=* | mattres=* | toilets=* | opening_hours=* | capacity=* | operator=* )	{ name '${name} alpine_hut' | 'alpine_hut' } [0x2b04 resolution 24 continue]
(tourism=alpine_hut | amenity=alpine_hut | building=alpine_hut)	& (name=* | heating=* | shower=* | mattres=* | toilets=* | opening_hours=* | capacity=* | operator=* )	{ name '${name} alpine_hut' | 'alpine_hut' } [0x11604 resolution 21 continue]
tourism=wilderness_hut | amenity=wilderness_hut | building=wilderness_hut	{ name '${name} wilderness_hut' | 'wilderness_hut' } 	[0x2b04 resolution 24 continue]
tourism=wilderness_hut | amenity=wilderness_hut | building=wilderness_hut	{ name '${name} wilderness_hut' | 'wilderness_hut' } 	[0x11602 resolution 21 continue]
tourism=basic_hut | amenity=basic_hut | building=basic_hut | tourism=bothy	{ name '${name} basic_hut' | 'basic_hut' } 				[0x2b04 resolution 24 continue]
tourism=basic_hut | amenity=basic_hut | building=basic_hut | tourism=bothy	{ name '${name} basic_hut' | 'basic_hut' } 				[0x11603 resolution 22]
tourism=lean_to | amenity=lean_to											{ name '${name} lean_to' | 'lean_to'}					[0x11601 resolution 22]

# For old compatibility, please don't tag this way anymore
building=shelter | tourism=shelter	| amenity=shelter 	{ name '${name} shelter' | 'shelter' } 									[0x11601 resolution 22 continue]
amenity=refuge | tourism=refuge | building=refuge		{ name '${name} refuge' | 'refuge' } 									[0x11603 resolution 23 continue]
amenity=refuge | tourism=refuge | building=refuge		{ name '${name} refuge' | 'refuge' } 									[0x2b04 resolution 24 continue]
tourism=alpine_hut & name!=* & heating!=* & shower!=* & mattres!=* & toilets!=* & opening_hours!=* & capacity!=* & operator!=* { name '${name} not_an_alpine_hut' | 'not_an_alpine_hut' } [0x11603 resolution 24 continue]


# Shopping
# Not shown on Oregon: 2e0d - 2e0f as well as 2e1?
# not used 2e0c, 

shop='bicycle;motorcycle' { set shop='bicycle' }
shop='bicycle; motorcycle' { set shop='bicycle' }
shop='motorcycle;bicycle' { set shop='bicycle' }
shop='motorcycle; bicycle' { set shop='bicycle' }

shop=bicycle 								{set shopmatch=no} 	[0x2f03 default_name='bicycle_shop' resolution 24 continue with_actions]
shop=bicycle 													[0x1151b default_name='bicycle_shop' resolution 22 continue]
shop=bicycle_repair | amenity=bicycle_repair {set shopmatch=no} [0x2f03 default_name='bicycle_repair' resolution 24 continue with_actions]
shop=bicycle_repair | amenity=bicycle_repair					[0x1151b default_name='bicycle_repair' resolution 22]

shop=car_repair {name 'carrepair ${name}'; set shopmatch=no} [0x2f13 resolution 24 continue with_actions]
shop=car_wrecker 						{set shopmatch=no} 	[0x2f13 resolution 24 continue with_actions]
amenity=car_wash 						{set shopmatch=no} 	[0x2f0e resolution 24 continue with_actions]
shop=motorcycle 						{set shopmatch=no} 	[0x2f07 resolution 24 continue with_actions]
# 2f0f is found as garmin Dealer
amenity=car_repair 						{set shopmatch=no} 	[0x2f13 resolution 24 continue with_actions]


shop=department_store 					{set shopmatch=no} [0x2e01 resolution 24 continue with_actions]
shop=department							{set shopmatch=no} [0x2e01 resolution 24 continue with_actions]
shop=hardware 							{set shopmatch=no} [0x2e01 resolution 24 continue with_actions]
shop=doityourself 						{set shopmatch=no} [0x2e01 resolution 24 continue with_actions]
shop=grocery						 	{set shopmatch=no} [0x2e02 resolution 24 continue with_actions]
shop=bakery | shop=bakers | shop=baker 	{set shopmatch=no} [0x2e02 resolution 24 continue with_actions]
shop=supermarket | amenity=supermarket 	{set shopmatch=no} [0x2e03 resolution 24 continue with_actions]
shop=mall 								{set shopmatch=no} [0x2e04 resolution 24 continue with_actions]
shop=mall 								{set shopmatch=no} [0x3311 resolution 23 continue with_actions]
shop=convenience 						{set shopmatch=no} [0x2e06 resolution 24 continue with_actions]
shop=clothes 							{set shopmatch=no} [0x2e07 resolution 24 continue with_actions]
shop=apparel 							{set shopmatch=no} [0x2e07 resolution 24 continue with_actions]
shop=garden_centre 						{set shopmatch=no} [0x2e08 resolution 24 continue with_actions]
shop=garden_center 						{set shopmatch=no} [0x2e08 resolution 24 continue with_actions]
shop=furniture 							{set shopmatch=no} [0x2e09 resolution 24 continue with_actions]
shop=organic 							{set shopmatch=no} [0x2e0a resolution 24 continue with_actions]
shop=computer 							{set shopmatch=no} [0x2e0b resolution 24 continue with_actions]
shop=electronics 						{set shopmatch=no} [0x2e0b resolution 24 continue with_actions]
shop=electronic 						{set shopmatch=no} [0x2e0b resolution 24 continue with_actions]
shop=hifi 								{set shopmatch=no} [0x2e0b resolution 24 continue with_actions]
shop=boat 								{set shopmatch=no} [0x2f09 resolution 24 continue with_actions]



shop=hairdresser 						{set shopmatch=yes} [0x350f resolution 24 continue with_actions]
shop=florist 							{set shopmatch=yes} [0x350d resolution 24 continue with_actions]
# shop=doityourself 					{set shopmatch=yes} [0x3510 resolution 24 continue with_actions]
shop=butchers | shop=butcher | shop=seafood	{set shopmatch=yes} 
															[0x3511 resolution 24 continue with_actions]
shop=optician 							{set shopmatch=yes} [0x3512 resolution 24 continue with_actions]
shop=toys 								{set shopmatch=yes} [0x3513 resolution 24 continue with_actions]
shop=video 								{set shopmatch=yes} [0x3514 resolution 24 continue with_actions]
shop=videos								{set shopmatch=yes} [0x3514 resolution 24 continue with_actions]
shop=dvd 								{set shopmatch=yes} [0x3514 resolution 24 continue with_actions]
shop=outdoor 							{set shopmatch=yes} [0x3515 resolution 22 continue with_actions]
shop=beverages | shop=alcohol 			{set shopmatch=yes} [0x3516 resolution 24 continue with_actions]
shop=books 								{set shopmatch=yes} [0x3517 resolution 24 continue with_actions]
shop=book 								{set shopmatch=yes} [0x3517 resolution 24 continue with_actions]
# shop=electronics 						{set shopmatch=yes} [0x3518 resolution 24 continue with_actions]
# shop=electronic 						{set shopmatch=yes} [0x3518 resolution 24 continue with_actions]
shop=laundry | shop=dry_cleaning 		{set shopmatch=yes} [0x3519 resolution 24 continue with_actions]
shop=kiosk 								{set shopmatch=yes} [0x351a resolution 24 continue with_actions]
# shop=hifi 							{set shopmatch=yes} [0x351b resolution 24 continue with_actions]
shop=chemist 							{set shopmatch=yes} [0x351c resolution 24 continue with_actions]
shop=stationary 						{set shopmatch=yes} [0x351d resolution 24 continue with_actions]
shop=shoes 								{set shopmatch=yes} [0x351e resolution 24 continue with_actions]
shop=sports 							{set shopmatch=yes} [0x351f resolution 22 continue with_actions]
shop=adult | shop=erotic {name '${name} sexshop' | 'sexshop' }  [0x2e00 resolution 24]




shop=* & shopmatch=yes 																					[0x350e resolution 24 continue]
shop=* 	& shopmatch!=* & shop!=beauty & shop!=audiologist & shop!=bed & shop!=boutique & shop!=carpentry & shop!=carpenter & shop!=curtain & shop!=frame & shop!=fabric & shop!=furnace & shop!=glaziery & shop!=hearing_aids & shop!=interior_decoration & shop!=jewelry & shop!=kitchen & shop!=mobile_phone & shop!=paint & shop!=pawnbroker	& shop!=pet & shop!=tattoo & shop!=vacuum_cleaner [0x2e00 resolution 24]
# taxi needs to be added somewhere


( natural=peak | natural=summit ) & website=* & wiki!=* {set wiki=yes}
( natural=peak | natural=summit ) & relevance=* { set importance='${relevance}'}
( natural=peak | natural=summit ) & prominence=* { set importance='${prominence}'}
( natural=peak | natural=summit ) & (importance>4 | importance=international)	{set peakcopy=yes} 	[0x11517 resolution 23-16 continue with_actions]
( natural=peak | natural=summit ) & importance=4								{set peakcopy=yes} 	[0x11517 resolution 23-17 continue with_actions]
( natural=peak | natural=summit ) & (importance=3 | importance=national)		{set peakcopy=yes} 	[0x11517 resolution 23-18 continue with_actions]
( natural=peak | natural=summit ) & (importance=2 | importance=regional)		{set peakcopy=yes} 	[0x11517 resolution 23-19 continue with_actions]
( natural=peak | natural=summit ) & importance=1								{set peakcopy=yes} 	[0x11517 resolution 23-20 continue with_actions]
( natural=peak | natural=summit ) & (importance=0 | importance=urban)			{set peakcopy=yes} 	[0x11517 resolution 23-21 continue with_actions]
( natural=peak | natural=summit ) & (importance=-1 | importance=suburban)		{set peakcopy=yes} 	[0x11517 resolution 23-22 continue with_actions]
( natural=peak | natural=summit ) & (importance=-2	| importance=local)			{set peakcopy=yes} 	[0x11517 resolution 23-23 continue with_actions]
( natural=peak | natural=summit ) & (importance<-2	| importance=*)	& peakcopy!=yes					{set peakcopy=yes}

( natural=peak | natural=summit ) & ele>4000 & wiki=* 		& peakcopy!=yes	{set peakcopy=yes} 	[0x11517 resolution 23-19 continue with_actions]
( natural=peak | natural=summit ) & wiki=*	& ele<4001		& peakcopy!=yes	{set peakcopy=yes} 	[0x11517 resolution 23-20 continue with_actions]
( natural=peak | natural=summit ) & ele>2000 				& peakcopy!=yes {set peakcopy=yes} 	[0x11517 resolution 23-21 continue with_actions]
( natural=peak | natural=summit ) & ele=*					& peakcopy!=yes {set peakcopy=yes} 	[0x11517 resolution 23-22 continue with_actions]
( natural=peak | natural=summit ) & ele!=*					& peakcopy!=yes {set peakcopy=yes} 	[0x11517 resolution 23-22 continue with_actions]
( natural=peak | natural=summit )  	 														   	[0x6616 resolution 24 continue]
# natural=mountain & peakcopy!=yes															   	[0x2c15 resolution 24 continue]
natural=mountain & peakcopy!=yes															   	[0x6615 resolution 24 continue]
natural=mountain & peakcopy!=yes				   												[0x11517 resolution 23-22 continue]

man_made=observatory [0x6415 resolution 22 continue]

# Essen und Trinken
amenity=drinking_water 	{ name '${name} dw' | 'drinking water'; set nospring=yes; add mkgmap:road-class = '+1' }				[0x2f16 resolution 24 continue with_actions]
amenity=drinking_water 	{ name '${name} dw' | 'drinking water' }									[0x11508 resolution 22 continue]
amenity=watering_place 	{ name 'wplace ${name}' | 'watering place'; set nospring=yes; add mkgmap:road-class = '+1' }			[0x2f16 resolution 24 continue with_actions]
amenity=watering_place 	{ name 'wplace ${name}' | 'watering place'} 								[0x11508 resolution 22 continue]
waterway=water_point & nospring!=yes	{ name 'wpoint ${name}' | 'water point'; set nospring=yes; add mkgmap:road-class = '+1' } [0x2f16 resolution 24 continue with_actions]
waterway=water_point & amenity!=drinking_water & amenity!=watering_place {name 'wpoint ${name}' | 'water point'}	[0x350b resolution 22 continue]
natural=waterfall {set waterway=waterfall}
waterway=waterfall [0x6508 resolution 22 continue]


amenity=quelle & nospring!=yes	{ set nospring=yes } 	[0x6511 resolution 22 continue with_actions]
natural=quelle & nospring!=yes 	{ set nospring=yes }	[0x6511 resolution 22 continue with_actions]
natural=spring & nospring!=yes 	{ set nospring=yes }	[0x6511 resolution 22 continue with_actions]
amenity=spring & nospring!=yes 	{ set nospring=yes }	[0x6511 resolution 22 continue with_actions]
# amenity=fountain & nospring!=yes { set nospring=yes }	[0x6500 resolution 23 continue with_actions]
amenity = heuriger 	| amenity=restaurant & cusine=heuriger	[0x2c0a resolution 24]
amenity = winery 		[0x2c0a resolution 24]


cuisine = american | cuisine = america		{ set cuisinematch=no} [0x2a0e resolution 24 continue with_actions]
cuisine = asian | cuisine = asia		{ set cuisinematch=no} [0x2a02 resolution 24 continue with_actions]
cuisine = japanese | cuisine=japan | cuisine=sushi		{ set cuisinematch=no} [0x2a02 resolution 24 continue with_actions]
cuisine = korean 		{ set cuisinematch=no} [0x2a02 resolution 24 continue with_actions]
cuisine = thai 			{ set cuisinematch=no} [0x2a02 resolution 24 continue with_actions]
cuisine = barbecue 		{ set cuisinematch=no} [0x2a03 resolution 24 continue with_actions]
cuisine = grill 		{ set cuisinematch=no} [0x2a03 resolution 24 continue with_actions]
cuisine = chinese | cuisine=sichuan | cuisine=kantoneese | cuisine=cantoneese | cuisine=shandong	{ set cuisinematch=no} [0x2a04 resolution 24 continue with_actions]
cuisine = greek | cuisine=greece | cuisine=griechisch	{ set cuisinematch=no} [0x2a05 resolution 24 continue with_actions]
cuisine = deli 			{ set cuisinematch=no} [0x2a05 resolution 24 continue with_actions]
cuisine = international { set cuisinematch=no} [0x2a06 resolution 24 continue with_actions]
cuisine = italian | cuisine = italia | cuisine = italy		{ set cuisinematch=no} [0x2a08 resolution 24 continue with_actions]
cuisine = noodle | cuisine=pasta 			{ set cuisinematch=no} [0x2a08 resolution 24 continue with_actions]
cuisine = mexican | cuisine = spanish | cuisine = mexico | cuisine = spain		{ set cuisinematch=no} [0x2a09 resolution 24 continue with_actions]
cuisine = pizza 		{ set cuisinematch=no} [0x2a0a resolution 24 continue with_actions]
( amenity=restaurant | amenity=fast_food) & cuisine ~ '.*pizza.*' { set cuisinematch=no} [0x2a0a resolution 24 continue with_actions]
cuisine = sea_food 		{ set cuisinematch=no} [0x2a0b resolution 24 continue with_actions]
cuisine = steak_house | cuisine=steak | cusine=american	
						{ set cuisinematch=no} [0x2a0c resolution 24 continue with_actions]
cuisine = steak 		{ set cuisinematch=no} [0x2a0c resolution 24 continue with_actions]
cuisine = donut 		{ set cuisinematch=no} [0x2a0e resolution 24 continue with_actions]
cuisine = bagel 		{ set cuisinematch=no} [0x2a0e resolution 24 continue with_actions]
cuisine = diner			{ set cuisinematch=no} [0x2a0e resolution 24 continue with_actions]
cuisine = french | cuisine = france | cuisine = francais { set cuisinematch=no} [0x2a0f resolution 24 continue with_actions]
cuisine = crepe 		{ set cuisinematch=no} [0x2a0f resolution 24 continue with_actions]
cuisine = german | cusine=deutsch | cuisine = germany | cuisine = deutschland		{ set cuisinematch=no} [0x2a10 resolution 24 continue with_actions]
cuisine = austrian 	| cuisine = oesterreich	{ set cuisinematch=no} [0x2a10 resolution 24 continue with_actions]
cuisine = bavarian | cuisine = bayrisch | cuisine = boarisch 		{ set cuisinematch=no} [0x2a10 resolution 24 continue with_actions]
cuisine = british  | cuisine=english | cuisine=irish | cuisine=fish_and_chips		{ set cuisinematch=no} [0x2a11 resolution 24 continue with_actions]
cuisine = fish_and_chips | cuisine=friture  { set cuisinematch=no} [0x2a11 resolution 24 continue with_actions]
cuisine = vegan 		{ set cuisinematch=no} [0x2a12 resolution 24 continue with_actions]
cuisine = speciality 	{ set cuisinematch=no} [0x2a12 resolution 24 continue with_actions]
cuisine = vegetarian 	{ set cuisinematch=no} [0x2a13 resolution 24 continue with_actions]
cuisine = regional 		{ set cuisinematch=no} [0x2a14 resolution 24 continue with_actions]
cuisine = burger 		{ set cuisinematch=no} [0x2a07 resolution 24 continue with_actions]
cuisine = chicken 		{ set cuisinematch=no} [0x2a07 resolution 24 continue with_actions]
cuisine = ice_cream | cuisine = icecream | amenity=icecream | amenity=ice_cream | shop=ice_cream  	{ set cuisinematch=no} [0x2a1c resolution 24 continue with_actions]
cuisine = curry | cusine=indian | cuisine=pakistani | cusine=lebanese		{ set cuisinematch=no} [0x2a06 resolution 24 continue with_actions]
cuisine = kebap | cuisine = doener 	{ set cuisinematch=no} [0x2a07 default_name='kebab' resolution 24 continue with_actions]
cuisine = pie 						{ set cuisinematch=no} [0x2a07 resolution 24 continue with_actions]
cuisine = sandwich 					{ set cuisinematch=no} [0x2a07 resolution 24 continue with_actions]
cuisine = savory_pancakes 			{ set cuisinematch=no} [0x2a0f resolution 24 continue with_actions]


amenity=pub 	& cuisinematch!=* {name '${name} pub '; set cuisinematch=no} 				[0x2d02 resolution 24 continue with_actions]
amenity=biergarten 	{name '${name} biergarten ' | 'biergarten'; set cuisinematch=no} 		[0x4601 resolution 24 continue with_actions]
amenity=bar 						{ set cuisinematch=no} 									[0x4600 resolution 24 continue with_actions]
amenity=nightclub 	{name '${name} nightclub'; set cuisinematch=no} 						[0x4600 resolution 24 continue with_actions]
amenity=night_club 	{name '${name} nightclub'; set cuisinematch=no} 						[0x4600 resolution 24 continue with_actions]
amenity=cafe | cuisine=coffe_shop {name 'cafe ${name}' | 'cafe'; set cuisinematch=no} 		[0x2a01 resolution 24 continue with_actions]
amenity=nightclub 																			[0x2d02 resolution 24 continue with_actions]
amenity=fast_food 	& cuisinematch!=*				{ set cuisinematch=no} 					[0x2a07 resolution 24 continue with_actions]
amenity=restaurant 	& cuisinematch!=*				{ set cuisinematch=no} 					[0x2a00 resolution 24 continue with_actions]
restaurant=* 		& cuisinematch!=*				{ set cuisinematch=no} 					[0x2a00 resolution 24 continue with_actions]
(amenity=restaurant | amenity=food_court)	& cuisinematch!=*	{ set cuisinematch=no} 		[0x2a00 resolution 24 continue with_actions]
cuisine=* 		& cuisinematch!=*															[0x2a00 resolution 24 continue with_actions]
# missing amenity=brothel

amenity=bicycle_rental 	{ name '${name} ${spaces} ${network}' }				[0x2f02 resolution 24 continue]
amenity=bicycle_rental 	{ name '${name} ${spaces} ${network}' }				[0x1151c resolution 24-22 continue]
amenity=bicycle_rental 	{ name '${name} ${spaces} ${network}' }				[0x1960b resolution 22-22 continue]

amenity=WLAN 	& wlanmatch!=*		{set wlanmatch=no}						[0x2f12 resolution 23 continue with_actions]
amenity=Wlan 	& wlanmatch!=*		{set wlanmatch=no}						[0x2f12 resolution 23 continue with_actions]
amenity=wlan 	& wlanmatch!=*		{set wlanmatch=no}						[0x2f12 resolution 23 continue with_actions]
amenity=wifi	& wlanmatch!=*		{set wlanmatch=no}						[0x2f12 resolution 23 continue with_actions]

internet_access=yes & wlanmatch!=* { name 'Internet ${name}' | 'Internet'; set wlanmatch=no } [0x2f12 resolution 24 continue]
internet_access=* & wlanmatch!=* & amenity!=wifi & internet_access!=no & internet_access!=yes { name 'Internet(${internet_access}) ${name|def:}' } [0x2f12 resolution 24 continue]

amenity=arts_centre | amenity=arts_center									[0x2f14 resolution 24 continue]

amenity=bank | amenity='bank;atm' | amenity='bank; atm' {name 'Bank ${name}' | 'Bank' }		[0x2f06 resolution 23 continue]
amenity=atm 		{name 'ATM ${name}' | 'ATM' }		[0x2f06 resolution 24 continue]
amenity=cashpoint 	{name 'ATM ${name}' | 'ATM' }		[0x2f06 resolution 24 continue]
amenity=cash_point 	{name 'ATM ${name}' | 'ATM' }		[0x2f06 resolution 24 continue]

amenity=casino 											[0x2d04 resolution 24 continue]
amenity=cinema											[0x2d03 resolution 24 continue]


# amenity=college 					[0x6410 resolution 24 continue]
# amenity=school 					[0x2c05 resolution 24 continue]
# amenity=kindergarten 				[0x2c05 resolution 24 continue]
# amenity=university 				[0x6410 resolution 24 continue]
# amenity=townhall 					[0x3003 resolution 24 continue]
# also 0x2c29 and 0x2c9 is found as hall/auditorium.
amenity=hospital | healthcare=hospital	[0x3002 resolution 24 continue]
amenity=hospital | healthcare=hospital	[0x3312 resolution 23-23 continue]
amenity=library 					[0x2c03 resolution 24 continue]
# amenity=courthouse 					[0x3004 resolution 24 continue]
amenity=concert_hall 				[0x2c09 resolution 24 continue]
amenity=concerthall 				[0x2c09 resolution 24 continue]
# amenity=conference_centre 		[0x2c09 resolution 24 continue]
# amenity=conferencecentre 			[0x2c09 resolution 24 continue]
# amenity=convention_center	 		[0x2c09 resolution 24 continue]
amenity=community_centre 			[0x3005 resolution 24 continue]
amenity=communitycentre 			[0x3005 resolution 24 continue]
amenity=grave_yard 					[0x6403 resolution 24 continue]
# amenity=graveyard 				[0x6403 resolution 24 continue]
amenity=fire_station 				[0x3008 resolution 23 continue]
amenity=firestation 				[0x3008 resolution 23 continue]
amenity=mountain_rescue {name 'mtn_rescue ${name}' | 'mtn_rescue' }		[0x4b01 resolution 24 continue]
amenity=mountain_rescue {name 'mtn_rescue ${name}' | 'mtn_rescue' }		[0x340a resolution 23-22 continue]
amenity=mountain_rescue {name 'mtn_rescue ${name}' | 'mtn_rescue' }		[0x1860a resolution 22-21 continue]
amenity=doctors | healthcare=doctors | amenity=doctor | healthcare=doctor | amenity=dentist | healthcare=dentist	[0x4b01 resolution 24 continue]
amenity=veterinary 	| healthcare=veterinary				[0x6408 resolution 24 continue]
amenity=police 						[0x3001 resolution 24 continue]
amenity=police_station 				[0x3001 resolution 24 continue]
amenity=post_office {name 'post_office ${name}' | 'post_office' }	[0x2f05 resolution 24 continue]
amenity=post_box {name 'post_box ${name}' | 'post_box' }	[0x640f resolution 24 continue]
amenity=public_building 			[0x3000 resolution 24 continue]
amenity=embassy & country=* { name '${country} ${name|def:}' } [0x3000 resolution 24 continue]
amenity=embassy & country!=* [0x3000 resolution 24 default_name 'Embassy' continue]
# 0x3000 is found under government building
# 0x3007 is found as government office
amenity=pharmacy 					[0x2e05 resolution 24 continue]
# amenity=recycling 					[0x320d resolution 24 continue]


amenity=emergency_phone | highway=emergency_access_point | emergency_phone=yes	[0x5100 resolution 24 default_name='emergency_phone' continue]
amenity=telephone 	[0x5100 resolution 24 default_name 'Telephone' continue]
amenity=theatre 	[0x2d01 resolution 24 continue]
amenity=theater	 	[0x2d01 resolution 24 continue]
amenity=toilets 	[0x4e00 resolution 24 default_name='Toilets'  continue]
amenity=toilet 		[0x4e00 resolution 24 default_name='Toilet'  continue]
amenity=restroom	[0x4e00 resolution 24 default_name='Restroom'  continue]

aerialway=station 				{ name '$gondola ${name}' | 'Gondola' } [0x1151a resolution 22 continue]
aerialway=station 				{ name '$gondola ${name}' | 'Gondola' } [0x2f08 resolution 24 continue]

railway=station 				{ name 'station ${operator} ${name} ${ref}' | 'station ${name}' } [0x11512 resolution 22 continue]
railway=station 				{ name 'station ${operator} ${name} ${ref}' | 'station ${name}' } [0x2f08 resolution 24]

railway=subway_entrance | railway=subwayentrance 		{ name 'tube ${name} ${ref}' | 'tube ${ref}' | 'tube ${name}' | 'tube' } [0x11500 resolution 24 continue]
railway=subway_entrance | railway=subwayentrance 		{ name 'tube ${name} ${ref}' | 'tube ${ref}' | 'tube ${name}' | 'tube' } [0x2f08 resolution 24]

railway=halt 					{ name 'railway=halt ${name} ${ref}' | 'railway=halt ${ref}' | 'railway=halt ${name}' | 'railway=halt' } [0x11501 resolution 24 continue]
railway=halt 					{ name 'railway=halt ${name} ${ref}' | 'railway=halt ${ref}' | 'railway=halt ${name}' | 'railway=halt' } [0x2f08 resolution 24]

railway=tram_stop | railway=tramstop	{ name 'tram_stop ${name} ${tram_lines} ${ref}' | 'tram_stop ${name}'} [0x11507 resolution 24 continue]
railway=tram_stop | railway=tramstop	{ name 'tram_stop ${name} ${tram_lines} ${ref}' | 'tram_stop ${name}'} [0x2f08 resolution 24]

railway=stop 					{ name 'stop ${name} ${ref}' | 'stop ${name}' | 'stop'} [0x11503 resolution 24 continue]
railway=stop 					{ name 'stop ${name} ${ref}' | 'stop ${name}' | 'stop'} [0x2f08 resolution 24]

highway=bus_station | amenity=bus_station | amenity=busstation | highway=busstation 	{ name 'bus_station ${name} ${ref} ${bus_lines} ${operator}' | 'bus_station ${name}' | 'bus_station'} [0x11504 resolution 23 continue]
highway=bus_station | amenity=bus_station | amenity=busstation | highway=busstation 	{ name 'bus_station ${name} ${ref} ${bus_lines} ${operator}' | 'bus_station ${name}' | 'bus_station'} [0x2f08 resolution 24]

highway=bus_stop | amenity=bus_stop	| highway=busstop | amenity=busstop					{ name 'bus_stop ${name} ${ref} ${bus_lines} ${operator}' | 'bus_stop ${name}' | 'bus_stop'} [0x11505 resolution 24 continue]
highway=bus_stop | amenity=bus_stop	| highway=busstop | amenity=busstop					{ name 'bus_stop ${name} ${ref} ${bus_lines} ${operator}' | 'bus_stop ${name}' | 'bus_stop'} [0x2f08 resolution 24]


# Barriers
# highway=gate | barrier=gate 		[0x4313 resolution 24]
# highway=bollard | barrier=bollard [0x320e resolution 24]
highway=residential & ( noexit=yes | deadend=yes | no_exit=yes ) [0x3405 resolution 24]
noexit=yes 							[0x3405 resolution 23]
no_exit=yes 						[0x3405 resolution 23]
deadend=yes 						[0x3405 resolution 23]

mountainpass=yes | mountain_pass=yes | highway=mountainpass | highway=mountain_pass	[0x6401 resolution 24 continue]
mountainpass=yes | mountain_pass=yes | highway=mountainpass | highway=mountain_pass	{ add mkgmap:road-class = '+1' } [0x1151f resolution 20 continue]

# barrier=cycle_barrier				[0x2f1c resolution 22]
# barrier=cattle_grid	| barrier=cattel_grid	{ add mkgmap:road-class = '+1' } [0x2f1d resolution 24]
barrier=toll_booth					[0x291c resolution 23 continue]
# barrier=toll_booth				[0x11506 resolution 24 continue]
# barrier=stile						[0x2f1f resolution 24]
# barrier=bump_gate					[0x2918 resolution 24]
# barrier=bumpgate					[0x2918 resolution 24]
# barrier=block						[0x2919 resolution 24]
# barrier=hampshire_gate			[0x291a resolution 24]
# barrier=hampshiregate				[0x291a resolution 24]
# barrier=sally_port				[0x291b resolution 24]
# barrier=sallyport					[0x291b resolution 24]
barrier=border_controll | amenity=border_controll | amenity=bordercontroll | barrier=bordercontroll	| barrier=border_control | amenity=border_control | amenity=bordercontrol | barrier=bordercontrol	[0x291c resolution 24 continue]
barrier=border_controll | amenity=border_controll | amenity=bordercontroll | barrier=bordercontroll	| barrier=border_control | amenity=border_control | amenity=bordercontrol | barrier=bordercontrol	[0x11506 resolution 22]
entrance=yes | barrier=entrance	| barrier=porticullis | barrier=sally_port	[0x4314 resolution 24 continue]
# barrier=kissing_gate				[0x291e resolution 24]
# barrier=kissinggate 				[0x291e resolution 24]
# barrier=lift_gate					[0x291f resolution 24]
# barrier=liftgate					[0x291f resolution 24]


#missing bump_gate, block, border_controll,kissing_gate, entrance, lift_gate, sally_port, hampshire_gate

# Traffic
( highway=traffic_signal | crossing=traffic_signal | highway=traffic_signals | crossing=traffic_signals | highway=traffic_lights | crossing=traffic_lights |	highway=traffic_light | crossing=traffic_light	| 	highway=traffic_light | crossing=traffic_light ) { add mkgmap:road-speed = '-1'; add mkgmap:road-class = '-1' }		
# [0x330c resolution 24] for traffic_signals

# highway=crossing 																		[0x290d resolution 24]
highway=stop {add mkgmap:road-speed	= '-1'}
# highway=stop {add mkgmap:road-speed	= '-1'}											[0x320a resolution 24]
# traffic_sign = city_limit 															[0x330e resolution 24]
# highway=speed_camera 		{name 'maxspeed ${maxspeed} km/h'} 							[0x5601 resolution 24]
# highway=motorway_junction & proposed!=* {name '${ref} ${name}' | '${ref}' | '${name}'}	[0x320c resolution 24]
# highway=motorway_exit & proposed!=* 	{name '${ref} ${name}' | '${ref}' | '${name}'}	[0x2700 resolution 24]
highway=services 			{name '${ref} ${name}' | '${ref}' | '${name}'}				[0x2f0a resolution 23]
amenity=fuel 																			[0x2f01 resolution 23]
amenity=bicycle_parking 	{name 'bikepark ${name}' | 'bikepark' }						[0x2f0b resolution 23 continue]

amenity=parking 			{name 'carpark ${name}'  | 'carpark'  }						[0x2f0b resolution 24]
# railway=crossing 								{ add mkgmap:road-speed = '-1' }		[0x3406 resolution 24]
# railway=level_crossing 						{ add mkgmap:road-speed = '-1' }		[0x3406 resolution 24]
# railway=mini_roundabout						{ add mkgmap:road-speed = '-1' }		[0x3406 resolution 24]
railway=crossing 								{ add mkgmap:road-speed = '-1' }		
railway=level_crossing 							{ add mkgmap:road-speed = '-1' }
railway=mini_roundabout							{ add mkgmap:road-speed = '-1' }				






leisure=golf_course 				[0x2d05 resolution 23 continue]
leisure=golfcourse 					[0x2d05 resolution 23 continue]
leisure=marina 	| amenity=ferry_terminal | amenity=harbour	[0x4300 resolution 22 continue]
# leisure=park 						[0x2c06 resolution 24 continue]
leisure=pitch 						[0x2911 resolution 24 continue]
leisure=sports_center | leisure=sports_centre {name 'sports_centre ${name}' } [0x2d0a resolution 23 continue]
leisure=stadium 					[0x2c08 resolution 24 continue]
leisure=stadium 					[0x3318 resolution 23 continue]
leisure=track 						[0x2c08 resolution 24 continue]
# track was 0x2910

aeroway=airport | amenity=airport		[0x2f04 resolution 22]
aeroway=aerodrome | amenity=aerodrome	[0x2f04 resolution 22]
aeroway=terminal 						[0x2f04 resolution 24]

# 0x5903 would be possible too for airport
# 0x5904=heliport

power_source=wind |  powersource=wind | power=wind	| man_made=power_wind | man_made=windpower | man_made=wind_power 	[0x1151e resolution 22]
power=generator & (power_source=hydro | power_source=tidal | power_source=wave | power_source=geothermal) 				[0x3205 resolution 24]
power=generator & (power_source=nuclear | power_source=fusion) 															[0x3204 resolution 24]
power=generator & (power_source=biofuel | power_source=oil | power_source=coal | power_source=gas | power_source=waste) [0x3202 resolution 24]
power=generator & (power_source=photovoltaic  | power_source=solar-thermal | power_source=solar) 						[0x3203 resolution 24]
power=tower 			[0x3200 resolution 24]
aerialway=pylon			[0x3200 resolution 24]
# empty manmade 6415-16
power=generator 		[0x3403 resolution 24]
power=sub_station 		[0x3402 resolution 24]
power=substation 		[0x3402 resolution 24]
# 6609,6611,6612,6613 Geographic=land
man_made=reservoir_covered 	[0x3206 resolution 24]
man_made=reservoir 			[0x3206 resolution 24]
man_made=water_tower 		[0x3206 resolution 22]
man_made=tower & tower:type=observation	  								[0x330a resolution 22 continue]
man_made=tower & tower:type=communication & height>50					[0x3313 resolution 22 continue]
man_made=tower & tower:type=communication & ( height<51 | height!=* )	[0x3313 resolution 22 continue]
man_made=tower	& tower:type!=communication & tower:type!=observation	[0x3313 resolution 22 continue]
man_made=lighthouse			[0x1151d resolution 22]
man_made=windmill 			[0x4317 resolution 22]
man_made=wind_mill 			[0x4317 resolution 22]
man_mane=water_mill			[0x11519 resolution 23]
man_made=communication_tower {set man_made=communications_tower}
man_made=communications_tower & height>100				[0x11513 resolution 21]
man_made=communications_tower & ( height>50 | url=* )	[0x11513 resolution 22]
man_made=communications_tower							[0x11513 resolution 23]
man_made=mast											[0x11513 resolution 23]

# man_made=surveillance 				[0x2c16 resolution 24]
# man_made=gasometer 					[0x3401 resolution 24]
man_made=mineshaft						[0x3401 resolution 24]
amenity=prison 							[0x3207 resolution 24]
man_made=survey_point 					[0x4315 resolution 24]
# survey war 2c18
# amenity=grit_bin 						[0x3201 resolution 24]
# I think grit_bin is not really needed

leisure=hunting_blind | amenity=hunting_stand | amenity=hochstand | amenity=hunting_blind | amenity=blind | building=hunting_blind 	[0x3407 resolution 22]


# military
military=bunker [0x5801 resolution 24]

# Natural and Points for Orientation
natural=beach 				[0x341e resolution 24 continue]
natural=beach 				[0x11516 resolution 23 continue]
# natural=cliff 			[0x2c13 resolution 24 continue]
# maybe take natural=rock / stone out.
( natural=rock | natural=rocks | natural=stone ) & name=* [0x2c12 resolution 24 continue]
natural=geyser 				[0x341f resolution 24 continue]
natural=geysir 				[0x341f resolution 24 continue]
# natural=glacier 			[0x2c19 resolution 24 continue]
natural=cave_entrance 		[0x640c resolution 22 continue]
natural=cave 				[0x11502 resolution 23 continue]
natural=stream				[0x6512 resolution 24 continue]
# 6619 wird mit Symbol angezeigt
natural=volcano 			[0x341a resolution 24 continue]
natural=volcano 			[0x3310 resolution 23-22 continue]
natural=volcano 			[0x18610 resolution 22-22 continue]
natural=wetland 			[0x341b resolution 24 continue]



# Not shown on oregon: Equestrian, baseball, kricket(also missing in typfile) 
# not shown on Oregon skating, tennis, handball, boules , dart, archery, diving, volleyball, soccer, basketball, table_tennis, climbing, canoe (wrong icon of archery in mapsource), rugby, skateboard, minature_golf
# shown on oregon but only as point: hockey, athletics
# means 2d0c and upwards not shown?
sport=golf 				[0x2d05 resolution 24]  
sport=9pin 				[0x2d07 resolution 24]
sport=10pin 			[0x2d07 resolution 24]
sport=multi 			[0x2d0a resolution 24]
sport=hockey 			[0x2915 resolution 24]
sport=athletics 		[0x2912 resolution 24]
sport=skiing 			[0x2d06 resolution 24 continue]
sport=skiing 			[0x331b resolution 22]
sport=swimming 	{name 'swimming ${name}' }	[0x2d09 resolution 24 continue]
sport=swimming 	{name 'swimming ${name}' }	[0x331c resolution 22]
sport=motor 			[0x2d0b resolution 24]
sport=airport			[0x2d0b resolution 24]


sport=soccer 			[0x340c resolution 24]
sport=volleyball 		[0x340d resolution 24]
sport=basketball 		[0x340e resolution 24]
sport=table_tennis 		[0x340f resolution 24]
sport=tennis 			[0x3210 resolution 24]
sport=handball 			[0x3211 resolution 24]
sport=team_handball 	[0x3211 resolution 24]
sport=boules 			[0x3212 resolution 24]
# sport=dart 			[0x3213 resolution 24]
sport=archery 			[0x3214 resolution 24]
sport=diving 			[0x3215 resolution 24]
sport=skating 			[0x3216 resolution 24]
sport=cricket 			[0x3218 resolution 24]
sport=rubgy 			[0x3217 resolution 24]
sport=climbing 			[0x3213 resolution 24]
sport=equestrian 		[0x3219 resolution 24]
sport=rugby 			[0x321b resolution 24]
sport=miniature_golf 	[0x321c resolution 24]
leisure=miniature_golf 	[0x321c resolution 24]
sport=canoe 			[0x321d resolution 24]
sport=skateboard 		[0x321e resolution 24]
sport=baseball 			[0x321f resolution 24]

# Shown again.
sport=*	& sport!=dart	[0x2d0a resolution 24]







tourism=viewpoint 		[0x5200 resolution 22 continue]
# all 0x521? are found as attraction landmark
tourism=attraction 		[0x10d04 resolution 24 continue]
tourism=attraction 		[0x3317 resolution 22]


tourism=guest_house { name '${name} guesthouse' | 'guesthouse' } 			[0x2b02 resolution 23]
tourism=camp_site 	 { name '${name}' | 'campsite' }						[0x2b03 resolution 24 continue]
tourism=camp_site 	 { name '${name}' | 'campsite' }						[0x11511 resolution 21 continue]
# tourism=caravan_site { name '${name} caravan_site' | 'caravan_site' }		[0x2b03 resolution 24 continue]
tourism=caravan_site { name '${name} caravan_site' | 'caravan_site' }		[0x10c03 resolution 22]
tourism=hostel { name '${name} hostel ' | 'hostel' } 						[0x2b01 resolution 24 continue]
tourism=hostel { name '${name} hostel ' | 'hostel' } 						[0x11510 resolution 22]

tourism=hotel  { name '${name} hotel' | 'hotel' } 		[0x2b00 resolution 23]
tourism=motel  { name '${name} motel' | 'motel' } 		[0x2b00 resolution 23]
tourism=picnic_site {name 'picnic ${name}' | 'picnic' }	[0x4a00 resolution 22]
tourism=picnic	 {name 'picnic ${name}' | 'picnic' }	[0x4a00 resolution 22]
amenity=bbq    { name 'bbq ${name}' | 'bbq' }  			[0x4a00 resolution 22]

tourism=resort 											[0x2b06 resolution 24 continue]
tourism=theme_park {name '${name} theme_park' }			[0x2c01 resolution 24 continue]
tourism=theme_park {name '${name} theme_park' }			[0x11514 resolution 23]

tourism=wine_cellar {name '${name} wine_cellar' }		[0x2c0a resolution 24]

tourism=zoo | amenity=zoo {name '${name} Zoo ' | 'Zoo' }				[0x2c07 resolution 24 continue]
tourism=zoo | amenity=zoo {name '${name} Zoo ' | 'Zoo' }				[0x11515 resolution 23]

tourism=chalet 			[0x3208 resolution 24]
# amenity=bench 			[0x330d resolution 24]
# amenity=playground 		[0x3404 resolution 24]
# leisure=playground 		[0x3404 resolution 24]
# 0x4a05 is an attraction and empty
leisure=water_park 		{name '${name} waterpark' }							[0x2d08 resolution 24 continue]
leisure=water_park 		{name '${name} waterpark' }							[0x331a resolution 22]
leisure=swimming 		{name '${name} swimming' | 'swimming' }				[0x2d09 resolution 24 continue]
leisure=swimming 		{name '${name} swimming' | 'swimming' }				[0x331c resolution 22]
# swimming was 0x2d08 
leisure=swimming_pool	{name '${name} swimming_pool' | 'swimming_pool' }	[0x2d09 resolution 24]

leisure=fishing		 	[0x4100 resolution 23]
# 0x4a0* wird unter Park/Garden gefunden. Fish existiert.



information=office	{name 'infooffice ${name}' | 'infooffice' }		[0x2f0c resolution 24 continue]
information=office	{name 'infooffice ${name}' | 'infooffice' }		[0x3319 resolution 23-22]

information=mtbmap	{name 'mtbmap ${name}' | 'mtbmap' }				[0x4c01 resolution 22]
information=cyclemap	{name 'cyclemap ${name}' | 'cyclemap' }		[0x4c01 resolution 22]
information=bicyclemap	{name 'bicyclemap ${name}' | 'bicyclemap' }	[0x4c01 resolution 22]

information=map & mtb=yes	{name 'mtbmap ${name}' | 'mtbmap' }		[0x4c01 resolution 21]
information=map & bicycle=yes	{name 'cyclemap ${name}' | 'cyclemap' }	[0x4c01 resolution 22]
information=map & hiking=yes {name 'hikingmap ${name}' | 'hikingmap' }	[0x4c01 resolution 22]

information=sitemap	{name 'sitemap ${name}' | 'sitemap' }			[0x4c01 resolution 22]
information=hikingmap	{name 'hikingmap ${name}' | 'hikingmap' }	[0x4c01 resolution 22]
information=pistemap	{name 'pistemap ${name}' | 'pistemap' }		[0x4c01 resolution 22]
information=nature	{name 'natureinfo ${name}' | 'natureinfo' }		[0x4c01 resolution 22]
information=wildlife {name 'wildlifeinfo ${name}' | 'wildlifeino' }	[0x4c01 resolution 22]
information=citymap	{name 'citymap ${name}' | 'citymap' }			[0x4c01 resolution 22]
information=map	{name 'infomap ${name}' | 'infomap' }				[0x4c01 resolution 22]
information=board 	{name 'inboard ${name}' | 'infoboard' }			[0x4c00 resolution 22]
( information=guidepost | amenity=guidepost ) & bicycle=yes			[0x330b resolution 24]
( information=guidepost | amenity=guidepost ) & bicycle!=yes & name=*	[0x341d resolution 24]
( amenity=signpost | information=signpost	) & name=*				[0x341d resolution 24]

tourism=information     										[0x4c00 resolution 24]
historic=wayside_cross 											[0x11509 resolution 24]
historic=wayside_shrine 										[0x3409 resolution 24]
historic=museum | tourism=museum								[0x2c02 resolution 24 continue]
historic=museum | tourism=museum								[0x3316 resolution 23]
tourism=artwork 												[0x2c0f resolution 24]
# Move artwork to 2c04??
# historic=ruins 												[0x2c0e resolution 24 continue]
historic=ruins 													[0x11518 resolution 22]
historic=castle  | historic=fortress  							[0x2c0d resolution 24 continue]
historic=castle  | historic=fortress							[0x3315 resolution 22]
# war wie museum
historic=memorial 												[0x2c10 resolution 24]
historic=archaeological_site 									[0x640a resolution 24]
# 0x640a is shown at resolution 22
amenity=place_of_worship | building=church	| historic=monastery	[0x2c0b resolution 24 continue]
amenity=cathedral | building=cathedral	| historic=cathedral		[0x3314 resolution 21]
amenity=place_of_worship | building=church	| historic=monastery	[0x3314 resolution 23]

church=* & (building!=church | historic!=monastery | amenity!=place_of_worship)	[0x2c0b resolution 24]
historic=monument 												[0x2c0f resolution 22]
# historic=battlefield [0x2c* resolution 24]
note=*	& building!=*											[0x4316 resolution 24]

# noexit is found as attraction. Yeahaa - map it.
noexit=no				{name 'noexit=no ${name}' | 'way continues' }	[0x4a05 resolution 22]
fixme=continue			{name 'noexit=no ${name}' | 'way continues' }	[0x4a05 resolution 22]
fixme=continuation		{name 'noexit=no ${name}' | 'way continues' }	[0x4a05 resolution 22]
fixme=way_continues		{name 'noexit=no ${name}' | 'way continues' }	[0x4a05 resolution 22]
fixme=street_continues	{name 'noexit=no ${name}' | 'way continues' }	[0x4a05 resolution 22]
fixme=incomplete		{name 'noexit=no ${name}' | 'way continues' }	[0x4a05 resolution 24]