Skip to content

Commit

Permalink
Adding place=square name rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
kocio-pl committed Feb 22, 2018
1 parent 536a625 commit 2794a86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2794a86

Please sign in to comment.