add heavy caching to mapdata api

This commit is contained in:
Laura Klünder 2016-12-07 16:11:33 +01:00
parent 23da7e3605
commit 00193f7e11
22 changed files with 259 additions and 138 deletions

View file

@ -6,7 +6,8 @@ from shapely import validation
from shapely.geometry import mapping, shape
from shapely.geometry.base import BaseGeometry
from c3nav.mapdata.utils import clean_geometry, format_geojson
from c3nav.mapdata.utils.geometry import clean_geometry
from c3nav.mapdata.utils.json import format_geojson
def validate_geometry(geometry):