From bbd10e97bdc80ba4ecb11e6515a1ee8676b553d6 Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 28 Oct 2015 21:32:09 -0400 Subject: [PATCH] [fix] imports --- scripts/geodata/polygons/index.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/geodata/polygons/index.py b/scripts/geodata/polygons/index.py index 67a311de..1662a541 100644 --- a/scripts/geodata/polygons/index.py +++ b/scripts/geodata/polygons/index.py @@ -1,13 +1,16 @@ import fiona +import geohash import os import rtree import ujson as json -from collections import OrderedDict +from collections import OrderedDict, defaultdict from shapely.geometry import Point, Polygon, MultiPolygon from shapely.prepared import prep from shapely.geometry.geo import mapping +from geodata.polygons.area import polygon_bounding_box_area + DEFAULT_POLYS_FILENAME = 'polygons.geojson'