我应该如何在 GEE 上使用马赛克图像进行监督分类?

How should I make supervised classification with mosaic images on GEE?

made 一个监督分类,在 GEE 上只有一个 Sentinel 图像,它工作得很好。但是当我第一次在我感兴趣的区域拼接一些图像时,抛出错误:"Layer error: No data was found in classifier training input."

在 Earth Engine 用户指南中,它说:

when Earth Engine makes a mosaic of many images, it has to throw out individual image metadata, including the SENSOR_ID property.

我个人猜想这就是因为缺少元数据而引发错误的原因,但我不知道如何解决。

Here's我试过了

问题是您使用点剪辑场景的线:

.clip(roi) // clip

尝试改变它,我想它会起作用。