get address terms from address tags for rank 30

For rank 30 objects add extra elements into the place_addressline
table.
This commit is contained in:
Sarah Hoffmann
2020-11-10 19:50:30 +01:00
parent 6260fef2e8
commit 021f2bef4c
4 changed files with 70 additions and 28 deletions

View File

@@ -72,8 +72,6 @@ BEGIN
FOR item IN
SELECT (get_addr_tag_rank(key, country)).*, key, name FROM
(SELECT skeys(address) as key, svals(address) as name) x
WHERE key not in ('country', 'postcode', 'housenumber',
'conscriptionnumber', 'streetnumber')
LOOP
IF item.from_rank is null THEN
CONTINUE;