お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
Method: projects.maps.create
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
計算結果を示す地図タイルのレンダリングに使用できる ID を作成します。生成された ID は、GetTile
リクエストの一部として使用する必要があります。
これは GetTile
と組み合わせて使用します。maps.create
を呼び出すと、式といくつかの出力オプションが提供されます。maps.create
の結果は、その式を評価してオプションを適用した結果の画像を表すマップ ID です。その後、GetTile
を呼び出して、任意の位置とズームレベルで、結果画像のタイルの画像データを取得できます。マップ ID は一定期間(数時間)有効です。
このエンドポイントのペアの最も一般的なユースケースは、地図ビューポートに計算の出力の可視化を表示することです。そのためには、計算出力が、リクエストされた画像形式に関する妥当な要件を満たしている必要があります。特に、JPEG または PNG 形式では、1 つまたは 3 つの出力バンドが必要であり、0 ~ 255 の範囲外の値はクリップされます。
HTTP リクエスト
POST https://earthengine.googleapis.com/v1beta/{parent=projects/*}/maps
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。地図コレクションの親(「projects/*」)。
認可には、指定されたリソース parent に対する次の IAM の権限が必要です。
|
クエリ パラメータ
パラメータ |
workloadTag |
string
この計算をトラッキングするためにユーザーが指定したタグ。
|
リクエストの本文
リクエストの本文には EarthEngineMap
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された EarthEngineMap
のインスタンスが含まれます。
認可スコープ
以下のいずれかの OAuth スコープが必要です。
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/earthengine.readonly
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003e\u003ccode\u003emaps.create\u003c/code\u003e generates a map ID that represents an image created from a provided expression and output options.\u003c/p\u003e\n"],["\u003cp\u003eThis map ID can be used with \u003ccode\u003eGetTile\u003c/code\u003e requests to retrieve image data for specific map tiles.\u003c/p\u003e\n"],["\u003cp\u003eThe primary use case is to visualize computation outputs on a map, requiring the output to be compatible with the image format (e.g., JPEG, PNG).\u003c/p\u003e\n"],["\u003cp\u003eMap IDs are valid for a limited time, typically a few hours.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required, needing specific IAM permissions or OAuth scopes.\u003c/p\u003e\n"]]],["`maps.create` generates a map ID by evaluating an expression and applying output options. This ID, valid for a few hours, is used in subsequent `GetTile` requests to retrieve image tiles of the computed result at specific locations and zoom levels. The computation output must meet JPEG or PNG format requirements, including one or three bands and value ranges between 0-255. Authorization via specific IAM permission and OAuth scopes is required. A user supplied workload tag can be included to track the computation.\n"],null,["# Method: projects.maps.create\n\nCreates an ID that can be used to render map tiles showing the results of a computation. The resulting ID should be used as part of `GetTile` requests.\n\nThis is used in conjunction with `GetTile`. A call to `maps.create` provides an expression and some output options. The result of `maps.create` is a map ID that represents an image that is the result of evaluating that expression and applying those options. Subsequently, calls to `GetTile` can be made to get image data for a tile of the resulting image, at any desired location and zoom. The map ID will be valid for a moderate period (a few hours).\n\nThe most common use case for this pair of endpoints is to populate a map viewport with a visualization of the output of some computation. In order for that to be possible, the computation output has to meet some reasonable requirements for the requested image format. In particular, JPEG or PNG format requires that there be one or three output bands, and clips values that are outside the 0-255 range.\n\n### HTTP request\n\n`POST https://earthengine.googleapis.com/v1beta/{parent=projects/*}/maps`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent of the map collection (e.g., \"projects/\\*\"). Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `earthengine.maps.create` |\n\n### Query parameters\n\n| Parameters ||\n|---------------|-------------------------------------------------------|\n| `workloadTag` | `string` User supplied tag to track this computation. |\n\n### Request body\n\nThe request body contains an instance of [EarthEngineMap](/earth-engine/reference/rest/v1beta/projects.locations.maps#EarthEngineMap).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [EarthEngineMap](/earth-engine/reference/rest/v1beta/projects.locations.maps#EarthEngineMap).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/earthengine.readonly`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]