お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Join.saveFirst
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
最初のコレクションの各要素を 2 番目のコレクションの一致する要素とペアにする結合を返します。最初の一致が追加のプロパティとして結果に追加されます。
用途 | 戻り値 |
---|
ee.Join.saveFirst(matchKey, ordering, ascending, measureKey, outer) | 参加 |
引数 | タイプ | 詳細 |
---|
matchKey | 文字列 | 照合結果の保存に使用されるプロパティ名。 |
ordering | 文字列、デフォルト: null | 最初の一致を選択する前に、一致を並べ替えるプロパティ。 |
ascending | ブール値。デフォルト値は true です。 | 順序が昇順かどうか。 |
measureKey | 文字列、デフォルト: null | 一致した結合条件の指標を保存するために使用されるオプションのプロパティ名。 |
outer | ブール値。デフォルト値は false です。 | true の場合、一致しないプライマリ行が結果に含まれます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThis function joins two collections by pairing elements based on matching property values.\u003c/p\u003e\n"],["\u003cp\u003eIt prioritizes the first match encountered and appends it as an additional property to the primary collection.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify sorting criteria for the matches using \u003ccode\u003eordering\u003c/code\u003e and \u003ccode\u003eascending\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, it allows saving the measure of the join condition and includes primary rows without matches if \u003ccode\u003eouter\u003c/code\u003e is true.\u003c/p\u003e\n"]]],["The `ee.Join.saveFirst` function creates a join between two collections, pairing each element from the first with its first matching element from the second. The matched element is stored as a new property, specified by `matchKey`. Matches can be sorted by `ordering` in `ascending` order before the first is selected. `measureKey` can be used to save the measurement of the join. Setting `outer` to true includes unmatched primary rows.\n"],null,["# ee.Join.saveFirst\n\nReturns a join that pairs each element from the first collection with a matching element from the second collection. The first match is added to the result as an additional property.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------------------------------------------|---------|\n| `ee.Join.saveFirst(matchKey, `*ordering* `, `*ascending* `, `*measureKey* `, `*outer*`)` | Join |\n\n| Argument | Type | Details |\n|--------------|-------------------------|----------------------------------------------------------------------------------------|\n| `matchKey` | String | The property name used to save the match. |\n| `ordering` | String, default: null | The property on which to sort the matches before selecting the first. |\n| `ascending` | Boolean, default: true | Whether the ordering is ascending. |\n| `measureKey` | String, default: null | An optional property name used to save the measure of the join condition on the match. |\n| `outer` | Boolean, default: false | If true, primary rows without matches will be included in the result. |"]]