# !pip install -U geemap
import ee
import geemap
Map = geemap.Map(center=[40, -100], zoom=4)
dem = ee.Image('USGS/SRTMGL1_003')
landsat7 = ee.Image('LANDSAT/LE7_TOA_5YEAR/1999_2003').select('B[1-7]')
states = ee.FeatureCollection("TIGER/2018/States")
vis_params = {
'min': 0,
'max': 4000,
'palette': 'terrain',
}
Map.addLayer(dem, vis_params, 'SRTM DEM')
Map.addLayer(
landsat7,
{'bands': ['B4', 'B3', 'B2'], 'min': 20, 'max': 200, 'gamma': 2.0},
'Landsat 7',
)
Map.addLayer(states, {}, "US States")
Map
image = ee.Image('LANDSAT/LC09/C02/T1_L2/LC09_023031_20220617')
geemap.get_info(image)
geemap.get_info(states.first(), opened=True)