ee.FeatureCollection.inverseDistance
Returns an inverse-distance weighted estimate of the value at each pixel.
Usage | Returns |
---|
FeatureCollection.inverseDistance(range, propertyName, mean, stdDev, gamma, reducer) | Image |
Argument | Type | Details |
---|
this: collection | FeatureCollection | Feature collection to use as source data for the estimation. |
range | Float | Size of the interpolation window (in meters). |
propertyName | String | Name of the numeric property to be estimated. |
mean | Float | Global expected mean. |
stdDev | Float | Global standard deviation. |
gamma | Float, default: 1 | Determines how quickly the estimates tend towards the global mean. |
reducer | Reducer, default: null | Reducer used to collapse the 'propertyName' value of overlapping points into a single value. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Estimates pixel values using an inverse-distance weighting method based on nearby features within a specified range."],["Takes a FeatureCollection as input and outputs an Image containing the estimated values for each pixel."],["Allows customization of the estimation through parameters like global mean, standard deviation, and a gamma factor that controls the influence of the global mean."],["Users can provide a reducer to handle overlapping points and aggregate their property values during the estimation process."],["The pixel values are derived from the 'propertyName' specified in the input FeatureCollection."]]],["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"]]