Skip to content

Commit

Permalink
Restore reef name rendering (#4918)
Browse files Browse the repository at this point in the history
  • Loading branch information
dch0ph committed Jan 8, 2024
1 parent 258d354 commit 50e7457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ Layer:
'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')
'grassland', 'scrub', 'beach', 'glacier', 'tree', 'strait', 'cape', 'reef')
THEN "natural" END,
'mountain_pass' || CASE WHEN tags->'mountain_pass' IN ('yes') THEN '' END, -- after natural=saddle to give priority to that tag on the same node
'waterway_' || CASE WHEN "waterway" IN ('waterfall') AND way_area IS NULL THEN waterway END,
Expand Down

0 comments on commit 50e7457

Please sign in to comment.