From aa6b9cd858befcc2b08b1895fced7017b6009e46 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 15 Aug 2016 10:25:19 -0400 Subject: [PATCH] [fix] var name for place tags coming from the admin rtree --- 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 ba17569b..fdeb0c24 100644 --- a/scripts/geodata/osm/formatter.py +++ b/scripts/geodata/osm/formatter.py @@ -982,7 +982,7 @@ class OSMAddressFormatter(object): if i % 1000 == 0 and i > 0: print('did {} formatted places'.format(i)) - for props, poly in iter(self.components.osm_admin_rtree): + for tags, poly in iter(self.components.osm_admin_rtree): try: point = poly.context.representative_point() except ValueError: