ee.Filter.inList
Filter on metadata contained in a list.
Returns the constructed filter.
Usage | Returns |
---|
ee.Filter.inList(leftField, rightValue, rightField, leftValue) | Filter |
Argument | Type | Details |
---|
leftField | String, optional | A selector for the left operand. Should not be specified if leftValue is specified. |
rightValue | List, optional | The value of the right operand. Should not be specified if rightField is specified. |
rightField | String, optional | A selector for the right operand. Should not be specified if rightValue is specified. |
leftValue | List, optional | The value of the left operand. Should not be specified if leftField is specified. |
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."],[[["The `ee.Filter.inList` function filters data based on whether a property value is present in a specified list."],["It constructs a filter that checks if the values in the 'left' field or list match any values in the 'right' field or list."],["The function is flexible, allowing you to specify the field or list for both the left and right operands using the provided parameters."],["Returns a Filter object ready for use in your Earth Engine workflows to refine data selections."]]],["The core function, `ee.Filter.inList`, creates a filter based on metadata within a list. It takes either a left field selector and a right value (list), or a right field selector and a left value (list). The `leftField` and `rightField` arguments are string selectors, while `rightValue` and `leftValue` are lists. Only one pair (field and value) should be specified. The function's output is a filter.\n"]]