kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add waterways
rodzic
ca42bf813d
commit
766382cd95
|
@ -55,23 +55,37 @@ CREATE OR REPLACE VIEW water_z6 AS (
|
|||
CREATE OR REPLACE VIEW water_z8 AS (
|
||||
SELECT way AS geom FROM water_areas
|
||||
WHERE way_area > 100000
|
||||
UNION ALL
|
||||
SELECT way AS geom FROM waterways
|
||||
WHERE waterway IN ('river')
|
||||
);
|
||||
|
||||
CREATE OR REPLACE VIEW water_z11 AS (
|
||||
SELECT way AS geom FROM water_areas
|
||||
WHERE way_area > 50000
|
||||
UNION ALL
|
||||
SELECT way AS geom FROM waterways
|
||||
WHERE waterway IN ('river')
|
||||
);
|
||||
|
||||
CREATE OR REPLACE VIEW water_z12 AS (
|
||||
SELECT way AS geom FROM water_areas
|
||||
WHERE way_area > 40000
|
||||
UNION ALL
|
||||
SELECT way AS geom FROM waterways
|
||||
WHERE waterway IN ('river', 'canal', 'stream')
|
||||
);
|
||||
|
||||
CREATE OR REPLACE VIEW water_z13 AS (
|
||||
SELECT way AS geom FROM water_areas
|
||||
WHERE way_area > 2000
|
||||
UNION ALL
|
||||
SELECT way AS geom FROM waterways
|
||||
WHERE waterway IN ('river', 'canal', 'stream', 'drain', 'ditch')
|
||||
);
|
||||
|
||||
CREATE OR REPLACE VIEW water_z14 AS (
|
||||
SELECT way AS geom FROM water_areas
|
||||
UNION ALL
|
||||
SELECT way AS geom FROM waterways
|
||||
);
|
||||
|
|
Ładowanie…
Reference in New Issue