diff --git a/amenity-points.mss b/amenity-points.mss index 18fb4a5909..e02247a1c5 100644 --- a/amenity-points.mss +++ b/amenity-points.mss @@ -894,7 +894,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; @@ -2045,7 +2046,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%); diff --git a/project.mml b/project.mml index 25da60affb..5e4217a21e 100644 --- a/project.mml +++ b/project.mml @@ -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', @@ -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', @@ -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 @@ -2114,6 +2120,8 @@ Layer: ELSE NULL END AS score, operator, + icao, + iata, ref, way_area, is_building @@ -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