公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.FeatureCollection.inverseDistance
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
返回每个像素处值的反距离加权估计值。
用法 | 返回 |
---|
FeatureCollection.inverseDistance(range, propertyName, mean, stdDev, gamma, reducer) | 图片 |
参数 | 类型 | 详细信息 |
---|
此:collection | FeatureCollection | 用作估计源数据的特征集合。 |
range | 浮点数 | 插值窗口的大小(以米为单位)。 |
propertyName | 字符串 | 要估计的数值属性的名称。 |
mean | 浮点数 | 全局预期平均值。 |
stdDev | 浮点数 | 全局标准差。 |
gamma | 浮点数,默认值:1 | 确定估计值趋向于全局平均值的速度。 |
reducer | 缩减器,默认值:null | 用于将重叠点的“propertyName”值折叠为单个值的缩减器。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eEstimates pixel values using an inverse-distance weighting method based on nearby features within a specified range.\u003c/p\u003e\n"],["\u003cp\u003eTakes a FeatureCollection as input and outputs an Image containing the estimated values for each pixel.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of the estimation through parameters like global mean, standard deviation, and a gamma factor that controls the influence of the global mean.\u003c/p\u003e\n"],["\u003cp\u003eUsers can provide a reducer to handle overlapping points and aggregate their property values during the estimation process.\u003c/p\u003e\n"],["\u003cp\u003eThe pixel values are derived from the 'propertyName' specified in the input FeatureCollection.\u003c/p\u003e\n"]]],["The function calculates an inverse-distance weighted estimate for each pixel's value. It uses a `FeatureCollection` as source data, specifying a numeric `propertyName` to estimate. The `range` defines the interpolation window's size. A global `mean` and `stdDev` are utilized, with `gamma` controlling the estimate's convergence toward the mean. Overlapping points can be handled using a provided `reducer`. The function outputs an `Image` of estimated values.\n"],null,["# ee.FeatureCollection.inverseDistance\n\nReturns an inverse-distance weighted estimate of the value at each pixel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------------------------------------------------------------|---------|\n| FeatureCollection.inverseDistance`(range, propertyName, mean, stdDev, `*gamma* `, `*reducer*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|------------------------|----------------------------------------------------------------------------------------------|\n| this: `collection` | FeatureCollection | Feature collection to use as source data for the estimation. |\n| `range` | Float | Size of the interpolation window (in meters). |\n| `propertyName` | String | Name of the numeric property to be estimated. |\n| `mean` | Float | Global expected mean. |\n| `stdDev` | Float | Global standard deviation. |\n| `gamma` | Float, default: 1 | Determines how quickly the estimates tend towards the global mean. |\n| `reducer` | Reducer, default: null | Reducer used to collapse the 'propertyName' value of overlapping points into a single value. |"]]