cityImage.classify_land_use#

cityImage.classify_land_use(buildings_gdf, raw_land_use_column, new_land_use_column, categories, strings)[source]#

Classify sparse attribute values using explicit category lists.

This wrapper is kept because older examples/tests call classify_land_use. New code should prefer classify_sparse_land_uses for non-OSM sparse land-use attributes.

categories[i] contains raw values and strings[i] is the target class. Scalar and list-like cells are supported. Unmatched values are preserved.