在 rgee 中使用 ee_extract 的图像统计信息?

问题描述

我正在使用 ee_extract 根据 rgee 中的几何图形提取图像中所有像素的平均值(链接到 Google 地球引擎的 R 包):

test<-ee_extract(image,geometry,fun = ee$Reducer$mean(),scale = 30,sf = FALSE,via = "getInfo")

但我发现这个错误

"Error in value[[3L]](cond) : Specify higher maxFeatures value if you intend to export a large area via getInfo. Entered: 6101 maxFeatures:". 

还有其他人遇到过这种情况或有任何想法吗?

解决方法

via 更改为“驱动器”。它应该可以工作。

test<-ee_extract(image,geometry,fun = ee$Reducer$mean(),scale = 30,sf = FALSE,via = "drive")