本文的教程主要又两个方面一个时选择影像的加载,当然这里我们选择ESA10m全球分辨率土地分类数据,然后用remap函数完成对影像波段的重命名,最后设定一个可视化参数用于替代原来的影像色带实现土地影像色彩的重新加载。
数据集:
The European Space Agency (ESA) WorldCover 10 m 2020 product provides a global land cover map for 2020 at 10 m resolution based on Sentinel-1 and Sentinel-2 data. The WorldCover product comes with 11 land cover classes and has been generated in the framework of the ESA WorldCover project, part of the 5th Earth Observation Envelope Programme (EOEP-5) of the European Space Agency.
函数:
remap(from, to, defaultValue, bandName)
从输入值到输出值的映射,由两个平行列表表示。输入列表中未包含的任何输入值要么设置为 defaultValue(如果给定),如果没有设置为屏蔽。请注意,由于浮点精度错误,包含浮点值的输入有时可能无法匹配。
参数:
这个:图像(图像):
重新映射应用到的图像。
来自(清单):
源值(数字或 ee.Array)。此列表中的所有值都将映射到“