I am using Folium to create maps in Python.
I have a Pandas DataFrame where entries (latitude and longitude) are indexed by time. I would like to plot those entries one hour at a time (from 00:00 to 01:00 ...... from 23:00 to 00:00) in order to see the evolution of the of the locations on the map.
Is there a way to create an animation or video for such a purpose in Folium.
You can use the TimestampedGeoJson plugin for this. See an example here:
https://nbviewer.jupyter.org/github/python-visualization/folium/blob/main/examples/Plugins.ipynb#Timestamped-GeoJSON
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With