Calculates the area covered by neighbours
Total area covered by neighbours defined in spatial_weights and element itself.
GeoDataFrame containing Polygon geometry
spatial weights matrix
name of the column with unique id used as spatial_weights index.
>>> sw = momepy.sw_high(k=3, gdf=tessellation_df, ids='uID')
>>> tessellation_df['covered3steps'] = mm.CoveredArea(tessellation_df, sw, 'uID').series
100%|██████████| 144/144 [00:00<00:00, 549.15it/s]
Series containing resulting values
Series containing used unique ID
Initialize self. See help(type(self)) for accurate signature.
__init__(self, gdf, spatial_weights, unique_id)