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:
Jeroen Hoek 2021-01-18 14:47:25 +01:00 committed by GitHub
parent c4c3089f40
commit 295688eb80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 2 deletions

View File

@ -38,6 +38,7 @@ layer:
- theme_park
- zoo
- suburb
- quarter
- neighbourhood
- dam
datasource:

View File

@ -12,7 +12,7 @@ generalized_tables:
# etldoc: osm_landuse_polygon_gen_z9 -> osm_landuse_polygon_gen_z8
landuse_polygon_gen_z8:
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
# etldoc: osm_landuse_polygon_gen_z10 -> osm_landuse_polygon_gen_z9
landuse_polygon_gen_z9:
@ -98,6 +98,7 @@ tables:
- zoo
place:
- suburb
- quarter
- neighbourhood
waterway:
- dam

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -174,5 +174,6 @@ tables:
- village
- hamlet
- suburb
- quarter
- neighbourhood
- isolated_dwelling

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -32,6 +32,7 @@ layer:
- village
- hamlet
- suburb
- quarter
- neighbourhood
- isolated_dwelling
iso_a2:

View File

@ -2,7 +2,7 @@ DO
$$
BEGIN
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
$$;