cityImage.reset_index_graph_gdfs#

cityImage.reset_index_graph_gdfs(nodes_gdf, edges_gdf, nodeID='nodeID')[source]#

The function simply resets the indexes of the two dataframes.

Parameters:
  • nodes_gdf (Point GeoDataFrame) – Nodes (junctions) GeoDataFrame.

  • edges_gdf (LineString GeoDataFrame) – Street segments GeoDataFrame.

Returns:

nodes_gdf, edges_gdf – The junction and street segment GeoDataFrames.

Return type:

tuple