From 2794a8612f65a19cbc8c6648c7df867fcf1eaffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ko=C4=87?= Date: Thu, 22 Feb 2018 01:20:17 +0100 Subject: [PATCH] Adding place=square name rendering --- project.mml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project.mml b/project.mml index deb63a09f8..01ddf7ec0b 100644 --- a/project.mml +++ b/project.mml @@ -1871,10 +1871,14 @@ Layer: way, way_area/NULLIF(!pixel_width!::real*!pixel_height!::real,0) AS way_pixels, highway, + place, + leisure, name FROM planet_osm_polygon WHERE highway IN ('residential', 'unclassified', 'pedestrian', 'service', 'footway', 'cycleway', 'living_street', 'track', 'path', 'platform') OR railway IN ('platform') + OR (place IN ('square') + AND (leisure IS NULL OR NOT leisure IN ('park', 'common', 'recreation_ground', 'garden'))) AND name IS NOT NULL ORDER BY way_area DESC ) AS roads_area_text_name