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.
pull/1467/head^2
James Westman 2023-01-10 09:36:08 -06:00 zatwierdzone przez GitHub
rodzic 5f7b2c11b3
commit 569e9cd5b4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
5 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

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

Plik binarny nie jest wyświetlany.

Przed

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

Po

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

@ -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
$$; $$;