cityImage.score_building_components#
- cityImage.score_building_components(buildings_gdf, *, edges_gdf=None, obstructions_gdf=None, sight_lines=None, historic_elements_gdf=None, cultural_score_column=None, cultural_from_osm=False, compute_structural=False, compute_visibility=True, compute_cultural=True, compute_pragmatic=True, visibility_method='longest', pragmatic_search_radius=1500.0, pragmatic_default_land_use='unclassified', land_uses_column='land_uses', land_uses_overlap_column='land_uses_overlap', structural_kwargs=None, validate_schema=True)[source]#
Compute requested building-level cityImage component scores.
This function intentionally assumes that data has already been loaded and standardised. Use
standardize_buildings_gdfand related adapters before calling it when inputs come from external workflows.- Return type:
GeoDataFrame