cityImage.districts_to_edges_from_nodes#

cityImage.districts_to_edges_from_nodes(nodes_gdf, edges_gdf, column)[source]#

Assign node-based district IDs to edges.

The output preserves the old columns: {column}_uv, {column}_u, and {column}_v.

Return type:

GeoDataFrame