公告:凡是在
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 | Reducer,預設值:null | Reducer,用於將重疊點的「propertyName」值摺疊為單一值。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]