お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.List.getInfo
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
サーバーからこのオブジェクトの値を取得します。
コールバック関数が指定されていない場合、リクエストは同期的に行われます。コールバックが指定されている場合、リクエストは非同期で行われます。
同期モードではサーバーを待機している間、他のすべてのコード(EE コードエディタの UI など)が停止するため、非同期モードが推奨されます。非同期リクエストを行う場合は、getInfo() よりも evaluate() を使用することをおすすめします。
このオブジェクトの計算値を返します。
用途 | 戻り値 |
---|
List.getInfo(callback) | オブジェクト |
引数 | タイプ | 詳細 |
---|
これ: computedobject | ComputedObject | ComputedObject インスタンス。 |
callback | 関数(省略可) | オプションのコールバック。指定しない場合、呼び出しは同期的に行われます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eRetrieves the object's computed value, either synchronously or asynchronously, from the server.\u003c/p\u003e\n"],["\u003cp\u003eAsynchronous requests, preferred to avoid UI blocking, are made using \u003ccode\u003eevaluate()\u003c/code\u003e or by providing a callback function to \u003ccode\u003egetInfo()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetInfo()\u003c/code\u003e returns the computed value as an object when called with an optional callback.\u003c/p\u003e\n"]]],["The `getInfo()` method retrieves an object's value from the server. It can operate synchronously or asynchronously. If no callback function is provided, the request is synchronous, halting other code execution. If a callback is provided, it runs asynchronously, which is the preferred method. `getInfo()` returns the object's computed value. The asynchronous method is preferred and can be used with the method `evaluate()`.\n"],null,["# ee.List.getInfo\n\n\u003cbr /\u003e\n\nRetrieves the value of this object from the server.\n\n\u003cbr /\u003e\n\nIf no callback function is provided, the request is made synchronously. If a callback is provided, the request is made asynchronously.\n\nThe asynchronous mode is preferred because the synchronous mode stops all other code (for example, the EE Code Editor UI) while waiting for the server. To make an asynchronous request, evaluate() is preferred over getInfo().\n\nReturns the computed value of this object.\n\n| Usage | Returns |\n|------------------------------|---------|\n| List.getInfo`(`*callback*`)` | Object |\n\n| Argument | Type | Details |\n|------------------------|--------------------|------------------------------------------------------------------------|\n| this: `computedobject` | ComputedObject | The ComputedObject instance. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]