[osm] require name tag for formatted places

This commit is contained in:
Al
2017-01-12 13:00:07 -05:00
parent d3c4f6fff5
commit 59ed268558

View File

@@ -607,7 +607,7 @@ class OSMAddressFormatter(object):
except Exception:
return (), None
if 'name' not in tags and not any((t.startswith('name:') for t in tags)):
if 'name' not in tags:
return (), None
osm_components = self.components.osm_reverse_geocoded_components(latitude, longitude)