Add place=quarter to city subdivisions (#1065)
This adds `place=quarter` which was introduced in 2011 as a subdivision of villages/towns/cities as a value that sits between `place=suburb` and `place=neighbourhood`. It has by now been used over 40,000 times and is rendered in the OSM-Carto.
This commit is contained in:
parent
c4c3089f40
commit
295688eb80
@ -38,6 +38,7 @@ layer:
|
|||||||
- theme_park
|
- theme_park
|
||||||
- zoo
|
- zoo
|
||||||
- suburb
|
- suburb
|
||||||
|
- quarter
|
||||||
- neighbourhood
|
- neighbourhood
|
||||||
- dam
|
- dam
|
||||||
datasource:
|
datasource:
|
||||||
|
|||||||
@ -12,7 +12,7 @@ generalized_tables:
|
|||||||
# etldoc: osm_landuse_polygon_gen_z9 -> osm_landuse_polygon_gen_z8
|
# etldoc: osm_landuse_polygon_gen_z9 -> osm_landuse_polygon_gen_z8
|
||||||
landuse_polygon_gen_z8:
|
landuse_polygon_gen_z8:
|
||||||
source: landuse_polygon_gen_z9
|
source: landuse_polygon_gen_z9
|
||||||
sql_filter: area>power(ZRES6,2) AND (landuse='residential' OR place='suburb' OR place='neighbourhood')
|
sql_filter: area>power(ZRES6,2) AND (landuse='residential' OR place='suburb' OR place='quarter' OR place='neighbourhood')
|
||||||
tolerance: ZRES8
|
tolerance: ZRES8
|
||||||
# etldoc: osm_landuse_polygon_gen_z10 -> osm_landuse_polygon_gen_z9
|
# etldoc: osm_landuse_polygon_gen_z10 -> osm_landuse_polygon_gen_z9
|
||||||
landuse_polygon_gen_z9:
|
landuse_polygon_gen_z9:
|
||||||
@ -98,6 +98,7 @@ tables:
|
|||||||
- zoo
|
- zoo
|
||||||
place:
|
place:
|
||||||
- suburb
|
- suburb
|
||||||
|
- quarter
|
||||||
- neighbourhood
|
- neighbourhood
|
||||||
waterway:
|
waterway:
|
||||||
- dam
|
- dam
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 69 KiB |
@ -174,5 +174,6 @@ tables:
|
|||||||
- village
|
- village
|
||||||
- hamlet
|
- hamlet
|
||||||
- suburb
|
- suburb
|
||||||
|
- quarter
|
||||||
- neighbourhood
|
- neighbourhood
|
||||||
- isolated_dwelling
|
- isolated_dwelling
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 51 KiB |
@ -32,6 +32,7 @@ layer:
|
|||||||
- village
|
- village
|
||||||
- hamlet
|
- hamlet
|
||||||
- suburb
|
- suburb
|
||||||
|
- quarter
|
||||||
- neighbourhood
|
- neighbourhood
|
||||||
- isolated_dwelling
|
- isolated_dwelling
|
||||||
iso_a2:
|
iso_a2:
|
||||||
|
|||||||
@ -2,7 +2,7 @@ DO
|
|||||||
$$
|
$$
|
||||||
BEGIN
|
BEGIN
|
||||||
IF NOT EXISTS(SELECT 1 FROM pg_type WHERE typname = 'city_place') THEN
|
IF NOT EXISTS(SELECT 1 FROM pg_type WHERE typname = 'city_place') THEN
|
||||||
CREATE TYPE city_place AS enum ('city', 'town', 'village', 'hamlet', 'suburb', 'neighbourhood', 'isolated_dwelling');
|
CREATE TYPE city_place AS enum ('city', 'town', 'village', 'hamlet', 'suburb', 'quarter', 'neighbourhood', 'isolated_dwelling');
|
||||||
END IF;
|
END IF;
|
||||||
END
|
END
|
||||||
$$;
|
$$;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user