Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
Stay organized with collections
Save and categorize content based on your preferences.
Suppose that the purpose of the join is to retain all images in the primary
collection that are not in the secondary collection. You can perform this
type of inverted join using ee.Join.inverted().
The inverted join contains the images from April 3 and April 19, indicating the images
that are present in the primary collection but not in the
secondary collection.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eee.Join.inverted()\u003c/code\u003e allows you to keep images from a primary collection that do not have matching images in a secondary collection based on a specified filter.\u003c/p\u003e\n"],["\u003cp\u003eThis example demonstrates how to use \u003ccode\u003eee.Join.inverted()\u003c/code\u003e to identify Landsat 8 images from April that are not present in the May to July timeframe.\u003c/p\u003e\n"],["\u003cp\u003eAn \u003ccode\u003eee.Filter.equals()\u003c/code\u003e is employed to define matching criteria between the collections, typically using a common property like 'system:index'.\u003c/p\u003e\n"],["\u003cp\u003eThe resulting collection contains only images unique to the primary collection, effectively isolating images not found in the secondary collection.\u003c/p\u003e\n"]]],["The content demonstrates how to use `ee.Join.inverted()` to retain images from a `primary` collection that are absent in a `secondary` collection. It involves loading a Landsat 8 image collection and defining `primary` (April-June) and `secondary` (May-July) collections. An equals filter is used to match images by their system index. The `invertedJoin` is defined and applied, resulting in images present in the `primary` but not in the `secondary` collection, exemplified by images from April 3rd and 19th.\n"],null,[]]