cityImage.pragmatic_score#
- cityImage.pragmatic_score(buildings_gdf, research_radius=200)[source]#
The function computes the “Pragmatic Landmark Component” based on the frequency, and therefore unexpectedness, of a land_use class in an area around a building. The area is defined by the parameter “research_radius”.
- Parameters:
buildings_gdf (Polygon GeoDataFrame) – Buildings GeoDataFrame - case study area.
research_radius (float) – The radius to be used around the given building to identify neighbours.
- Returns:
buildings_gdf – The updated buildings GeoDataFrame.
- Return type:
Polygon GeoDataFrame