cityImage.polygons_gdf_multiparts_to_singleparts#

cityImage.polygons_gdf_multiparts_to_singleparts(polygons_gdf)[source]#

The function extracts the individual parts of the multi-part geometries and creates a new GeoDataFrame with single part geometries.

Parameters:

polygons_gdf (GeoDataFrame) – GeoDataFrame containing building footprint geometries.

Returns:

single_parts_gdf – The new GeoDataFrame with simplified single part building footprint geometries.

Return type:

Polygon GeoDataFrame