Skip to content

21 ts inspector

image image image

Using timeseries inspector with a single click

Uncomment the following line to install leafmap if needed.

1
# !pip install leafmap

This notebook requires the ipyleaflet plotting backend. Folium is not supported.

1
2
import os
from leafmap import leafmap
1
# leafmap.update_package()

First, you need to sign up a Planet account and get an API key. See https://developers.planet.com/quickstart/apis. Uncomment the following line to pass in your API key.

1
# os.environ["PLANET_API_KEY"] = "12345"

Create a list of Planet monthly mosaic tile layers.

1
monthly_tiles = leafmap.planet_monthly_tiles()

Use the timeseries inspector to visualize images side by side with a split-panel map.

1
leafmap.ts_inspector(monthly_tiles)

Create a list of Planet quarterly mosaic tile layers.

1
quarterly_tiles = leafmap.planet_quarterly_tiles()

Use the timeseries inspector to visualize images side by side with a split-panel map.

1
leafmap.ts_inspector(quarterly_tiles)

Create a list of Planet quarterly and monthly mosaic tile layers.

1
tiles = leafmap.planet_tiles()

Use the timeseries inspector to visualize images side by side with a split-panel map.

1
leafmap.ts_inspector(tiles)

Use the toolbar GUI to activate the timeseries inspector.

1
2
m = leafmap.Map()
m