[fix] json.loads

This commit is contained in:
Al
2015-10-13 19:58:03 -04:00
parent 9ee2a7a474
commit cc853345fb

View File

@@ -115,7 +115,7 @@ class RTreePolygonIndex(object):
f = open(filename)
polygons = []
for line in f:
feature = json.load(line.rstrip())
feature = json.loads(line.rstrip())
poly_type = feature['geometry']['type']
if poly_type == 'Polygon':