# This file is automatically re-formatted and re-sorted in priorities descending order
# when generate_drules.sh is run. All comments (automatic priorities of e.g. optional captions, drule types visibilities, etc.)
# are generated automatically for information only. Custom formatting and comments are not preserved.
#
# BG-by-size geometry: background areas rendered below BG-top and everything else.
# Smaller areas are rendered above larger ones (area's size is estimated as the size of its' bounding box).
# So effectively priority values of BG-by-size areas are not used at the moment.
# But we might use them later for some special cases, e.g. to determine a main area type of a multi-type feature.
# Keep them in a logical importance order please.
#
# Priorities ranges' rendering order overview:
# - overlays (icons, captions...)
# - FG: foreground areas and lines
# - BG-top: water (linear and areal)
# - BG-by-size: landcover areas sorted by their size

leisure-stadium                                     # area z13- (also has icon z13-, caption(optional) z13-)
=== 250

amenity-place_of_worship                            # area z13- (also has icon z14-, caption(optional) z14-)
amenity-place_of_worship-buddhist                   # area z13- (also has icon z14-, caption(optional) z14-)
amenity-place_of_worship-christian                  # area z13- (also has icon z14-, caption(optional) z14-)
amenity-place_of_worship-christian-jehovahs_witness  # area z13- (also has icon z14-, caption(optional) z14-)
amenity-place_of_worship-christian-mormon           # area z13- (also has icon z14-, caption(optional) z14-)
amenity-place_of_worship-hindu                      # area z13- (also has icon z14-, caption(optional) z14-)
amenity-place_of_worship-jewish                     # area z13- (also has icon z14-, caption(optional) z14-)
amenity-place_of_worship-muslim                     # area z13- (also has icon z14-, caption(optional) z14-)
amenity-place_of_worship-shinto                     # area z13- (also has icon z14-, caption(optional) z14-)
amenity-place_of_worship-taoist                     # area z13- (also has icon z14-, caption(optional) z14-)
landuse-religious                                   # area z13-
=== 240

amenity-doctors                                     # area z15- (also has icon z17-, caption(optional) z17-)
leisure-swimming_pool                               # area z13- (also has icon z17-, caption(optional) z17-)
leisure-swimming_pool-private                       # area z13- (also has icon z17-, caption(optional) z17-)
=== 230

landuse-landfill                                    # area z13- (also has icon z15-, caption(optional) z15-)
=== 220

leisure-playground                                  # area z15- (also has icon z17-, caption(optional) z17-)
=== 200

amenity-fountain                                    # area z16- (also has icon z16-, caption(optional) z16-)
leisure-fitness_centre-sport-yoga                   # area z16- (also has icon z16-, caption(optional) z17-)
leisure-sports_centre                               # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-american_football       # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-archery                 # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-athletics               # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-australian_football     # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-badminton               # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-baseball                # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-basketball              # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-beachvolleyball         # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-boules                  # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-bowls                   # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-climbing                # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-cricket                 # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-curling                 # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-equestrian              # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-field_hockey            # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-four_square             # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-futsal                  # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-golf                    # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-gymnastics              # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-handball                # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-ice_hockey              # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-multi                   # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-padel                   # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-pelota                  # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-pickleball              # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-scuba_diving            # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-shooting                # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-skateboard              # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-skiing                  # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-soccer                  # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-swimming                # area z13- (also has icon z15-, caption(optional) z15-)
leisure-sports_centre-sport-table_tennis            # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-tennis                  # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-volleyball              # area z13- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre-sport-yoga                    # area z13- (also has icon z16-, caption(optional) z16-)
=== 190

amenity-grave_yard                                  # area z10- (also has icon z17-, caption(optional) z17-)
amenity-grave_yard-christian                        # area z10- (also has icon z17-, caption(optional) z17-)
landuse-cemetery                                    # area z10- (also has icon z14-, caption(optional) z15-)
landuse-cemetery-christian                          # area z10- (also has icon z14-, caption(optional) z15-)
=== 180

amenity-car_wash                                    # area z15- (also has icon z17-, caption(optional) z17-)
amenity-charging_station                            # area z16- (also has icon z16-, caption(optional) z16-)
amenity-charging_station-bicycle                    # area z16- (also has icon z16-, caption(optional) z16-)
amenity-charging_station-carless                    # area z16- (also has icon z16-, caption(optional) z16-)
amenity-charging_station-motorcar                   # area z15- (also has icon z14-, caption(optional) z14-)
amenity-charging_station-motorcycle                 # area z16- (also has icon z16-, caption(optional) z16-)
amenity-charging_station-small                      # area z15- (also has icon z15-, caption(optional) z16-)
amenity-courthouse                                  # area z15- (also has icon z17-, caption(optional) z17-)
amenity-fire_station                                # area z15- (also has icon z16-, caption(optional) z17-)
amenity-fuel                                        # area z15- (also has icon z14-, caption(optional) z14-)
amenity-marketplace                                 # area z15- (also has icon z16-, caption(optional) z16-)
amenity-police                                      # area z15- (also has icon z16-, caption(optional) z17-)
amenity-ranger_station                              # area z13- (also has icon z15-, caption(optional) z15-)
amenity-recycling-centre                            # area z15- (also has icon z16-, caption(optional) z16-)
amenity-social_facility                             # area z15- (also has icon z17-, caption(optional) z17-)
amenity-stage                                       # area z17- (also has icon z17-, caption(optional) z17-)
amenity-vehicle_inspection                          # area z15- (also has icon z16-, caption(optional) z16-)
emergency-mountain_rescue                           # area z13- (also has icon z16-, caption(optional) z16-)
highway-pedestrian-area                             # area z14- (also has line z13-, line::border z14-, pathtext z14-)
highway-pedestrian-square                           # area z14- (also has line z13-, line::border z14-, pathtext z14-)
highway-rest_area                                   # area z13- (also has icon z15-, caption(optional) z15-)
highway-services                                    # area z13- (also has icon z14-, caption(optional) z14-)
landuse-garages                                     # area z13- (also has caption z15-)
leisure-dog_park                                    # area z15- (also has icon z16-, caption(optional) z16-)
leisure-resort                                      # area z13- (also has icon z16-, caption(optional) z16-)
leisure-water_park                                  # area z13- (also has icon z16-, caption(optional) z16-)
office-diplomatic                                   # area z15- (also has icon z17-, caption(optional) z17-)
tourism-camp_site                                   # area z13- (also has icon z16-, caption(optional) z16-)
tourism-information-office                          # area z15- (also has icon z15-, caption(optional) z15-)
tourism-information-visitor_centre                  # area z13- (also has icon z15-, caption(optional) z15-)
=== 170

highway-footway-area                                # area z14- (also has line z15-, line::border z15-, pathtext z15-)
leisure-track-area                                  # area z15- (also has caption z16-)
=== 160

aeroway-terminal                                    # area z14- (also has caption z15-)
=== 150

leisure-golf_course                                 # area z12- (also has icon z15-, caption(optional) z17-)
leisure-miniature_golf                              # area z14- (also has icon z16-, caption(optional) z17-)
=== 140

landuse-flowerbed                                   # area z16-
natural-scrub                                       # area z11-
=== 130

landuse-grass                                       # area z11-
natural-grassland                                   # area z11-
natural-heath                                       # area z11-
=== 120

area:highway-footway                                # area z14- (also has caption z15-)
area:highway-living_street                          # area z14-
area:highway-pedestrian                             # area z14- (also has caption z15-)
public_transport-platform                           # area z16- (also has caption z17-)
railway-platform                                    # area z16- (also has caption z16-)
=== 110

amenity-bicycle_parking                             # area z15- (also has icon z17-, caption(optional) z17-)
amenity-bicycle_parking-covered                     # area z15- (also has icon z17-, caption(optional) z17-)
amenity-car_pooling                                 # area z15- (also has icon z16-, caption(optional) z18-)
amenity-motorcycle_parking                          # area z15- (also has icon z17-, caption(optional) z17-)
amenity-parking                                     # area z15- (also has icon z16-, caption(optional) z18-)
amenity-parking-fee                                 # area z15- (also has icon z16-, caption(optional) z18-)
amenity-parking-lane                                # area z17- (also has icon z18-, caption(optional) z18-)
amenity-parking-lane-fee                            # area z17- (also has icon z18-, caption(optional) z18-)
amenity-parking-lane-private                        # area z17- (also has icon z19-, caption(optional) z19-)
amenity-parking-multi-storey                        # area z15- (also has icon z16-, caption(optional) z18-)
amenity-parking-multi-storey-fee                    # area z15- (also has icon z16-, caption(optional) z18-)
amenity-parking-no-access                           # area z15- (also has icon z18-, caption(optional) z18-)
amenity-parking-park_and_ride                       # area z15- (also has icon z16-, caption(optional) z18-)
amenity-parking-permissive                          # area z15- (also has icon z16-, caption(optional) z18-)
amenity-parking-private                             # area z17- (also has icon z18-, caption(optional) z18-)
amenity-parking-street_side                         # area z17- (also has icon z18-, caption(optional) z18-)
amenity-parking-street_side-fee                     # area z17- (also has icon z18-, caption(optional) z18-)
amenity-parking-street_side-private                 # area z17- (also has icon z18-, caption(optional) z18-)
=== 100

natural-wetland                                     # area z11- (also has caption z16-)
natural-wetland-bog                                 # area z11- (also has caption z16-)
natural-wetland-fen                                 # area z11- (also has caption z16-)
natural-wetland-mangrove                            # area z11- (also has caption z16-)
natural-wetland-marsh                               # area z11- (also has caption z16-)
natural-wetland-reedbed                             # area z11- (also has caption z16-)
natural-wetland-saltmarsh                           # area z11- (also has caption z16-)
natural-wetland-saltmarsh-tidal                     # area z11- (also has caption z16-)
natural-wetland-swamp                               # area z11- (also has caption z16-)
natural-wetland-tidalflat                           # area z11- (also has caption z16-)
=== 90

