Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Filter.expression
Stay organized with collections
Save and categorize content based on your preferences.
Constructs a filter tree from a string.
Usage | Returns | ee.Filter.expression(expression) | Filter |
Argument | Type | Details | expression | String | A string to be parsed into a Filter object (e.g., "property > value"). Supported operators include: >, >=, <, <=, ==, !=, (), !, &&, and ||. |
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 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eCreates a filter tree for Earth Engine based on a string expression.\u003c/p\u003e\n"],["\u003cp\u003eUses familiar comparison and logical operators to construct complex filters (e.g., "property > value", "band1 == 10 && band2 < 20").\u003c/p\u003e\n"],["\u003cp\u003eReturns an \u003ccode\u003eee.Filter\u003c/code\u003e object that can be applied to Earth Engine collections for filtering data.\u003c/p\u003e\n"]]],[],null,["# ee.Filter.expression\n\nConstructs a filter tree from a string.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------|---------|\n| `ee.Filter.expression(expression)` | Filter |\n\n| Argument | Type | Details |\n|--------------|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `expression` | String | A string to be parsed into a Filter object (e.g., \"property \\\u003e value\"). Supported operators include: \\\u003e, \\\u003e=, \\\u003c, \\\u003c=, ==, !=, (), !, \\&\\&, and \\|\\|. |"]]