build_bus_regions: fix shapely deprecation
This commit is contained in:
parent
5faaad02fa
commit
727688749c
@ -107,7 +107,7 @@ def voronoi_partition_pts(points, outline):
|
|||||||
|
|
||||||
polygons.append(poly)
|
polygons.append(poly)
|
||||||
|
|
||||||
return np.array(polygons, dtype=object)
|
return polygons
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user