forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the old buildings SQL and MSS. This involves resulting changes to landcover stylings to handle landcover which was previously in buildings.mss. Stops rendering supermarkets in a crazy pink to fix gravitystorm#520. Superceeds gravitystorm#550. Moves the rendering of train station areas to landcover. Fixes gravitystorm#327. Fixes gravitystorm#389 Removes outline differences based on a distinction that no one fully understands. Superceeds gravitystorm#533. Fixes gravitystorm#68
- Loading branch information
Showing
3 changed files
with
47 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,35 @@ | ||
#buildings-lz { | ||
[zoom >= 10] { | ||
[railway = 'station']::railway, | ||
[building = 'station'] { | ||
polygon-fill: #d4aaaa; | ||
polygon-clip: false; | ||
} | ||
@building-fill: #e0d9cc; | ||
@building-line: darken(@building-fill, 15%); | ||
|
||
[building = 'supermarket'] { | ||
polygon-fill: pink; | ||
polygon-opacity: 0.5; | ||
polygon-clip: false; | ||
} | ||
@building-aeroway-fill: #cc99ff; | ||
@building-aeroway-line: darken(@building-aeroway-fill,15%); | ||
|
||
[amenity = 'place_of_worship']::amenity { | ||
polygon-opacity: 0.5; | ||
polygon-fill: #777; | ||
polygon-clip: false; | ||
[zoom >= 15] { | ||
polygon-opacity: 0.9; | ||
polygon-fill: #aaa; | ||
line-width: 0.3; | ||
line-color: #111; | ||
} | ||
} | ||
|
||
#buildings-major { | ||
[zoom >= 10][zoom < 12] { | ||
polygon-fill: @building-fill; | ||
polygon-clip: false; | ||
} | ||
} | ||
|
||
#buildings { | ||
[building = 'INT-light'][zoom >= 12] { | ||
polygon-fill: #bca9a9; | ||
polygon-opacity: 0.7; | ||
polygon-clip: false; | ||
} | ||
[building != 'INT-light'][building != ''][zoom >= 12] { | ||
polygon-fill: #bca9a9; | ||
polygon-opacity: 0.9; | ||
[zoom >= 12] { | ||
/* Set the base styling for buildings. We'll need to reset the fill and | ||
line colours for more specialized building rendering lower down, but | ||
not the clipping or line-width. | ||
*/ | ||
polygon-fill: @building-fill; | ||
polygon-clip: false; | ||
[zoom >= 16] { | ||
line-color: #330066; | ||
line-width: 0.2; | ||
line-color: @building-line; | ||
line-width: .75; | ||
line-clip: false; | ||
} | ||
} | ||
[aeroway = 'terminal'][zoom >= 12]::aeroway { | ||
polygon-fill: #cc99ff; | ||
polygon-clip: false; | ||
[zoom >= 14] { | ||
line-color: #330066; | ||
line-width: 0.2; | ||
[aeroway = 'terminal'] { | ||
polygon-fill: @building-aeroway-fill; | ||
[zoom >= 16] { | ||
line-color: @building-aeroway-line; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters