1

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.

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.

  • 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? – psychemedia Jun 29 '18 at 19:41
  • Sounds like it - worth a try. – gboeing Jul 6 '18 at 17:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.