cityImage.identify_regions#

cityImage.identify_regions(dual_graph, edges_gdf, weight=None)[source]#

Identify edge-based regions using delegated python-louvain partitioning.

This convenience function preserves the old cityImage behaviour but the community-detection algorithm itself is delegated to python-louvain.

Return type:

GeoDataFrame