Rename and extend urban areas

pull/1454/head
Brian Sperlongano 2022-12-14 11:45:34 -05:00
rodzic c4d86d44a6
commit 666a8f8959
3 zmienionych plików z 5 dodań i 3 usunięć

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 333 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 350 KiB

Wyświetl plik

@ -6,7 +6,7 @@ CREATE MATERIALIZED VIEW ne_50m_urban_areas_gen_z5 AS
SELECT
NULL::bigint AS osm_id,
ST_Simplify(geometry, ZRes(7)) as geometry,
'residential'::text AS landuse,
'urban_area'::text AS landuse,
NULL::text AS amenity,
NULL::text AS leisure,
NULL::text AS tourism,
@ -254,6 +254,7 @@ FROM (
WHERE zoom_level = 4
UNION ALL
-- etldoc: ne_50m_urban_areas_gen_z5 -> layer_landuse:z5
-- etldoc: ne_50m_urban_areas_gen_z5 -> layer_landuse:z6
SELECT osm_id,
geometry,
landuse,
@ -263,7 +264,7 @@ FROM (
place,
waterway
FROM ne_50m_urban_areas_gen_z5
WHERE zoom_level = 5
WHERE zoom_level BETWEEN 5 AND 6
UNION ALL
-- etldoc: osm_landuse_polygon_gen_z6_union -> layer_landuse:z6
SELECT osm_id,

Wyświetl plik

@ -5,7 +5,7 @@ layer:
- ne_50m_urban_areas
description: |
Landuse is used to describe use of land by humans. At lower zoom levels this is
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
from Natural Earth data for urban areas and at higher zoom levels mostly OSM `landuse` tags.
buffer_size: 4
fields:
class:
@ -25,6 +25,7 @@ layer:
- residential
- commercial
- industrial
- urban_area
- garages
- retail
- bus_station