お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.ImageCollection.combine
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
プライマリの画像のコピーである新しいコレクションを作成し、一致する ID を持つセカンダリの画像のすべてのバンドを追加します。一致する ID がない場合、結果のコレクションは空になります。これは、ID の内部結合と結果の帯域の統合に相当します。
このアルゴリズムでは、一致する入力ペアの両方に同じフットプリントとメタデータがあることが前提となります。
用途 | 戻り値 |
---|
ImageCollection.combine(secondary, overwrite) | ImageCollection |
引数 | タイプ | 詳細 |
---|
これ: primary | ImageCollection | 結合するプライマリ コレクション。 |
secondary | ImageCollection | 結合するセカンダリ コレクション。 |
overwrite | ブール値。デフォルト値は false です。 | true の場合、同じ名前の帯域は上書きされます。false の場合、同じ名前の帯域は名前が変更されます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eCreates a new image collection by combining images from two input collections based on matching IDs.\u003c/p\u003e\n"],["\u003cp\u003eMerges bands from matching images, resulting in an empty collection if no IDs match.\u003c/p\u003e\n"],["\u003cp\u003eImages with the same ID in both input collections are assumed to have identical footprint and metadata.\u003c/p\u003e\n"],["\u003cp\u003eBand names are preserved by default, but can be overwritten using the \u003ccode\u003eoverwrite\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],["The function combines two `ImageCollections` (`primary` and `secondary`) by performing an inner join based on matching IDs. It copies images from the `primary` collection and adds bands from the `secondary` collection with the corresponding ID. If no matching ID is found, the resulting collection is empty. Band names that are the same can either be renamed or overwritten based on the `overwrite` flag. The function returns a new `ImageCollection`.\n"],null,["# ee.ImageCollection.combine\n\nMakes a new collection that is a copy of the images in primary, adding all the bands from the image in secondary with a matching ID. If there are no matching IDs, the resulting collection will be empty. This is equivalent to an inner join on ID with merging of the bands of the result.\n\n\u003cbr /\u003e\n\nNote that this algorithm assumes that for a matching pair of inputs, both have the same footprint and metadata.\n\n| Usage | Returns |\n|-----------------------------------------------------|-----------------|\n| ImageCollection.combine`(secondary, `*overwrite*`)` | ImageCollection |\n\n| Argument | Type | Details |\n|-----------------|-------------------------|-------------------------------------------------------------------------------------------------------------|\n| this: `primary` | ImageCollection | The primary collection to join. |\n| `secondary` | ImageCollection | The secondary collection to join. |\n| `overwrite` | Boolean, default: false | If true, bands with the same name will get overwritten. If false, bands with the same name will be renamed. |"]]