115 land cover
In [ ]:
Copied!
# !pip install geemap
# !pip install geemap
In [ ]:
Copied!
import ee
import geemap
import ee
import geemap
Visualizing ESA Global Land Cover.
In [ ]:
Copied!
Map = geemap.Map()
esa = ee.ImageCollection("ESA/WorldCover/v100").first()
esa_vis = {"bands": ["Map"]}
Map.addLayer(esa, esa_vis, "ESA Land Cover")
Map.add_legend(title="ESA Land Cover", builtin_legend="ESA_WorldCover")
Map
Map = geemap.Map()
esa = ee.ImageCollection("ESA/WorldCover/v100").first()
esa_vis = {"bands": ["Map"]}
Map.addLayer(esa, esa_vis, "ESA Land Cover")
Map.add_legend(title="ESA Land Cover", builtin_legend="ESA_WorldCover")
Map
Visualizing ESRI Global Land Cover.
In [ ]:
Copied!
Map = geemap.Map()
esri = ee.ImageCollection(
"projects/sat-io/open-datasets/landcover/ESRI_Global-LULC_10m"
).mosaic()
esri_vis = {
"min": 1,
"max": 10,
"palette": [
"#1A5BAB",
"#358221",
"#A7D282",
"#87D19E",
"#FFDB5C",
"#EECFA8",
"#ED022A",
"#EDE9E4",
"#F2FAFF",
"#C8C8C8",
],
}
Map.addLayer(esri, esri_vis, "ESRI Land Cover")
Map.add_legend(title="ESRI Land Cover", builtin_legend="ESRI_LandCover")
Map
Map = geemap.Map()
esri = ee.ImageCollection(
"projects/sat-io/open-datasets/landcover/ESRI_Global-LULC_10m"
).mosaic()
esri_vis = {
"min": 1,
"max": 10,
"palette": [
"#1A5BAB",
"#358221",
"#A7D282",
"#87D19E",
"#FFDB5C",
"#EECFA8",
"#ED022A",
"#EDE9E4",
"#F2FAFF",
"#C8C8C8",
],
}
Map.addLayer(esri, esri_vis, "ESRI Land Cover")
Map.add_legend(title="ESRI Land Cover", builtin_legend="ESRI_LandCover")
Map
Visualizing Dynamic World Land Cover.
In [ ]:
Copied!
Map = geemap.Map()
region = ee.Geometry.BBox(-179, -89, 179, 89)
start_date = "2021-01-01"
end_date = "2022-01-01"
dw_class = geemap.dynamic_world(region, start_date, end_date, return_type="class")
dw = geemap.dynamic_world(region, start_date, end_date, return_type="hillshade")
dw_vis = {
"min": 0,
"max": 8,
"palette": [
"#419BDF",
"#397D49",
"#88B053",
"#7A87C6",
"#E49635",
"#DFC35A",
"#C4281B",
"#A59B8F",
"#B39FE1",
],
}
Map.addLayer(dw_class, dw_vis, "DW Land Cover", False)
Map.addLayer(dw, {}, "DW Land Cover Hillshade")
Map.add_legend(title="Dynamic World Land Cover", builtin_legend="Dynamic_World")
Map.setCenter(-88.9088, 43.0006, 12)
Map
Map = geemap.Map()
region = ee.Geometry.BBox(-179, -89, 179, 89)
start_date = "2021-01-01"
end_date = "2022-01-01"
dw_class = geemap.dynamic_world(region, start_date, end_date, return_type="class")
dw = geemap.dynamic_world(region, start_date, end_date, return_type="hillshade")
dw_vis = {
"min": 0,
"max": 8,
"palette": [
"#419BDF",
"#397D49",
"#88B053",
"#7A87C6",
"#E49635",
"#DFC35A",
"#C4281B",
"#A59B8F",
"#B39FE1",
],
}
Map.addLayer(dw_class, dw_vis, "DW Land Cover", False)
Map.addLayer(dw, {}, "DW Land Cover Hillshade")
Map.add_legend(title="Dynamic World Land Cover", builtin_legend="Dynamic_World")
Map.setCenter(-88.9088, 43.0006, 12)
Map
Comparing Dynamic World with ESA Land Cover.
In [ ]:
Copied!
Map = geemap.Map(center=[39.3322, -106.7349], zoom=10)
left_layer = geemap.ee_tile_layer(esa, esa_vis, "ESA Land Cover")
right_layer = geemap.ee_tile_layer(dw, {}, "Dynamic World Land Cover")
Map.split_map(left_layer, right_layer)
Map.add_legend(
title="ESA Land Cover", builtin_legend="ESA_WorldCover", position="bottomleft"
)
Map.add_legend(
title="Dynamic World Land Cover",
builtin_legend="Dynamic_World",
position="bottomright",
)
Map.setCenter(-88.9088, 43.0006, 12)
Map
Map = geemap.Map(center=[39.3322, -106.7349], zoom=10)
left_layer = geemap.ee_tile_layer(esa, esa_vis, "ESA Land Cover")
right_layer = geemap.ee_tile_layer(dw, {}, "Dynamic World Land Cover")
Map.split_map(left_layer, right_layer)
Map.add_legend(
title="ESA Land Cover", builtin_legend="ESA_WorldCover", position="bottomleft"
)
Map.add_legend(
title="Dynamic World Land Cover",
builtin_legend="Dynamic_World",
position="bottomright",
)
Map.setCenter(-88.9088, 43.0006, 12)
Map
Comparing Dynamic World with ESRI Land Cover.
In [ ]:
Copied!
Map = geemap.Map(center=[-89.3998, 43.0886], zoom=10)
left_layer = geemap.ee_tile_layer(esri, esri_vis, "ESRI Land Cover")
right_layer = geemap.ee_tile_layer(dw, {}, "Dynamic World Land Cover")
Map.split_map(left_layer, right_layer)
Map.add_legend(
title="ESRI Land Cover", builtin_legend="ESRI_LandCover", position="bottomleft"
)
Map.add_legend(
title="Dynamic World Land Cover",
builtin_legend="Dynamic_World",
position="bottomright",
)
Map.setCenter(-88.9088, 43.0006, 12)
Map
Map = geemap.Map(center=[-89.3998, 43.0886], zoom=10)
left_layer = geemap.ee_tile_layer(esri, esri_vis, "ESRI Land Cover")
right_layer = geemap.ee_tile_layer(dw, {}, "Dynamic World Land Cover")
Map.split_map(left_layer, right_layer)
Map.add_legend(
title="ESRI Land Cover", builtin_legend="ESRI_LandCover", position="bottomleft"
)
Map.add_legend(
title="Dynamic World Land Cover",
builtin_legend="Dynamic_World",
position="bottomright",
)
Map.setCenter(-88.9088, 43.0006, 12)
Map