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
|
||||
- zoo
|
||||
- suburb
|
||||
- quarter
|
||||
- neighbourhood
|
||||
- dam
|
||||
datasource:
|
||||
|
||||
@ -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 |
@ -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 |
@ -32,6 +32,7 @@ layer:
|
||||
- village
|
||||
- hamlet
|
||||
- suburb
|
||||
- quarter
|
||||
- neighbourhood
|
||||
- isolated_dwelling
|
||||
iso_a2:
|
||||
|
||||
@ -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
|
||||
$$;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user