Skip to content

Commit

Permalink
Add sports_centre fill color for leisure=water_park areas
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisenbe committed Aug 21, 2019
1 parent 96c64fa commit 4c413d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@
}

[feature = 'leisure_sports_centre'],
[feature = 'leisure_water_park'],
[feature = 'leisure_stadium'] {
[zoom >= 10] {
polygon-fill: @stadium;
Expand Down
2 changes: 1 addition & 1 deletion project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Layer:
'brownfield', 'landfill', 'construction', 'plant_nursery', 'religious') THEN landuse ELSE NULL END)) AS landuse,
('leisure_' || (CASE WHEN leisure IN ('swimming_pool', 'playground', 'park', 'recreation_ground', 'garden',
'golf_course', 'miniature_golf', 'sports_centre', 'stadium', 'pitch', 'ice_rink',
'track', 'dog_park', 'fitness_station') THEN leisure ELSE NULL END)) AS leisure,
'track', 'dog_park', 'fitness_station', 'water_park') THEN leisure ELSE NULL END)) AS leisure,
('man_made_' || (CASE WHEN man_made IN ('works', 'wastewater_plant', 'water_works') THEN man_made ELSE NULL END)) AS man_made,
('natural_' || (CASE WHEN "natural" IN ('beach', 'shoal', 'heath', 'grassland', 'wood', 'sand', 'scree', 'shingle', 'bare_rock', 'scrub') THEN "natural" ELSE NULL END)) AS "natural",
('wetland_' || (CASE WHEN "natural" IN ('wetland', 'marsh', 'mud') THEN (CASE WHEN "natural" IN ('marsh', 'mud') THEN "natural" ELSE tags->'wetland' END) ELSE NULL END)) AS wetland,
Expand Down

0 comments on commit 4c413d7

Please sign in to comment.