cityImage.along_water#
- cityImage.along_water(edges_gdf, barriers_gdf)[source]#
The function assigns to each street segment in a GeoDataFrame the list of barrierIDs corresponding to waterbodies which lay along the street segment. No obstructions between the street segment and the barriers are admitted.
- 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