[fix] formatted OSM ways training data should use nodes as well as ways/relations

This commit is contained in:
Al
2017-01-16 18:37:42 -05:00
parent 449154d624
commit 4902e88b81

View File

@@ -1559,7 +1559,7 @@ class OSMAddressFormatter(object):
all_name_tags = set(OSM_NAME_TAGS)
all_base_name_tags = set(OSM_BASE_NAME_TAGS)
for key, value, deps in parse_osm(infile, allowed_types=WAYS_RELATIONS):
for key, value, deps in parse_osm(infile):
latitude = value['lat']
longitude = value['lon']