From 4902e88b8163b5eb44411b156f8ba1788ac31902 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 16 Jan 2017 18:37:42 -0500 Subject: [PATCH] [fix] formatted OSM ways training data should use nodes as well as ways/relations --- 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 c5d78785..54aa4e66 100644 --- a/scripts/geodata/osm/formatter.py +++ b/scripts/geodata/osm/formatter.py @@ -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']