ee.Filter.rangeContains
Returns a filter that passes if the value of the selected field is in the specified range (inclusive).
Usage | Returns |
---|
ee.Filter.rangeContains(field, minValue, maxValue) | Filter |
Argument | Type | Details |
---|
field | String | A selector for the property being tested. |
minValue | Object | The lower bound of the range. |
maxValue | Object | The upper bound of the range. |
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."],[[["Returns a filter that passes if the selected property's value falls within a specified range, including both the lower and upper bounds."],["The filter is constructed using the `ee.Filter.rangeContains()` method, requiring the property name (`field`), minimum value (`minValue`), and maximum value (`maxValue`) as inputs."],["Accepts various data types for the minimum and maximum values, adapting to the property being evaluated."]]],["The core functionality is creating a filter that checks if a specified field's value falls within a given range. It utilizes `ee.Filter.rangeContains(field, minValue, maxValue)` to construct this filter. The function requires three arguments: `field` (a string indicating the property to check), `minValue` (the lower bound), and `maxValue` (the upper bound). It returns a filter object that only passes if the field's value is within or equal to the specified minimum and maximum values.\n"]]