79 timeseries
Visualizing time series images interactively with a time slider
Uncomment the following line to install leafmap if needed.
In [ ]:
Copied!
# %pip install -U leafmap
# %pip install -U leafmap
In [ ]:
Copied!
from leafmap import leafmap
from leafmap import leafmap
Download sample data here.
In [ ]:
Copied!
url = "https://opengeos.org/data/landsat/timeseries.zip"
leafmap.download_file(url)
url = "https://opengeos.org/data/landsat/timeseries.zip"
leafmap.download_file(url)
Visualize time series images interactively with a time slider. You can pass a list of file paths or a string representing a directory to the add_time_slider function.
In [ ]:
Copied!
m = leafmap.Map()
images = "landsat"
m.add_time_slider(
images,
time_interval=0.5,
position="bottomright",
band=[1, 2, 3],
zoom_to_layer=True,
)
m
m = leafmap.Map()
images = "landsat"
m.add_time_slider(
images,
time_interval=0.5,
position="bottomright",
band=[1, 2, 3],
zoom_to_layer=True,
)
m
