77 planet imagery
Uncomment the following line to install geemap if needed.
In [ ]:
Copied!
# !pip install geemap
# !pip install geemap
In [ ]:
Copied!
import os
import geemap
import os
import geemap
In [ ]:
Copied!
# geemap.update_package()
# geemap.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.
In [ ]:
Copied!
# os.environ["PLANET_API_KEY"] = "12345"
# os.environ["PLANET_API_KEY"] = "12345"
In [ ]:
Copied!
tile_format = "ipyleaflet"
if os.environ.get("USE_FOLIUM") is not None:
tile_format = "folium"
tile_format = "ipyleaflet"
if os.environ.get("USE_FOLIUM") is not None:
tile_format = "folium"
In [ ]:
Copied!
# geemap.planet_quarterly()
# geemap.planet_quarterly()
In [ ]:
Copied!
# geemap.planet_monthly()
# geemap.planet_monthly()
In [ ]:
Copied!
# geemap.planet_catalog()
# geemap.planet_catalog()
In [ ]:
Copied!
quarterly_tiles = geemap.planet_quarterly_tiles(tile_format=tile_format)
quarterly_tiles = geemap.planet_quarterly_tiles(tile_format=tile_format)
In [ ]:
Copied!
monthly_tiles = geemap.planet_monthly_tiles(tile_format=tile_format)
monthly_tiles = geemap.planet_monthly_tiles(tile_format=tile_format)
In [ ]:
Copied!
for tile in quarterly_tiles:
print(tile)
for tile in quarterly_tiles:
print(tile)
In [ ]:
Copied!
for tile in monthly_tiles:
print(tile)
for tile in monthly_tiles:
print(tile)
In [ ]:
Copied!
m = geemap.Map()
m.add_planet_by_month(year=2020, month=8)
m
m = geemap.Map()
m.add_planet_by_month(year=2020, month=8)
m
In [ ]:
Copied!
m = geemap.Map()
m.add_planet_by_quarter(year=2019, quarter=2)
m
m = geemap.Map()
m.add_planet_by_quarter(year=2019, quarter=2)
m
Last update:
2023-04-06
Created: 2020-06-29
Created: 2020-06-29