公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
REST Resource: projects.maps
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:EarthEngineMap
字段 |
name |
string
表示地图的资源名称,格式为“projects/*/maps/**”(例如“projects/earthengine-legacy/maps/”。
|
expression |
object (Expression )
要计算的表达式。
|
fileFormat |
enum (ImageFileFormat )
用于生成地图图块的输出文件格式。
|
bandIds[] |
string
如果存在,则指定要从给定表达式的计算结果中选择的一组特定频段。如果未指定,则系统会选择表达式生成的所有波段。
|
visualizationOptions |
object (VisualizationOptions )
一组可视化选项(如果有),用于生成数据的 8 位 RGB 可视化图表。
|
方法 |
|
创建一个 ID,用于渲染显示计算结果的地图图块。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eEarthEngineMap resources represent maps and are defined by a name, expression to compute, file format, optional band IDs, and visualization options.\u003c/p\u003e\n"],["\u003cp\u003eThe map resource uses an expression to generate map tiles and allows customization through file format, band selection, and visualization settings.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create EarthEngineMap resources using the \u003ccode\u003ecreate\u003c/code\u003e method, which generates an ID for rendering map tiles based on the defined expression and configurations.\u003c/p\u003e\n"]]],["The content describes the \"EarthEngineMap\" resource, detailing its structure and function. Key components include `name`, `expression` (for computation), `fileFormat` (output format), `bandIds` (specific band selection), and `visualizationOptions` (RGB visualization settings). The resource allows defining the map's data source, how to compute it, how to represent it, how to visualize it and its output format. The core action is using the `create` method to generate a map ID for rendering computation results.\n"],null,["# REST Resource: projects.maps\n\nResource: EarthEngineMap\n------------------------\n\nInformation about a map.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"expression\": { object (/earth-engine/reference/rest/v1alpha/Expression) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1alpha/ImageFileFormat), \"bandIds\": [ string ], \"visualizationOptions\": { object (/earth-engine/reference/rest/v1alpha/VisualizationOptions) } } ``` |\n\n| Fields ||\n|------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name representing the map, of the form \"projects/\\*/maps/\\*\\*\" (e.g. \"projects/earthengine-legacy/maps/\"). |\n| `expression` | `object (`[Expression](/earth-engine/reference/rest/v1alpha/Expression)`)` The expression to compute. |\n| `fileFormat` | `enum (`[ImageFileFormat](/earth-engine/reference/rest/v1alpha/ImageFileFormat)`)` The output file format in which to generate the map tiles. |\n| `bandIds[]` | `string` If present, specifies a specific set of bands that will be selected from the result of evaluating the given expression. If not present, all bands resulting from the expression will be selected. |\n| `visualizationOptions` | `object (`[VisualizationOptions](/earth-engine/reference/rest/v1alpha/VisualizationOptions)`)` If present, a set of visualization options to apply to produce an 8-bit RGB visualization of the data. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------|------------------------------------------------------------------------------------------|\n| ### [create](/earth-engine/reference/rest/v1alpha/projects.maps/create) | Creates an ID that can be used to render map tiles showing the results of a computation. |"]]