cityImage.duplicate_nodes#
- cityImage.duplicate_nodes(nodes_gdf, edges_gdf, nodeID='nodeID')[source]#
The function checks the existencce of duplicate nodes through the network, on the basis of geometry.
- Parameters:
nodes_gdf (Point GeoDataFrame) – The nodes (junctions) GeoDataFrame.
edges_gdf (LineString GeoDataFrame) – The street segments GeoDataFrame.
- Returns:
nodes_gdf, edges_gdf – The cleaned junctions and street segments GeoDataFrames.
- Return type:
tuple of GeoDataFrames