Add borough to supported place classes (#1470)

Adds a new class value for the place layer, `borough`, and adds it to the OSM style with the same appearance as hamlets and suburbs.
This commit is contained in:
James Westman 2023-01-10 09:36:08 -06:00 committed by GitHub
parent 5f7b2c11b3
commit 569e9cd5b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 2 deletions

View File

@ -177,6 +177,7 @@ tables:
- town - town
- village - village
- hamlet - hamlet
- borough
- suburb - suburb
- quarter - quarter
- neighbourhood - neighbourhood

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

@ -38,6 +38,7 @@ layer:
- town - town
- village - village
- hamlet - hamlet
- borough
- suburb - suburb
- quarter - quarter
- neighbourhood - neighbourhood

View File

@ -82,7 +82,8 @@
"island", "island",
"islet", "islet",
"neighbourhood", "neighbourhood",
"suburb" "suburb",
"borough"
] ]
], ],
"order": 193 "order": 193

View File

@ -4,7 +4,7 @@ $$
PERFORM 'city_place'::regtype; PERFORM 'city_place'::regtype;
EXCEPTION EXCEPTION
WHEN undefined_object THEN WHEN undefined_object THEN
CREATE TYPE city_place AS enum ('city', 'town', 'village', 'hamlet', 'suburb', 'quarter', 'neighbourhood', 'isolated_dwelling'); CREATE TYPE city_place AS enum ('city', 'town', 'village', 'hamlet', 'borough', 'suburb', 'quarter', 'neighbourhood', 'isolated_dwelling');
END END
$$; $$;