cityImage.classify_land_use#
- cityImage.classify_land_use(buildings_gdf, new_land_use_field, land_use_field, categories, strings)[source]#
The function reclassifies land-use descriptors in a land-use field according to the categorisation presented below. (Not exhaustive)
- Parameters:
buildings_gdf (Polygon GeoDataFrame) – The buildings GeoDataFrame.
land_use (string) – The land use field in the buildings_gdf.
- Returns:
buildings_gdf – The updated buildings’ GeoDataFrame.
- Return type:
Polygon GeoDataFrame