cityImage.find_gateways#
- cityImage.find_gateways(nodes_gdf, edges_gdf, column)[source]#
This function identifies junctions lying on the boundary of a district, thus connected to other districts through “bridge” edges.
- Parameters:
nodes_gdf (Point GeoDataFrame) – The nodes (junctions) GeoDataFrame.
edges_gdf (LineString GeoDataFrame) – The street segments GeoDataFrame.
column (string) – The name of the column containing the district membership.
- Returns:
nodes_gdf – The updated nodes GeoDataFrame with potentially disconnected districts updated to ‘999999’.
- Return type:
Point GeoDataFrame