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:
Sarah Hoffmann
2022-08-13 10:42:46 +02:00
parent 67cfad6a2c
commit dddfa3a075
3 changed files with 32 additions and 2 deletions

View File

@@ -370,6 +370,6 @@ def check_location_property_osmline(context, oid, neg):
DBRow(oid, res, context).assert_row(row, ('start', 'end'))
assert not todo
assert not todo, f"Unmatched lines in table: {list(context.table[i] for i in todo)}"