Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.ImageCollection.and
Stay organized with collections
Save and categorize content based on your preferences.
Reduces an image collection by setting each pixel to 1 if and only if all the non-masked values at that pixel are non-zero across the stack of all matching bands. Bands are matched by name.
Usage | Returns | ImageCollection.and() | Image |
Argument | Type | Details | this: collection | ImageCollection | The image collection to reduce. |
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-06-05 UTC.
[null,null,["Last updated 2024-06-05 UTC."],[[["\u003cp\u003eReduces an image collection by evaluating all matching bands at each pixel.\u003c/p\u003e\n"],["\u003cp\u003eA pixel is set to 1 only if all corresponding non-masked band values are non-zero across the collection.\u003c/p\u003e\n"],["\u003cp\u003eBands with the same name are considered matching bands for this reduction.\u003c/p\u003e\n"],["\u003cp\u003eReturns a single image representing the logical AND reduction of the input image collection.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.and\n\nReduces an image collection by setting each pixel to 1 if and only if all the non-masked values at that pixel are non-zero across the stack of all matching bands. Bands are matched by name.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|---------|\n| ImageCollection.and`()` | Image |\n\n| Argument | Type | Details |\n|--------------------|-----------------|---------------------------------|\n| this: `collection` | ImageCollection | The image collection to reduce. |"]]