Drop way_area tag from OSM candidates
This commit is contained in:
parent
53ca5b4ead
commit
478a145548
|
@ -1046,6 +1046,7 @@ def api_find_osm_candidates(item_id):
|
|||
nearby = []
|
||||
for osm, dist in get_nearby(bounds, item):
|
||||
tags = osm.tags
|
||||
tags.pop("way_area", None)
|
||||
name = osm.name or tags.get("addr:housename") or tags.get("inscription")
|
||||
if not name and "addr:housenumber" in tags and "addr:street" in tags:
|
||||
name = address_from_tags(tags)
|
||||
|
|
Loading…
Reference in a new issue