Skip to content

Commit

Permalink
Adding place=square name rendering (#2673)
Browse files Browse the repository at this point in the history
  • Loading branch information
kocio-pl authored Feb 26, 2018
1 parent 25f7652 commit e61d95c
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 @@ -1784,10 +1784,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 e61d95c

Please sign in to comment.