93 cog inspector
Uncomment the following line to install geemap if needed.
In [ ]:
Copied!
# !pip install geemap
# !pip install geemap
In [ ]:
Copied!
import geemap
import geemap
If you are using a recently implemented geemap feature that has not yet been released to PyPI or conda-forge, you can uncomment the following line to install the development version from GitHub.
In [ ]:
Copied!
# geemap.update_package()
# geemap.update_package()
Create an interactive map.
In [ ]:
Copied!
m = geemap.Map()
m = geemap.Map()
Add Cloud Optimized GeoTIFF (COG) from Planetary Computer.
In [ ]:
Copied!
collection = "landsat-8-c2-l2"
items = "LC08_L2SP_047027_20201204_02_T1"
collection = "landsat-8-c2-l2"
items = "LC08_L2SP_047027_20201204_02_T1"
In [ ]:
Copied!
m.add_stac_layer(
collection=collection,
items=items,
assets="SR_B7,SR_B5,SR_B4",
name="Landsat Band-754",
)
m.add_stac_layer(
collection=collection,
items=items,
assets="SR_B7,SR_B5,SR_B4",
name="Landsat Band-754",
)
In [ ]:
Copied!
m.add_stac_layer(
collection=collection,
items=items,
assets="SR_B5,SR_B4,SR_B3",
name="Landsat Band-543",
)
m.add_stac_layer(
collection=collection,
items=items,
assets="SR_B5,SR_B4,SR_B3",
name="Landsat Band-543",
)
In [ ]:
Copied!
m
m