[fix] var name for place tags coming from the admin rtree
This commit is contained in:
@@ -982,7 +982,7 @@ class OSMAddressFormatter(object):
|
|||||||
if i % 1000 == 0 and i > 0:
|
if i % 1000 == 0 and i > 0:
|
||||||
print('did {} formatted places'.format(i))
|
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:
|
try:
|
||||||
point = poly.context.representative_point()
|
point = poly.context.representative_point()
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user