Show ice shelves from z0

This commit is contained in:
lukasmartinelli 2016-10-08 14:28:46 +02:00
parent 0b8365abff
commit c4ddad9d9a
2 changed files with 3 additions and 1 deletions

View File

@ -197,7 +197,7 @@ Layer:
table: |- table: |-
( SELECT geom, type ( SELECT geom, type
FROM ( FROM (
SELECT * FROM ice_z0 SELECT ST_Simplify(geom, 80000) AS geom, type FROM ice_z0
WHERE z(!scale_denominator!) BETWEEN 0 AND 1 WHERE z(!scale_denominator!) BETWEEN 0 AND 1
UNION ALL UNION ALL
SELECT * FROM ice_z2 SELECT * FROM ice_z2

View File

@ -1,5 +1,7 @@
CREATE OR REPLACE VIEW ice_z0 AS ( CREATE OR REPLACE VIEW ice_z0 AS (
SELECT geom, 'glacier' AS type FROM ne_110m_glaciated_areas 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 ( CREATE OR REPLACE VIEW ice_z2 AS (