お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.ImageCollection.limit
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
コレクションを特定の数の要素に制限します。必要に応じて、指定されたプロパティで最初に並べ替えます。
制限付きコレクションを返します。
用途 | 戻り値 |
---|
ImageCollection.limit(max, property, ascending) | コレクション |
引数 | タイプ | 詳細 |
---|
これ: collection | コレクション | Collection インスタンス。 |
max | 数値 | コレクションを制限する数値。 |
property | 文字列、省略可 | 並べ替えを行う場合の並べ替えの基準となるプロパティ。 |
ascending | ブール値、省略可 | 昇順または降順で並べ替えるかどうか。デフォルトは true(昇順)です。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],["The `limit` method restricts a collection to a specified number of elements (`max`). It optionally sorts the collection beforehand by a given `property`. Sorting can be in ascending (default) or descending order, controlled by the `ascending` argument. The method operates on a `Collection` instance and returns the modified, limited `Collection`. The method requires a number for max and accepts an optional String for the property to sort by and an optional boolean for the sort direction.\n"],null,[]]