cityImage.network_from_lines#

cityImage.network_from_lines(edges_gdf, crs, *, dict_columns=None, other_columns=None)[source]#

Build cityImage nodes/edges from a line GeoDataFrame.

This replaces the old get_network_fromGDF route without owning file IO or OSM download. Load files with geopandas.read_file and download OSM networks with OSMnx, then pass the resulting line GeoDataFrame here when endpoint-derived node construction is actually needed.

Return type:

tuple[GeoDataFrame, GeoDataFrame]