diff --git a/project.mml b/project.mml index d4d80a4194..e089df0409 100644 --- a/project.mml +++ b/project.mml @@ -642,7 +642,7 @@ Layer: (SELECT way, COALESCE(( - 'highway_' || (CASE WHEN highway IN ('residential', 'unclassified', 'pedestrian', 'service', 'footway', 'cycleway', 'track', 'path', 'platform') THEN highway END)), + 'highway_' || (CASE WHEN highway IN ('pedestrian', 'footway', 'service', 'platform') THEN highway END)), ('railway_' || (CASE WHEN (railway IN ('platform') AND (tags->'location' NOT IN ('underground') OR (tags->'location') IS NULL) AND (tunnel NOT IN ('yes', 'building_passage') OR tunnel IS NULL) @@ -650,7 +650,7 @@ Layer: THEN railway END)) ) AS feature FROM planet_osm_polygon - WHERE highway IN ('residential', 'unclassified', 'pedestrian', 'service', 'footway', 'track', 'path', 'platform') + WHERE highway IN ('pedestrian', 'footway', 'service', 'platform') OR (railway IN ('platform') AND (tags->'location' NOT IN ('underground') OR (tags->'location') IS NULL) AND (tunnel NOT IN ('yes', 'building_passage') OR tunnel IS NULL) @@ -764,8 +764,8 @@ Layer: (SELECT way, COALESCE( - ('highway_' || (CASE WHEN highway IN ('residential', 'unclassified', 'pedestrian', 'service', 'footway', 'cycleway', 'living_street', - 'track', 'path', 'platform', 'services') THEN highway END)), + ('highway_' || (CASE WHEN highway IN ('pedestrian', 'footway', 'service', 'living_street', + 'platform', 'services') THEN highway END)), ('railway_' || (CASE WHEN (railway IN ('platform') AND (tags->'location' NOT IN ('underground') OR (tags->'location') IS NULL) AND (tunnel NOT IN ('yes', 'building_passage') OR tunnel IS NULL) @@ -774,7 +774,7 @@ Layer: (('aeroway_' || CASE WHEN aeroway IN ('runway', 'taxiway', 'helipad') THEN aeroway END)) ) AS feature FROM planet_osm_polygon - WHERE highway IN ('residential', 'unclassified', 'pedestrian', 'service', 'footway', 'living_street', 'track', 'path', 'platform', 'services') + WHERE highway IN ('pedestrian', 'footway', 'service', 'living_street', 'platform', 'services') OR (railway IN ('platform') AND (tags->'location' NOT IN ('underground') OR (tags->'location') IS NULL) AND (tunnel NOT IN ('yes', 'building_passage') OR tunnel IS NULL) @@ -1758,7 +1758,7 @@ Layer: name FROM planet_osm_polygon WHERE way && !bbox! - AND (highway IN ('residential', 'unclassified', 'pedestrian', 'service', 'footway', 'cycleway', 'living_street', 'track', 'path', 'platform') + AND (highway IN ('pedestrian', 'footway', 'service', 'living_street', 'platform') OR (railway IN ('platform') AND (tags->'location' NOT IN ('underground') OR (tags->'location') IS NULL) AND (tunnel NOT IN ('yes', 'building_passage') OR tunnel IS NULL) diff --git a/style/roads.mss b/style/roads.mss index 5ccc85dbc2..817bce10b3 100644 --- a/style/roads.mss +++ b/style/roads.mss @@ -2570,8 +2570,6 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */ } #highway-area-casing { - [feature = 'highway_residential'], - [feature = 'highway_unclassified'], [feature = 'highway_service'] { [zoom >= 14] { line-color: #999; @@ -2579,24 +2577,14 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */ } } - [feature = 'highway_pedestrian'], [feature = 'highway_footway'], - [feature = 'highway_cycleway'], - [feature = 'highway_path'] { + [feature = 'highway_pedestrian'] { [zoom >= 15] { line-color: grey; line-width: 1; } } - [feature = 'highway_track'][zoom >= 15] { - line-color: @track-fill; - line-width: 1; - line-dasharray: 5,4,2,4; - line-cap: round; - line-join: round; - } - [feature = 'highway_platform'], [feature = 'railway_platform'] { [zoom >= 16] { @@ -2613,27 +2601,19 @@ tertiary is rendered from z10 and is not included in osm_planet_roads. */ polygon-fill: @living-street-fill; } - [feature = 'highway_residential'], - [feature = 'highway_unclassified'], [feature = 'highway_service'] { [zoom >= 14] { polygon-fill: #fff; } } - [feature = 'highway_pedestrian'], [feature = 'highway_footway'], - [feature = 'highway_cycleway'], - [feature = 'highway_path'] { + [feature = 'highway_pedestrian'] { [zoom >= 15] { polygon-fill: @pedestrian-fill; } } - [feature = 'highway_track'][zoom >= 15] { - polygon-fill: #cdbea0; - } - [feature = 'highway_platform'], [feature = 'railway_platform'] { [zoom >= 16] {