Remove street and addr_place from location_property_osmline

Derived columns are not needed because parent information is
always computed from scratch. So the columns are just duplicate
information.

Also get address information on nodes from address columns. The
other columns are not necessarily reliable when the node have not
been indexed yet.
This commit is contained in:
Sarah Hoffmann
2017-04-02 15:19:39 +02:00
parent 41afcaddd5
commit 3bb903cf92
2 changed files with 27 additions and 57 deletions

View File

@@ -95,8 +95,6 @@ CREATE TABLE location_property_osmline (
endnumber INTEGER,
interpolationtype TEXT,
address HSTORE,
street TEXT,
addr_place TEXT,
postcode TEXT,
country_code VARCHAR(2),
geometry_sector INTEGER,