# -------------------------------------------------------------------
# This is the mkgmap dani style file for converting closed OSM ways
# into Garmin polygons. It is based on the default style
# Any line prefaced with # is a comment and will not be applied.
# Each line is a rule, of the generalised format:
#  OSM_tag(s)_to_match  [Garmin_type_code resolution]
# See http://wiki.openstreetmap.org/wiki/Mkgmap/help/style_rules
# and http://wiki.openstreetmap.org/wiki/Mkgmap/help/Custom_styles
# for more information.

aeroway=airport [0x07 resolution 18]
aeroway=aerodrome [0x07 resolution 18]
aeroway=terminal [0x13 resolution 20]

amenity=kindergarten [0x0a resolution 18]
amenity=cafe | amenity=fast_food | amenity=restaurant | amenity=food_court [0x08 resolution 20]
amenity=college [0x0a resolution 18]
amenity=grave_yard [0x1a resolution 18]
amenity=hospital [0x0b resolution 18]
amenity=parking [0x05 resolution 20]
amenity=school [0x0a resolution 18]
#amenity=supermarket [0x08 resolution 20]
amenity=university [0x0a resolution 18]

landuse=allotments [0x4e resolution 20]
landuse=basin [0x41 resolution 18]
landuse=cemetary [0x1a resolution 18]
landuse=cemetery [0x1a resolution 18]
landuse=commercial [0x0c resolution 18]
landuse=construction [0x0c resolution 20]
landuse=farm [0x0f resolution 18] #0x4e
landuse=farmyard | landuse=farmland [0x0f resolution 18] #0x4e
landuse=forest | landuse=wood [0x50 resolution 18]
landuse=greenfield [0x17 resolution 18]
landuse=industrial [0x0c resolution 18]
landuse=meadow [0x17 resolution 18]
landuse=military [0x04 resolution 18]
landuse=quarry [0x0c resolution 18]
landuse=recreation_ground [0x19 resolution 18]
landuse=reservoir [0x41 resolution 18]
landuse=retail [0x08 resolution 20]
landuse=village_green [0x17 resolution 20]
landuse=vineyard [0x4e resolution 20]
landuse=wood [0x50 resolution 18]

leisure=common [0x10 resolution 20]
leisure=garden [0x17 resolution 20]
leisure=golf_course [0x18 resolution 20]
leisure=marina [0x09 resolution 20]
leisure=nature_reserve [0x16 resolution 18]
leisure=park [0x17 resolution 20]
leisure=pitch [0x19 resolution 20]
leisure=playground [0x17 resolution 20]
leisure=recreation_ground [0x19 resolution 18]
leisure=sports_center | leisure=sports_centre [0x19 resolution 20]
leisure=stadium [0x19 resolution 18]
leisure=track [0x19 resolution 18]
leisure=water_park [0x09 resolution 18]

#military=airfield [0x04 resolution 18] agrupados por mi
#military=barracks [0x04 resolution 18]
#military=danger_area [0x04 resolution 18]
#military=range [0x04 resolution 18]
military=* [0x04 resolution 18]

natural=glacier [0x4d resolution 16]
natural=marsh [0x51 resolution 20]
natural=mud [0x51 resolution 20]
natural=wetland [0x51 resolution 20]
natural=scrub [0x4f resolution 20]
natural=water [0x3c resolution 18]
natural=water [0x3d resolution 18]
natural=water [0x3e resolution 18]
#natural=water [0x3f resolution 18]
natural=sea [0x32 resolution 12]
natural=wood [0x50 resolution 18]
natural=land [0x010100 resolution 12]

tourism=camp_site [0x2e resolution 18]
tourism=zoo [0x1b resolution 18]

place=city | place=town | place=suburb [0x02 resolution 18]
place=village [0x02 resolution 18]
place=hamlet [0x03 resolution 20]
landuse=residential [0x02 resolution 20]

#shop=* [0x08 resolution 20]

# squares and plazas
highway=pedestrian & area=yes [0x10 resolution 20]
# other highways that have area=yes set must be parking lots
highway=* & area=yes [0x05 resolution 20]

waterway=riverbank [0x46 resolution 20]

# building tag should be last
building=* [0x13 resolution 20]
amenity=public_building [0x13 resolution 20]

area=* [0x2a resolution 20]

map=coverage [0x4b resolution 12]
