diff --git a/project.mml b/project.mml index a2fae948e1..40f39fa682 100644 --- a/project.mml +++ b/project.mml @@ -1245,8 +1245,8 @@ Layer: way_area/NULLIF(!pixel_width!::real*!pixel_height!::real,0) AS way_pixels FROM planet_osm_polygon WHERE (boundary IN ('aboriginal_lands', 'national_park') - OR leisure = 'nature_reserve' - OR (boundary = 'protected_area' AND tags->'protect_class' IN ('1','1a','1b','2','3','4','5','6','7','24','97','98','99'))) + OR leisure = 'nature_reserve' + OR (boundary = 'protected_area' AND tags->'protect_class' IN ('1','1a','1b','2','3','4','5','6','7','24','97','98','99'))) AND building IS NULL AND way_area > 1*!pixel_width!::real*!pixel_height!::real ) AS protected_areas @@ -2572,8 +2572,8 @@ Layer: way_area/NULLIF(!pixel_width!::real*!pixel_height!::real,0) AS way_pixels FROM planet_osm_polygon WHERE (boundary IN ('aboriginal_lands', 'national_park') - OR leisure = 'nature_reserve' - OR (boundary = 'protected_area' AND tags->'protect_class' IN ('1','1a','1b','2','3','4','5','6','7','24','97','98','99'))) + OR leisure = 'nature_reserve' + OR (boundary = 'protected_area' AND tags->'protect_class' IN ('1','1a','1b','2','3','4','5','6','7','24','97','98','99'))) AND name IS NOT NULL ) AS protected_areas_text properties: