Skip to content

Commit

Permalink
Add text label for landuse=salt_pond
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisenbe committed Mar 22, 2020
1 parent 4ddd49b commit d1e1777
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -1465,10 +1465,10 @@ Layer:
'landuse_' || CASE WHEN landuse IN ('reservoir', 'basin', 'recreation_ground', 'village_green', 'quarry', 'vineyard', 'orchard', 'cemetery',
'residential', 'garages', 'meadow', 'grass', 'allotments', 'forest', 'farmyard', 'farmland',
'greenhouse_horticulture', 'retail', 'industrial', 'railway', 'commercial', 'brownfield', 'landfill',
'construction', 'military', 'plant_nursery') THEN landuse END,
'construction', 'salt_pond', 'military', 'plant_nursery') THEN landuse END,
'natural_' || CASE WHEN "natural" IN ('peak', 'volcano', 'saddle', 'cave_entrance') AND way_area IS NULL THEN "natural" END,
'natural_' || CASE WHEN "natural" IN ('wood', 'water', 'mud', 'wetland', 'bay', 'spring', 'scree', 'shingle', 'bare_rock', 'sand', 'heath',
'grassland', 'scrub', 'beach', 'glacier', 'tree', 'strait', 'cape')
'natural_' || CASE WHEN "natural" IN ('wood', 'peak', 'volcano', 'saddle', 'cave_entrance', 'water', 'mud', 'wetland', 'bay', 'spring',
'scree', 'shingle', 'bare_rock', 'sand', 'heath', 'grassland', 'scrub', 'beach', 'glacier', 'tree', 'strait', 'cape')
THEN "natural" END,
'waterway_' || CASE WHEN "waterway" IN ('waterfall') AND way_area IS NULL THEN waterway END,
'place_' || CASE WHEN place IN ('island', 'islet') THEN place END,
Expand Down
4 changes: 3 additions & 1 deletion style/amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -2151,6 +2151,7 @@
[feature = 'landuse_brownfield'],
[feature = 'landuse_landfill'],
[feature = 'landuse_construction'],
[feature = 'landuse_salt_pond'],
[feature = 'tourism_theme_park'],
[feature = 'tourism_zoo'],
[feature = 'amenity_kindergarten'],
Expand Down Expand Up @@ -2194,7 +2195,8 @@
text-halo-fill: @standard-halo-fill;
[feature = 'natural_reef'],
[feature = 'natural_wetland'],
[feature = 'natural_mud'] {
[feature = 'natural_mud'],
[feature = 'landuse_salt_pond'] {
text-fill: @wetland-text;
}
[feature = 'leisure_park'],
Expand Down

0 comments on commit d1e1777

Please sign in to comment.