From cc853345fbd8ce0179ca2adc66c9d12b2326dec0 Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 13 Oct 2015 19:58:03 -0400 Subject: [PATCH] [fix] json.loads --- scripts/geodata/polygons/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/polygons/index.py b/scripts/geodata/polygons/index.py index 84a3d8a7..36af3dfc 100644 --- a/scripts/geodata/polygons/index.py +++ b/scripts/geodata/polygons/index.py @@ -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':