momepy.
VolumeFacadeRatio
(gdf, heights, volumes=None, perimeters=None)[source]¶Calculates volume/facade ratio of each object in given geoDataFrame.
GeoDataFrame containing objects
the name of the dataframe column, np.array, or pd.Series where is stored height value
the name of the dataframe column, np.array, or pd.Series where is stored volume value
the name of the dataframe column, np.array, or pd.Series where is stored perimeter value
References
Schirmer, P. M. and Axhausen, K. W. (2015) ‘A multiscale classification of urban morphology’, Journal of Transport and Land Use, 9(1), pp. 101–130. doi: 10.5198/jtlu.2015.667.
>>> buildings_df['vfr'] = momepy.VolumeFacadeRatio(buildings_df, 'height').series
>>> buildings_df.vfr[0]
5.310715735236504
Series containing resulting values
original GeoDataFrame
Series containing used perimeter values
Series containing used volume values
__init__
(self, gdf, heights, volumes=None, perimeters=None)[source]¶Initialize self. See help(type(self)) for accurate signature.
Methods
|
Initialize self. |