From 3c75c5b93553c5c33cc4033b6deaed8b885d2588 Mon Sep 17 00:00:00 2001 From: Alan McConchie Date: Mon, 28 Jan 2019 23:04:05 -0800 Subject: [PATCH] more code cleanup --- project.mml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: