Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Filter.neq
Stay organized with collections
Save and categorize content based on your preferences.
Filter to metadata not equal to the given value.
Returns the constructed filter.
Usage | Returns | ee.Filter.neq(name, value) | Filter |
Argument | Type | Details | name | String | The property name to filter on. |
value | Object | The value to compare against. |
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\u003eThe \u003ccode\u003eee.Filter.neq\u003c/code\u003e function creates a filter that selects elements where the specified property does not equal the provided value.\u003c/p\u003e\n"],["\u003cp\u003eThis function takes the property name (\u003ccode\u003ename\u003c/code\u003e) and the value to compare against (\u003ccode\u003evalue\u003c/code\u003e) as inputs and returns a filter object for use in Earth Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe property name should be a string, and the value can be of any Earth Engine object type.\u003c/p\u003e\n"]]],["This documentation describes a filtering function, `ee.Filter.neq`, used to exclude metadata that matches a specified value. It takes two arguments: `name`, the property to filter, and `value`, the comparison value. The function constructs and returns a `Filter` object. The `name` argument is a string, and the `value` argument can be any object. The core action is comparing a property against a value to create a filter.\n"],null,["# ee.Filter.neq\n\n\u003cbr /\u003e\n\nFilter to metadata not equal to the given value.\n\n\u003cbr /\u003e\n\nReturns the constructed filter.\n\n| Usage | Returns |\n|------------------------------|---------|\n| `ee.Filter.neq(name, value)` | Filter |\n\n| Argument | Type | Details |\n|----------|--------|---------------------------------|\n| `name` | String | The property name to filter on. |\n| `value` | Object | The value to compare against. |"]]