From 59ed268558051a0c7ca6904cd5978c44bba414d8 Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 12 Jan 2017 13:00:07 -0500 Subject: [PATCH] [osm] require name tag for formatted places --- scripts/geodata/osm/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/osm/formatter.py b/scripts/geodata/osm/formatter.py index 02a18544..86b73ed7 100644 --- a/scripts/geodata/osm/formatter.py +++ b/scripts/geodata/osm/formatter.py @@ -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)