diff --git a/landcover.mss b/landcover.mss index aee04c6c60..9590c9bb62 100644 --- a/landcover.mss +++ b/landcover.mss @@ -30,6 +30,7 @@ @apron: #e9d1ff; @garages: #dfddce; @parking: #eeeeee; +@parking-outline: saturate(darken(@parking, 40%), 20%); @railway: @industrial; @railway-line: @industrial-line; @rest_area: #efc8c8; // also services @@ -548,11 +549,16 @@ polygon-fill: @parking; [zoom >= 15] { line-width: 0.3; - line-color: saturate(darken(@parking, 40%), 20%); + line-color: @parking-outline; } [way_pixels >= 4] { polygon-gamma: 0.75; } [way_pixels >= 64] { polygon-gamma: 0.3; } } + + [feature = 'amenity_parking_space'][zoom >= 18] { + line-width: 0.3; + line-color: mix(@parking-outline, @parking, 50%); + } [feature = 'aeroway_apron'][zoom >= 10] { polygon-fill: @apron; diff --git a/project.mml b/project.mml index 1ce6236733..09134c5135 100644 --- a/project.mml +++ b/project.mml @@ -119,7 +119,7 @@ Layer: ('aeroway_' || (CASE WHEN aeroway IN ('apron', 'aerodrome') THEN aeroway ELSE NULL END)) AS aeroway, ('amenity_' || (CASE WHEN amenity IN ('parking', 'bicycle_parking', 'motorcycle_parking', 'university', 'college', 'school', 'hospital', 'kindergarten', 'grave_yard', 'prison', 'place_of_worship', 'clinic', 'ferry_terminal', - 'marketplace', 'community_centre', 'social_facility', 'arts_centre', 'shower', 'bbq') + 'marketplace', 'community_centre', 'social_facility', 'arts_centre', 'shower', 'bbq', 'parking_space') THEN amenity ELSE NULL END)) AS amenity, ('landuse_' || (CASE WHEN landuse IN ('quarry', 'vineyard', 'orchard', 'cemetery', 'residential', 'garages', 'meadow', 'grass', 'allotments', 'forest', 'farmyard', 'farmland', 'greenhouse_horticulture', @@ -144,7 +144,7 @@ Layer: OR aeroway IN ('apron', 'aerodrome') OR amenity IN ('parking', 'bicycle_parking', 'motorcycle_parking', 'university', 'college', 'school', 'hospital', 'kindergarten', 'grave_yard', 'place_of_worship', 'prison', 'clinic', 'ferry_terminal', 'marketplace', 'community_centre', 'social_facility', - 'arts_centre', 'shower', 'bbq') + 'arts_centre', 'shower', 'bbq', 'parking_space') OR man_made IN ('works') OR military IN ('danger_area') OR "natural" IN ('beach', 'shoal', 'heath', 'mud', 'marsh', 'wetland', 'grassland', 'wood', 'sand', 'scree', 'shingle', 'bare_rock', 'scrub')