landuse-farmyard                                    # area z10- (also has caption z15-)
=== 81

landuse-allotments                                  # area z12- (also has caption z15-)
landuse-farmland                                    # area z10- (also has caption z15-)
landuse-meadow                                      # area z11-
landuse-orchard                                     # area z12- (also has caption z15-)
landuse-recreation_ground                           # area z12- (also has caption z15-)
landuse-village_green                               # area z12-
landuse-vineyard                                    # area z12- (also has caption z15-)
leisure-fitness_station                             # area z15- (also has icon z17-, caption(optional) z17-)
leisure-pitch                                       # area z15- (also has icon z17-, caption(optional) z17-)
natural-bare_rock                                   # area z11- (also has caption z14-)
natural-scree                                       # area z11-
natural-shingle                                     # area z12-
=== 80

landuse-plant_nursery                               # area z12- (also has icon z17-, caption(optional) z17-)
leisure-garden                                      # area z12- (also has icon z16-, caption(optional) z16-)
leisure-garden-residential                          # area z12-
leisure-park                                        # area z10- (also has icon z14-, caption(optional) z14-)
leisure-park-no-access                              # area z10- (also has icon z14-, caption(optional) z14-)
leisure-park-permissive                             # area z10- (also has icon z14-, caption(optional) z14-)
leisure-park-private                                # area z10- (also has icon z14-, caption(optional) z14-)
=== 70

landuse-forest                                      # area z10- (also has icon z13-, caption(optional) z14-)
landuse-forest-coniferous                           # area z10- (also has icon z13-, caption(optional) z14-)
landuse-forest-deciduous                            # area z10- (also has icon z13-, caption(optional) z14-)
landuse-forest-mixed                                # area z10- (also has icon z13-, caption(optional) z14-)
=== 60

amenity-waste_transfer_station                      # area z13- (also has icon z17-, caption(optional) z18-)
landuse-construction                                # area z13- (also has caption z15-)
landuse-industrial                                  # area z13- (also has caption z15-)
landuse-industrial-mine                             # area z13- (also has icon z15-, caption(optional) z15-)
landuse-quarry                                      # area z13- (also has icon z15-, caption(optional) z15-)
landuse-railway                                     # area z13- (also has caption z15-)
man_made-wastewater_plant                           # area z13- (also has caption z15-)
man_made-works                                      # area z13- (also has icon z16-, caption(optional) z17-)
power-generator                                     # area z13- (also has icon z17-)
power-generator-gas                                 # area z13- (also has icon z17-)
power-generator-hydro                               # area z13- (also has icon z17-)
power-generator-solar                               # area z13-
power-generator-wind                                # area z13- (also has icon z15-, caption(optional) z18-)
power-plant                                         # area z13- (also has icon z17-)
power-plant-coal                                    # area z13- (also has icon z17-)
power-plant-gas                                     # area z13- (also has icon z17-)
power-plant-hydro                                   # area z13- (also has icon z17-)
power-plant-solar                                   # area z13- (also has icon z17-)
power-plant-wind                                    # area z13- (also has icon z15-, caption(optional) z16-)
power-substation                                    # area z13- (also has icon z17-, caption(optional) z18-)
=== 50

amenity-childcare                                   # area z13- (also has icon z17-, caption(optional) z17-)
amenity-clinic                                      # area z13- (also has icon z17-, caption(optional) z17-)
amenity-college                                     # area z13- (also has icon z16-, caption(optional) z16-)
amenity-hospital                                    # area z13- (also has icon z14-, caption(optional) z15-)
amenity-kindergarten                                # area z13- (also has icon z17-, caption(optional) z17-)
amenity-school                                      # area z13- (also has icon z16-, caption(optional) z16-)
amenity-university                                  # area z13- (also has icon z14-, caption(optional) z14-)
=== 40

aeroway-aerodrome                                   # area z10- (also has icon z14-, caption(optional) z14-)
aeroway-aerodrome-international                     # area z10- (also has icon z7-, caption(optional) z10-)
landuse-education                                   # area z13-
landuse-retail                                      # area z13- (also has caption z16-)
leisure-beach_resort                                # area z10- (also has icon z16-, caption(optional) z16-)
natural-beach                                       # area z10- (also has caption z15-)
natural-beach-gravel                                # area z10- (also has caption z15-)
natural-beach-sand                                  # area z10- (also has caption z15-)
natural-desert                                      # area z1- (also has caption z14-)
natural-glacier                                     # area z1-
natural-sand                                        # area z1- (also has caption z15-)
=== 30

natural-land                                        # area z1-
place-islet                                         # area z10- (also has caption z14-)
=== 20

natural-coastline                                   # area z1-
=== 10
