3

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.

1 Answer 1

0

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.

2
  • Shapes can be added to folium maps using m = folium.Map(); folium.GeoJson(gj).add_to(m). So if the isochrone shapes can be projected back to latlong, would that work? Commented Jun 29, 2018 at 19:41
  • Sounds like it - worth a try. Commented Jul 6, 2018 at 17:17

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.