From 478a1455483897ba61b7b5e08808282b8ca233b8 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 17 Jun 2021 19:17:07 +0200 Subject: [PATCH] Drop way_area tag from OSM candidates --- web_view.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web_view.py b/web_view.py index d9bc062..a9b5bb3 100755 --- a/web_view.py +++ b/web_view.py @@ -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)