Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving smaller airports to higher zoom levels #2674

Merged
merged 1 commit into from
Jul 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,8 @@
marker-fill: @airtransport;
}

[feature = 'aeroway_aerodrome'][zoom >= 10][zoom < 14] {
[feature = 'aeroway_aerodrome']['access' != 'private']['icao' != null]['iata' != null][zoom >= 10][zoom < 14],
[feature = 'aeroway_aerodrome'][zoom >= 11][zoom < 14] {
marker-file: url('symbols/aerodrome.12.svg');
marker-placement: interior;
marker-clip: false;
Expand Down Expand Up @@ -2040,7 +2041,8 @@
text-wrap-width: @standard-wrap-width;
}

[feature = 'aeroway_aerodrome'][zoom >= 10][zoom < 14] {
[feature = 'aeroway_aerodrome']['access' != 'private']['icao' != null]['iata' != null][zoom >= 10][zoom < 14],
[feature = 'aeroway_aerodrome'][zoom >= 11][zoom < 14] {
text-name: "[name]";
text-size: @standard-text-size;
text-fill: darken(@airtransport, 15%);
Expand Down
10 changes: 10 additions & 0 deletions project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,8 @@ Layer:
tags->'denomination' as denomination,
tags->'generator:source' as "generator:source",
tags->'power_source' as power_source,
tags->'icao' as icao,
tags->'iata' as iata,
CASE WHEN shop IN ('supermarket', 'bag', 'bakery', 'beauty', 'books', 'butcher', 'clothes', 'computer',
'confectionery', 'fashion', 'convenience', 'department_store', 'doityourself', 'hardware', 'fishmonger', 'florist',
'garden_centre', 'hairdresser', 'hifi', 'ice_cream', 'car', 'car_repair', 'bicycle', 'mall', 'pet',
Expand Down Expand Up @@ -1661,6 +1663,8 @@ Layer:
tags->'denomination' as denomination,
tags->'generator:source' as "generator:source",
tags->'power_source' as power_source,
tags->'icao' as icao,
tags->'iata' as iata,
CASE WHEN shop IN ('supermarket', 'bag', 'bakery', 'beauty', 'books', 'butcher', 'clothes', 'computer',
'confectionery', 'fashion', 'convenience', 'department_store', 'doityourself', 'hardware', 'fishmonger', 'florist',
'garden_centre', 'hairdresser', 'hifi', 'ice_cream', 'car', 'car_repair', 'bicycle', 'mall', 'pet',
Expand Down Expand Up @@ -2038,6 +2042,8 @@ Layer:
access,
name,
tags->'operator' as operator,
tags->'icao' as icao,
tags->'iata' as iata,
ref,
way_area,
CASE WHEN building = 'no' OR building IS NULL THEN 'no' ELSE 'yes' END AS is_building
Expand Down Expand Up @@ -2114,6 +2120,8 @@ Layer:
ELSE NULL
END AS score,
operator,
icao,
iata,
ref,
way_area,
is_building
Expand Down Expand Up @@ -2175,6 +2183,8 @@ Layer:
END AS elevation,
"natural",
tags->'operator' as operator,
tags->'icao' as icao,
tags->'iata' as iata,
ref,
NULL AS way_area,
CASE WHEN building = 'no' OR building IS NULL THEN 'no' ELSE 'yes' END AS is_building
Expand Down