[fix] road+house_number as minimal keys for formatting addresses

This commit is contained in:
Al
2015-08-14 04:09:51 -04:00
parent 83bbd67c9c
commit 1e936ac9dc

View File

@@ -119,7 +119,7 @@ def read_osm_json(filename):
class AddressFormatter(object):
''' Approximate Python port of lokku's Geo::Address::Formatter '''
MINIMAL_COMPONENT_KEYS = ('road', 'postcode')
MINIMAL_COMPONENT_KEYS = ('road', 'house_number')
splitter = ' | '