feat: pre-2025 state

This commit is contained in:
2025-06-10 20:34:00 +02:00
parent 88dd860053
commit c38c7af17d
7 changed files with 177 additions and 26 deletions

View File

@@ -48,7 +48,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z6_union AS
leisure,
tourism,
place,
waterway
waterway,
man_made
FROM osm_landuse_polygon_gen_z6
WHERE landuse <> 'residential'
UNION ALL
@@ -59,7 +60,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z6_union AS
'' AS leisure,
'' AS tourism,
'' AS place,
'' AS waterway
'' AS waterway,
'' AS man_made
FROM osm_residential_gen_z6
);
@@ -74,7 +76,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z7_union AS
leisure,
tourism,
place,
waterway
waterway,
man_made
FROM osm_landuse_polygon_gen_z7
WHERE landuse <> 'residential'
UNION ALL
@@ -85,7 +88,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z7_union AS
'' AS leisure,
'' AS tourism,
'' AS place,
'' AS waterway
'' AS waterway,
'' AS man_made
FROM osm_residential_gen_z7
);
@@ -100,7 +104,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z8_union AS
leisure,
tourism,
place,
waterway
waterway,
man_made
FROM osm_landuse_polygon_gen_z8
WHERE landuse <> 'residential'
UNION ALL
@@ -111,7 +116,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z8_union AS
'' AS leisure,
'' AS tourism,
'' AS place,
'' AS waterway
'' AS waterway,
'' AS man_made
FROM osm_residential_gen_z8
);
@@ -126,7 +132,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z9_union AS
leisure,
tourism,
place,
waterway
waterway,
man_made
FROM osm_landuse_polygon_gen_z9
WHERE landuse <> 'residential'
UNION ALL
@@ -137,7 +144,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z9_union AS
'' AS leisure,
'' AS tourism,
'' AS place,
'' AS waterway
'' AS waterway,
'' AS man_made
FROM osm_residential_gen_z9
);
@@ -152,7 +160,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z10_union AS
leisure,
tourism,
place,
waterway
waterway,
man_made
FROM osm_landuse_polygon_gen_z10
WHERE landuse <> 'residential'
UNION ALL
@@ -163,7 +172,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z10_union AS
'' AS leisure,
'' AS tourism,
'' AS place,
'' AS waterway
'' AS waterway,
'' AS man_made
FROM osm_residential_gen_z10
);
@@ -178,7 +188,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z11_union AS
leisure,
tourism,
place,
waterway
waterway,
man_made
FROM osm_landuse_polygon_gen_z11
WHERE landuse <> 'residential'
UNION ALL
@@ -189,7 +200,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z11_union AS
'' AS leisure,
'' AS tourism,
'' AS place,
'' AS waterway
'' AS waterway,
'' AS man_made
FROM osm_residential_gen_z11
);
@@ -204,7 +216,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z12_union AS
leisure,
tourism,
place,
waterway
waterway,
man_made
FROM osm_landuse_polygon_gen_z12
WHERE landuse <> 'residential'
UNION ALL
@@ -215,7 +228,8 @@ CREATE OR REPLACE VIEW osm_landuse_polygon_gen_z12_union AS
'' AS leisure,
'' AS tourism,
'' AS place,
'' AS waterway
'' AS waterway,
'' AS man_made
FROM osm_residential_gen_z12
);