Check inscription tag for a name

This commit is contained in:
Edward Betts 2021-05-14 21:48:45 +02:00
parent 810ec21eb7
commit 809b92b656
1 changed files with 1 additions and 1 deletions

View File

@ -879,7 +879,7 @@ def api_find_osm_candidates(item_id):
nearby = []
for osm, dist in get_nearby(bounds, item):
tags = osm.tags
name = osm.name or tags.get("addr:housename")
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)