iterate_over_voronoi.py 227 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

voronoi_filepath = "voronoi.gpkg"

import geopandas as gpd

voronoi_cells = gpd.read_file(voronoi_filepath)

for each_cell in range(voronoi_cells.shape[0]):
    print(voronoi_cells.geometry[each_cell])