From 4ab749d962432bca6b1a44920ee672a280de2723 Mon Sep 17 00:00:00 2001 From: Al Date: Fri, 2 Sep 2016 04:59:03 -0400 Subject: [PATCH] [fix] format_address with minimal_only=False --- scripts/geodata/openaddresses/formatter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/geodata/openaddresses/formatter.py b/scripts/geodata/openaddresses/formatter.py index ae3433dd..dd47801c 100644 --- a/scripts/geodata/openaddresses/formatter.py +++ b/scripts/geodata/openaddresses/formatter.py @@ -441,8 +441,8 @@ class OpenAddressesFormatter(object): all_osm_components = osm_components + neighborhood_components components = place_config.dropout_components(components, all_osm_components, country=country, population=population) - formatted = self.formatter.format_address(components, country, - language=language, tag_components=tag_components) + formatted = self.formatter.format_address(components, country, language=language, + minimal_only=False, tag_components=tag_components) yield (language, country, formatted) def build_training_data(self, base_dir, out_dir, tag_components=True):