cityImage.structural_score#

cityImage.structural_score(buildings_gdf, obstructions_gdf, edges_gdf, advance_vis_expansion_distance=300, neighbours_radius=150)[source]#

The function computes the “Structural Landmark Component” sub-scores of each building. It considers: - distance from the street network: - advance 2d visibility polygon; - number of neighbouring buildings in a given radius.

Parameters:
  • buildings_gdf (Polygon GeoDataFrame) – Buildings GeoDataFrame - case study area.

  • edges_gdf (LineString GeoDataFrame) – Street segmetns GeoDataFrame.

  • obstructions_gdf (Polygon GeoDataFrame) – Obstructions GeoDataFrame.

  • advance_vis_expansion_distance (float) – 2d advance visibility - it indicates up to which distance from the building boundaries the 2dvisibility polygon can expand.

  • neighbours_radius (float) – Neighbours - research radius for other adjacent buildings.

Returns:

buildings_gdf – The updated buildings GeoDataFrame.

Return type:

Polygon GeoDataFrame