[fix] include admin center id and type

This commit is contained in:
Al
2016-07-15 16:39:17 -04:00
parent dd20db85e1
commit 6f5aeb725c
2 changed files with 2 additions and 1 deletions

View File

@@ -267,6 +267,7 @@ class OSMPolygonReader(object):
elif role == 'admin_centre' and elem_type == 'node':
val = self.nodes.get(long(elem_id))
if val is not None:
val['type'] = 'node'
val['id'] = long(elem_id)
admin_centers.append(val)