【发布时间】:2020-12-06 17:28:02
【问题描述】:
美好的一天。我正在尝试使用 Google 地球引擎将栅格转换为点。我的栅格有一个波段(集群),它已被裁剪到我的 ROI。我知道 Google Earth Engine 上的 reduceToVectors 函数,但据我了解,此函数创建具有相同相邻值的区域,而我想要创建 尽可能多的点有像素。
到目前为止,我已经尝试了不同的版本:
var vectors = image.reduceToVectors({
reducer : null,
geometry : treat,
scale:30,
crs :image.projection().getInfo().crs,
geometryType : 'centroid',
labelProperty : 'null',
eightConnected: false,
maxPixels: 1e15
});
非常感谢您的帮助。
【问题讨论】:
标签: gis polygon raster points google-earth-engine