cityImage.along_within_parks#
- cityImage.along_within_parks(edges_gdf, barriers_gdf)[source]#
The function assigns to each street segment in a GeoDataFrame the list of barrierIDs corresponding to parks which lie along the street segments. Also street segments within parks are considered.
- Parameters:
edges_gdf (LineString GeoDataFrame) – The street segmentes GeoDataFrame .
barriers_gdf (LineString GeoDataFrame) – The barriers GeoDataFrame.
- Returns:
edges_gdf – The updated street segments GeoDataFrame.
- Return type:
LineString GeoDataFrame