联接用于根据 ee.Filter
指定的条件组合来自不同集合(例如 ImageCollection
或 FeatureCollection
)的元素。过滤条件是使用每个集合中彼此相关的属性的参数构建的。具体而言,leftField
指定主要集合中与次要集合中的 rightField
相关的属性。过滤器的类型(例如 equals
、greaterThanOrEquals
、lessThan
等)
表示字段之间的关系。联接类型表示集合中元素之间的一对多或一对一关系,以及要保留的匹配数量。联接的输出由 join.apply()
生成,并会因联接类型而异。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-18。
[null,null,["最后更新时间 (UTC):2025-02-18。"],[[["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()`."]]],["Joins combine elements from different collections using an `ee.Filter` based on a specified condition. `leftField` and `rightField` define related properties within the primary and secondary collections, respectively. The filter type determines the relationship between these fields (e.g., equals, greaterThan). Join type specifies one-to-many or one-to-one relationships and the number of matches. The `join.apply()` method produces the output, which varies based on the chosen join type.\n"]]