momepy.
NeighboringStreetOrientationDeviation
(gdf)[source]¶Calculate the mean deviation of solar orientation of adjacent streets
Orientation of street segment is represented by the orientation of line connecting first and last point of the segment.
GeoDataFrame containing street network to analyse
Examples
>>> streets_df['orient_dev'] = momepy.NeighboringStreetOrientationDeviation(streets_df).series
Preparing street orientations...
Generating spatial index...
100%|██████████| 33/33 [00:00<00:00, 249.02it/s]
>>> streets_df['orient_dev'][6]
7.043096518688273
Series containing resulting values
original GeoDataFrame
Series containing used street orientation values
spatial index of gdf
Methods
|
Initialize self. |