[fix] neighborhoods sort order

This commit is contained in:
Al
2015-10-12 16:17:48 -05:00
parent 689edf2cbc
commit ea3fa2f09f

View File

@@ -111,9 +111,8 @@ class ReverseGeocoder(RTreePolygonIndex):
filename = os.path.split(input_file)[-1]
for rec in f:
if filename == cls.NEIGHBORHOODS_FILENAME:
properties['qs_level'] = 'neighborhood'
rec['properties']['qs_level'] = 'neighborhood'
poly_type = rec['geometry']['type']
if poly_type == 'Polygon':