お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.data.startProcessing
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
画像をエクスポートまたはプリレンダリングする処理タスクを作成します。
コールバックが指定されている場合、戻り値は null です。
次のフィールドを含むオブジェクトを返します。
- taskId: 送信されたタスク ID(ハイフンなし)。
- name: projects/X/operations/Y 形式の完全なオペレーション名
- started: 「OK」になります
- 注: 同じ未送信 ID の同一のタスクがすでに存在する場合は、値が「ALREADY_EXISTS」になることがあります。
用途 | 戻り値 |
---|
ee.data.startProcessing(taskId, params, callback) | ProcessingResponse |
引数 | タイプ | 詳細 |
---|
taskId | 文字列 | タスクの未送信 ID(newTaskId から取得)。重複したタスクを識別するために使用されます。null の場合もあります。サーバーは送信された ID を作成して返します。 |
params | オブジェクト | 処理タスクを記述するオブジェクト。ここでは、すべての処理タイプに共通するフィールドのみを説明します。type(文字列): 「EXPORT_IMAGE」、「EXPORT_FEATURES」、「EXPORT_VIDEO」、「EXPORT_TILES」のいずれか。json(文字列): 画像の JSON 説明。 |
callback | 関数(省略可) | オプションのコールバック。指定しない場合、呼び出しは同期的に行われます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThis processing task exports or pre-renders an image and can be initiated using \u003ccode\u003eee.data.startProcessing\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns an object containing task details like ID, name, status, and potential notes, or null if a callback is provided.\u003c/p\u003e\n"],["\u003cp\u003eTask parameters include a user-defined or server-generated task ID and a JSON object describing the image and export type.\u003c/p\u003e\n"],["\u003cp\u003eAn optional callback function can be included for asynchronous execution.\u003c/p\u003e\n"]]],["The `ee.data.startProcessing` function initiates a processing task to export or pre-render an image. It accepts a `taskId`, `params` object (specifying task type and JSON description), and an optional `callback`. The function returns a `ProcessingResponse` object with the submitted task ID, operation name, and start status, or `null` if a callback is provided. `taskId` is a user-defined ID, while the server generates the submitted ID, and `params` specify the task type. A note of `ALREADY_EXISTS` may be present.\n"],null,["# ee.data.startProcessing\n\n\u003cbr /\u003e\n\nCreate processing task that exports or pre-renders an image.\n\n\u003cbr /\u003e\n\nReturn value is null if a callback is specified.\n\nReturns an object with fields:\n\n- taskId: Submitted task ID (without hyphens).\n\n- name: Full operation name in the format projects/X/operations/Y\n\n- started: will be 'OK'\n\n- note: may have value 'ALREADY_EXISTS' if an identical task with the same unsubmitted ID already exists.\n\n| Usage | Returns |\n|---------------------------------------------------------|--------------------|\n| `ee.data.startProcessing(taskId, params, `*callback*`)` | ProcessingResponse |\n\n| Argument | Type | Details |\n|------------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `taskId` | String | Unsubmitted ID for the task (obtained from newTaskId). Used to identify duplicated tasks; may be null. The server will create and return a submitted ID. |\n| `params` | Object | The object that describes the processing task; only fields that are common for all processing types are documented here. type (string) Either 'EXPORT_IMAGE', 'EXPORT_FEATURES', 'EXPORT_VIDEO' or 'EXPORT_TILES'. json (string) JSON description of the image. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]