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

@ -4,7 +4,7 @@ import numpy as np
from matplotlib.path import Path
from shapely.geometry import JOIN_STYLE, LineString
from c3nav.mapdata.utils import assert_multipolygon
from c3nav.mapdata.utils.geometry import assert_multipolygon
from c3nav.routing.point import GraphPoint
from c3nav.routing.router import Router
from c3nav.routing.utils.coords import get_coords_angles