Add ice and shelves
This commit is contained in:
@@ -20,6 +20,7 @@ function main() {
|
||||
exec_psql_file "layers/building.sql"
|
||||
exec_psql_file "layers/boundary.sql"
|
||||
exec_psql_file "layers/road.sql"
|
||||
exec_psql_file "layers/ice.sql"
|
||||
}
|
||||
|
||||
main
|
||||
|
||||
15
schema/layers/ice.sql
Normal file
15
schema/layers/ice.sql
Normal 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
|
||||
);
|
||||
Reference in New Issue
Block a user