# 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 z15- (also has icon z13-, caption(optional) z13-)
=== 250

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

amenity-doctors                                     # area z14- (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 z15- (also has icon z15-, caption(optional) z15-)
=== 220

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

amenity-fountain                                    # area z16- (also has icon z16-, caption(optional) z16-)
leisure-sports_centre                               # area z15- (also has icon z17-, caption(optional) z17-)
=== 190

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

highway-pedestrian-area                             # area z14- (also has line z13-, pathtext z14-)
=== 170

highway-footway-area                                # area z14- (also has line z11-, pathtext z13-)
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 z17-, caption(optional) z17-)
=== 140

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

landuse-grass                                       # area z12-
natural-grassland                                   # area z12-
natural-heath                                       # area z12-
=== 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-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 z16-, 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-marsh                               # 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-field                                       # area z12-
landuse-meadow                                      # area z12-
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-pitch                                       # area z15- (also has icon z17-, caption(optional) z17-)
natural-bare_rock                                   # area z12- (also has caption z13-)
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 z12-, caption(optional) z13-)
landuse-forest-coniferous                           # area z10- (also has icon z12-, caption(optional) z13-)
landuse-forest-deciduous                            # area z10- (also has icon z12-, caption(optional) z13-)
landuse-forest-mixed                                # area z10- (also has icon z12-, caption(optional) z13-)
=== 60

landuse-churchyard                                  # area z15-
landuse-construction                                # area z15- (also has caption z15-)
landuse-industrial                                  # area z15- (also has caption z15-)
landuse-industrial-mine                             # area z15- (also has icon z15-, caption(optional) z15-)
landuse-quarry                                      # area z15- (also has icon z15-, caption(optional) z15-)
landuse-railway                                     # area z15- (also has caption z15-)
=== 50

amenity-college                                     # area z15- (also has icon z16-, caption(optional) z16-)
amenity-hospital                                    # area z14- (also has icon z14-, caption(optional) z15-)
amenity-kindergarten                                # area z15- (also has icon z17-, caption(optional) z17-)
amenity-school                                      # area z15- (also has icon z17-, caption(optional) z17-)
amenity-university                                  # area z14- (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 z15-
leisure-beach_resort                                # area z10- (also has icon z16-, caption(optional) z16-)
natural-beach                                       # area z10- (also has caption z14-)
natural-beach-gravel                                # area z10- (also has caption z14-)
natural-beach-sand                                  # area z10- (also has caption z14-)
natural-desert                                      # area z1- (also has caption z14-)
natural-glacier                                     # area z1-
=== 30

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

natural-coastline                                   # area z1-
=== 10
