kopia lustrzana https://github.com/openmaptiles/openmaptiles
Show ice shelves from z0
rodzic
0b8365abff
commit
c4ddad9d9a
2
data.yml
2
data.yml
|
@ -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
|
||||||
|
|
|
@ -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 (
|
||||||
|
|
Ładowanie…
Reference in New Issue