mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 02:47:59 +00:00
remove country from place_addressline
The country information can be determined sufficiently from the country code. We only loose the specific OSM object behind the address. Also streamlines the location_area_country table.
This commit is contained in:
@@ -35,9 +35,6 @@ CREATE TABLE search_name_blank (
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE location_area_country () INHERITS (location_area_large) {ts:address-data};
|
||||
CREATE INDEX idx_location_area_country_geometry ON location_area_country USING GIST (geometry) {ts:address-index};
|
||||
|
||||
-- start
|
||||
CREATE TABLE location_area_large_-partition- () INHERITS (location_area_large) {ts:address-data};
|
||||
CREATE INDEX idx_location_area_large_-partition-_place_id ON location_area_large_-partition- USING BTREE (place_id) {ts:address-index};
|
||||
|
||||
Reference in New Issue
Block a user