OSMNX and Folium – Plotting and Isochrone on a Web Map

foliummatplotlibnetworkxopenstreetmappython

I am trying to plot an isochrone map like the one in this example onto a Folium Web Map.

I understand how to set up the colors for time/edges/nodes/polygons… I just don't understand how I could get any of that onto a Folium map…

I am having trouble understanding which object(s) to pass into the following two functions:

osmnx.plot.plot_route_folium() 
osmnx.plot.plot_graph_folium()

My code, currently, is simply following the above cited example, but I an stuck on how to incorporate Folium.

Best Answer

OSMnx does not have functionality to plot isochrones on a folium web map: see the documentation for plotting a graph with folium and for plotting a route with folium. Beyond that, you could write your own code to extend this functionality.