04 split panel map
Uncomment the following line to install geemap if needed.
In [ ]:
Copied!
# !pip install geemap
# !pip install geemap
In [ ]:
Copied!
import geemap
import geemap
In [ ]:
Copied!
geemap.show_youtube('9EUTX8j-YVM')
geemap.show_youtube('9EUTX8j-YVM')
In [ ]:
Copied!
Map = geemap.Map()
Map.split_map()
Map
Map = geemap.Map()
Map.split_map()
Map
In [ ]:
Copied!
Map = geemap.Map()
Map.split_map(left_layer='HYBRID', right_layer='ROADMAP')
Map
Map = geemap.Map()
Map.split_map(left_layer='HYBRID', right_layer='ROADMAP')
Map
In [ ]:
Copied!
basemaps = geemap.basemaps.keys()
print(basemaps)
basemaps = geemap.basemaps.keys()
print(basemaps)
In [ ]:
Copied!
for basemap in basemaps:
print(basemap)
for basemap in basemaps:
print(basemap)
In [ ]:
Copied!
Map = geemap.Map()
Map.split_map(
left_layer='NLCD 2016 CONUS Land Cover', right_layer='NLCD 2001 CONUS Land Cover'
)
Map
Map = geemap.Map()
Map.split_map(
left_layer='NLCD 2016 CONUS Land Cover', right_layer='NLCD 2001 CONUS Land Cover'
)
Map
In [ ]:
Copied!
import ee
import ee
In [ ]:
Copied!
# https://developers.google.com/earth-engine/datasets/catalog/USGS_NLCD
collection = ee.ImageCollection("USGS/NLCD")
print(collection.aggregate_array('system:id').getInfo())
# https://developers.google.com/earth-engine/datasets/catalog/USGS_NLCD
collection = ee.ImageCollection("USGS/NLCD")
print(collection.aggregate_array('system:id').getInfo())
In [ ]:
Copied!
nlcd_2001 = ee.Image('USGS/NLCD/NLCD2001').select('landcover')
nlcd_2016 = ee.Image('USGS/NLCD/NLCD2016').select('landcover')
left_layer = geemap.ee_tile_layer(nlcd_2001, {}, 'NLCD 2001')
right_layer = geemap.ee_tile_layer(nlcd_2016, {}, 'NLCD 2016')
Map = geemap.Map()
Map.split_map(left_layer, right_layer)
Map
nlcd_2001 = ee.Image('USGS/NLCD/NLCD2001').select('landcover')
nlcd_2016 = ee.Image('USGS/NLCD/NLCD2016').select('landcover')
left_layer = geemap.ee_tile_layer(nlcd_2001, {}, 'NLCD 2001')
right_layer = geemap.ee_tile_layer(nlcd_2016, {}, 'NLCD 2016')
Map = geemap.Map()
Map.split_map(left_layer, right_layer)
Map