Add ice and shelves

This commit is contained in:
lukasmartinelli
2016-10-06 18:31:00 +02:00
parent 77e6e12821
commit 8af7c0f3f9
3 changed files with 51 additions and 0 deletions

15
schema/layers/ice.sql Normal file
View File

@@ -0,0 +1,15 @@
CREATE OR REPLACE VIEW ice_z0 AS (
SELECT geom, 'glacier' AS type FROM ne_110m_glaciated_areas
);
CREATE OR REPLACE VIEW ice_z2 AS (
SELECT geom, 'glacier' AS type FROM ne_50m_glaciated_areas
UNION ALL
SELECT geom, 'ice_shelf' AS type FROM ne_50m_antarctic_ice_shelves_polys
);
CREATE OR REPLACE VIEW ice_z5 AS (
SELECT geom, 'glacier' AS type FROM ne_10m_glaciated_areas
UNION ALL
SELECT geom, 'ice_shelf' AS type FROM ne_10m_antarctic_ice_shelves_polys
);