mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47: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:
@@ -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)}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user