cityImage.polygonise_partitions#
- cityImage.polygonise_partitions(edges_gdf, column, convex_hull=True, buffer=30)[source]#
Create district polygons from edge-based partition labels.
This preserves the old geometry pipeline: union partition edges,
polygonize_full, union the result, buffer, and optionally return the convex hull.- Return type:
GeoDataFrame