Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.FeatureCollection.inverseDistance
Stay organized with collections
Save and categorize content based on your preferences.
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."],[[["\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. |"]]