mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 19:07:58 +00:00
ignore irrelevant extra tags on address interpolations
When deciding if an address interpolation has address information, only look for addr:street and addr:place. If they are not there go looking for the address on the address nodes. Ignores irrelevant tags like addr:inclusion. Fixes #2797.
This commit is contained in:
@@ -15,7 +15,7 @@ DECLARE
|
||||
location RECORD;
|
||||
waynodes BIGINT[];
|
||||
BEGIN
|
||||
IF akeys(in_address) != ARRAY['interpolation'] THEN
|
||||
IF in_address ? 'street' or in_address ? 'place' THEN
|
||||
RETURN in_address;
|
||||
END IF;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user