公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Join.inner
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
返回一个联接,该联接将主集合中的元素与次集合中的匹配元素配对。每个结果都有一个“primary”属性(包含来自主要集合的元素)和一个“secondary”属性(包含来自次要集合的匹配元素)。如果指定了 measureKey,联接度量也会作为属性附加到对象。
用法 | 返回 |
---|
ee.Join.inner(primaryKey, secondaryKey, measureKey) | 加入 |
参数 | 类型 | 详细信息 |
---|
primaryKey | 字符串,默认值:“primary” | 用于保存主要匹配项的属性名称。 |
secondaryKey | 字符串,默认值:“secondary” | 用于保存次要匹配项的属性名称。 |
measureKey | 字符串,默认值:null | 用于保存联接条件度量的可选属性名称。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003ePerforms an inner join between two collections based on matching keys.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new collection where each element includes the matched primary and secondary elements as properties.\u003c/p\u003e\n"],["\u003cp\u003eOptionally calculates and includes a join measure as a property if a measureKey is specified.\u003c/p\u003e\n"]]],["The `ee.Join.inner` function creates a join between two collections, pairing elements based on matching criteria. Results contain a 'primary' element and a 'secondary' element. Custom names for these properties can be specified using `primaryKey` and `secondaryKey`. An optional `measureKey` allows for storing a measure associated with the join condition in the resulting object. It returns a `Join` object.\n"],null,["# ee.Join.inner\n\nReturns a join that pairs elements from the primary collection with matching elements from the secondary collection. Each result has a 'primary' property that contains the element from the primary collection, and a 'secondary' property containing the matching element from the secondary collection. If measureKey is specified, the join measure is also attached to the object as a property.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------|---------|\n| `ee.Join.inner(`*primaryKey* `, `*secondaryKey* `, `*measureKey*`)` | Join |\n\n| Argument | Type | Details |\n|----------------|------------------------------|---------------------------------------------------------------------------|\n| `primaryKey` | String, default: \"primary\" | The property name used to save the primary match. |\n| `secondaryKey` | String, default: \"secondary\" | The property name used to save the secondary match. |\n| `measureKey` | String, default: null | An optional property name used to save the measure of the join condition. |"]]