Joins are used to combine elements from different collections (e.g.
ImageCollection
or FeatureCollection
) based on a condition
specified by an ee.Filter
. The filter is constructed with arguments for
the properties in each collection that are related to each other. Specifically,
leftField
specifies the property in the primary collection that is related
to the rightField
in the secondary collection. The type of filter (e.g.
equals
, greaterThanOrEquals
, lessThan
, etc.)
indicates the relationship between the fields. The type of join indicates one-to-many
or one-to-one relationships between the elements in the collections and how many matches
to retain. The output of a join is produced by join.apply()
and will vary
according to the type of join.
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 2021-05-26 UTC.
[null,null,["Last updated 2021-05-26 UTC."],[[["Joins combine elements from different collections like `ImageCollection` and `FeatureCollection` based on a specified condition using an `ee.Filter`."],["The `ee.Filter` defines the relationship between properties in the collections using `leftField` and `rightField` along with a filter type like `equals` or `lessThan`."],["Different join types handle one-to-one or one-to-many relationships and control the number of matches retained, impacting the output produced by `join.apply()`."]]],[]]