お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.data.listFeatures
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
特定のテーブル アセットの機能を一覧表示します。
呼び出しの結果を返します。コールバックが指定されている場合は Null。
用途 | 戻り値 |
---|
ee.data.listFeatures(asset, params, callback) | api.ListFeaturesResponse |
引数 | タイプ | 詳細 |
---|
asset | 文字列 | クエリを実行するテーブル アセット ID。 |
params | api.ProjectsAssetsListFeaturesNamedParameters | 次の値を使用できるリクエスト パラメータを含むオブジェクト。
pageSize (数値): ページあたりの結果の最大数(省略可)。デフォルトは 1, 000 です。 |
pageToken (文字列): サーバーが返す必要がある結果のページを特定する省略可能なトークン。通常はレスポンス オブジェクトから取得されます。 |
region (文字列): 指定されている場合、クエリ領域を定義するジオメトリ。GeoJSON ジオメトリ文字列として指定します(RFC 7946 を参照)。 |
filter (カンマ区切りの文字列): 指定されている場合、追加の単純なプロパティ フィルタを指定します(https://google.aip.dev/160 を参照)。 |
|
callback | 関数(省略可) | 省略可能なコールバック。2 つのパラメータで呼び出されます。1 つ目は結果のフィーチャー リスト、2 つ目は失敗時のエラー文字列です。指定しない場合、呼び出しは同期的に行われます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eLists features for a specified table asset using its ID.\u003c/p\u003e\n"],["\u003cp\u003eAllows optional parameters for filtering, pagination, and regional queries.\u003c/p\u003e\n"],["\u003cp\u003eReturns an \u003ccode\u003eapi.ListFeaturesResponse\u003c/code\u003e object containing the features or null if a callback function is provided.\u003c/p\u003e\n"],["\u003cp\u003eOptionally accepts a callback function for asynchronous execution, receiving the features and potential errors.\u003c/p\u003e\n"]]],["The core functionality involves listing features for a specified table asset. The `ee.data.listFeatures` function accepts an asset ID (`asset`) and request parameters (`params`). Parameters include `pageSize`, `pageToken`, `region`, and `filter`. It can optionally take a `callback` function for asynchronous calls. The function returns a `api.ListFeaturesResponse` object containing the features list, or it returns `null` if a callback is provided. It retrieves information from an asset and allows filtering and pagination.\n"],null,["# ee.data.listFeatures\n\n\u003cbr /\u003e\n\nList features for a given table asset.\n\n\u003cbr /\u003e\n\nReturns the call results. Null if a callback is specified.\n\n| Usage | Returns |\n|-----------------------------------------------------|--------------------------|\n| `ee.data.listFeatures(asset, params, `*callback*`)` | api.ListFeaturesResponse |\n\n| Argument | Type | Details |\n|------------|-----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `asset` | String | The table asset ID to query. |\n| `params` | api.ProjectsAssetsListFeaturesNamedParameters | An object containing request parameters with the following possible values: |-------------------------------------------------------------------------------------------------------------------------------------------| | ` pageSize ` (number): An optional maximum number of results per page, default is 1000. | | ` pageToken ` (string): An optional token identifying a page of results the server should return, usually taken from the response object. | | ` region ` (string): If present, a geometry defining a query region, specified as a GeoJSON geometry string (see RFC 7946). | | ` filter ` (comma-separated strings): If present, specifies additional simple property filters (see https://google.aip.dev/160). | |\n| `callback` | Function, optional | An optional callback, called with two parameters: the first is the resulting list of features and the second is an error string on failure. If not supplied, the call is made synchronously. |"]]