diff --git a/data.yml b/data.yml index 33cb003..97fd346 100644 --- a/data.yml +++ b/data.yml @@ -197,7 +197,7 @@ Layer: table: |- ( SELECT geom, type FROM ( - SELECT * FROM ice_z0 + SELECT ST_Simplify(geom, 80000) AS geom, type FROM ice_z0 WHERE z(!scale_denominator!) BETWEEN 0 AND 1 UNION ALL SELECT * FROM ice_z2 diff --git a/schema/layers/ice.sql b/schema/layers/ice.sql index 19dcee0..89d187d 100644 --- a/schema/layers/ice.sql +++ b/schema/layers/ice.sql @@ -1,5 +1,7 @@ CREATE OR REPLACE VIEW ice_z0 AS ( SELECT geom, 'glacier' AS type FROM ne_110m_glaciated_areas + UNION ALL + SELECT geom, 'ice_shelf' AS type FROM ne_50m_antarctic_ice_shelves_polys ); CREATE OR REPLACE VIEW ice_z2 AS (