hotfixes for processupdates
This commit is contained in:
parent
dd0e64816e
commit
1837c49ab8
4 changed files with 5 additions and 5 deletions
2
src/c3nav/mapdata/utils/cache/indexed.py
vendored
2
src/c3nav/mapdata/utils/cache/indexed.py
vendored
|
@ -121,7 +121,7 @@ class GeometryIndexed:
|
|||
from shapely import prepared
|
||||
from shapely.geometry import box
|
||||
|
||||
cells = np.zeros_like(self.data, dtype=np.bool)
|
||||
cells = np.zeros_like(self.data, dtype=bool)
|
||||
prep = prepared.prep(geometry)
|
||||
res = self.resolution
|
||||
for iy, y in enumerate(range(miny * res, maxy * res, res), start=miny - self.y):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue