Skip to content

Commit

Permalink
add rendering of taxi surface (#3213)
Browse files Browse the repository at this point in the history
  • Loading branch information
jragusa authored and kocio-pl committed May 6, 2018
1 parent 096d82b commit 26c5673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,8 @@

[feature = 'amenity_parking'][zoom >= 10],
[feature = 'amenity_bicycle_parking'][zoom >= 10],
[feature = 'amenity_motorcycle_parking'][zoom >= 10] {
[feature = 'amenity_motorcycle_parking'][zoom >= 10],
[feature = 'amenity_taxi'][zoom >= 10] {
polygon-fill: @parking;
[zoom >= 15] {
line-width: 0.3;
Expand Down
4 changes: 2 additions & 2 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Layer:
FROM (SELECT
way, COALESCE(name, '') AS name,
('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',
('amenity_' || (CASE WHEN amenity IN ('parking', 'bicycle_parking', 'motorcycle_parking', 'university', 'college', 'school', 'taxi',
'hospital', 'kindergarten', 'grave_yard', 'prison', 'place_of_worship', 'clinic', 'ferry_terminal',
'marketplace', 'community_centre', 'social_facility', 'arts_centre', 'parking_space')
THEN amenity ELSE NULL END)) AS amenity,
Expand All @@ -142,7 +142,7 @@ Layer:
WHERE (landuse IS NOT NULL
OR leisure IS NOT NULL
OR aeroway IN ('apron', 'aerodrome')
OR amenity IN ('parking', 'bicycle_parking', 'motorcycle_parking', 'university', 'college', 'school', 'hospital', 'kindergarten',
OR amenity IN ('parking', 'bicycle_parking', 'motorcycle_parking', 'taxi', 'university', 'college', 'school', 'hospital', 'kindergarten',
'grave_yard', 'place_of_worship', 'prison', 'clinic', 'ferry_terminal', 'marketplace', 'community_centre', 'social_facility',
'arts_centre', 'parking_space')
OR man_made IN ('works')
Expand Down

0 comments on commit 26c5673

Please sign in to comment.