Fix bug in index.c and remove column admin_level from location_property_osmline.

This commit is contained in:
markigail
2016-05-08 16:46:42 +02:00
parent 1a4f369e2b
commit 190a72cab5
5 changed files with 22 additions and 10 deletions

View File

@@ -734,9 +734,9 @@ BEGIN
and place_id != prevnode.place_id and class = 'place'
and type = 'house';
insert into location_property_osmline
values (sectiongeo, nextval('seq_place'), partition, wayid, NULL, startnumber, endnumber, interpolationtype, prevnode.admin_level,
street, coalesce(prevnode.postcode, defpostalcode),
calculated_country_code, geometry_sector, 2, now());
values (sectiongeo, nextval('seq_place'), partition, wayid, NULL, startnumber, endnumber,
interpolationtype, street, coalesce(prevnode.postcode, defpostalcode),
calculated_country_code, geometry_sector, 2, now());
END IF;
-- early break if we are out of line string,