お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Feature.aside
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このオブジェクトを最初の引数として渡して関数を呼び出し、自身を返します。デバッグ時などに便利です。
var c = ee.ImageCollection('foo').aside(print)
.filterDate('2001-01-01', '2002-01-01').aside(print, 'In 2001')
.filterBounds(geom).aside(print, 'In region')
.aside(Map.addLayer, {min: 0, max: 142}, 'Filtered')
.select('a', 'b');
チェーン用に同じオブジェクトを返します。
用途 | 戻り値 |
---|
Feature.aside(func, var_args) | ComputedObject |
引数 | タイプ | 詳細 |
---|
これ: computedobject | ComputedObject | ComputedObject インスタンス。 |
func | 関数 | 呼び出す関数。 |
var_args | VarArgs<Object> | 関数に渡す追加の引数。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],["The `aside` function, applicable to `ComputedObject` instances, executes a provided function (`func`) using the object itself as the initial argument, along with any extra arguments (`var_args`). It then returns the original `ComputedObject`, enabling method chaining. This is useful for debugging or applying side effects. For example, the function is called to print the current state of an `ImageCollection`, filter by date, and bounds, add a layer to the map, and still be able to select certain properties.\n"],null,[]]