cityImage.pedestrian_network_from_osm_features#

cityImage.pedestrian_network_from_osm_features(highways_gdf, crs, sidewalk_policy='keep_both')[source]#

Build a cityImage pedestrian network from already-downloaded OSM features.

Raw OSM download is deliberately not owned by this function. Use OSMnx or another data source to retrieve highway features, then pass them here.

sidewalk_policy selects how separately-mapped sidewalks and road centrelines are reconciled; see filter_pedestrian_osm_features().

Return type:

tuple[GeoDataFrame, GeoDataFrame]