cityImage.standardize_edges_gdf#

cityImage.standardize_edges_gdf(edges_gdf, *, edge_id_column=None, u_column='u', v_column='v', copy=True, validate=True)[source]#

Return an edges GeoDataFrame matching the minimal cityImage schema.

This is compatible with OSMnx edge GeoDataFrames using a MultiIndex (u, v, key) as well as custom edge tables that already expose u and v columns.

Return type:

GeoDataFrame