Earth Engine 推出了
非商业配额层级,以保护共享计算资源并确保为所有人提供可靠的性能。非商业项目默认使用 Community
层级,但您可以随时更改项目的层级。
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Export.video.toCloudStorage
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
创建一个批处理任务,用于将 ImageCollection 作为视频导出到 Google Cloud Storage。集合必须仅包含 RGB 图片。您可以在“任务”标签页中开始任务。“crsTransform”“scale”和“dimensions”是互斥的。
| 用法 | 返回 |
|---|
Export.video.toCloudStorage(collection, description, bucket, fileNamePrefix, framesPerSecond, dimensions, region, scale, crs, crsTransform, maxPixels, maxFrames, priority) | |
| 参数 | 类型 | 详细信息 |
|---|
collection | ImageCollection | 要导出的图片集合。 |
description | 字符串,可选 | 任务的简明易懂的名称。默认为“myExportVideoTask”。 |
bucket | 字符串,可选 | Cloud Storage 目标存储分区。 |
fileNamePrefix | 字符串,可选 | 用作输出前缀的字符串。末尾的“/”表示路径。默认为说明。 |
framesPerSecond | 数字,可选 | 导出视频的帧速率。必须是一个介于 0.1 到 100 之间的值。默认为 1。 |
dimensions | Number|String,可选 | 要用于导出图片的尺寸。接受单个正整数作为最大维度,或接受“WIDTHxHEIGHT”(其中 WIDTH 和 HEIGHT 均为正整数)。 |
region | Geometry.LinearRing|Geometry.Polygon|String,可选 | 要导出的区域,以 LinearRing、Polygon 或坐标表示。这些值可以指定为 Geometry 对象或序列化为字符串的坐标。 |
scale | 数字,可选 | 分辨率(以每像素多少米为单位)。 |
crs | 字符串,可选 | 要用于导出图片的 CRS。默认为 Google 地图墨卡托投影,即 SR-ORG:6627。 |
crsTransform | 字符串,可选 | 用于导出图像的仿射转换。需要定义“crs”。 |
maxPixels | 数字,可选 | 限制导出中的像素数量。默认情况下,如果导出像素数超过 1 亿,您会看到一条错误消息。明确设置此值可提高或降低此限制。 |
maxFrames | 数字,可选 | 设置要导出的帧数上限。默认情况下,最多可以导出 1000 帧。通过明确设置此值,您可以提高或降低此限制。 |
priority | 数字,可选 | 任务在项目中的优先级。优先级较高的任务会更早安排。必须是介于 0 到 9999 之间的整数。默认值为 100。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["This function exports an ImageCollection as a video to Google Cloud Storage. It requires an RGB ImageCollection and starts as a batch task. Key actions involve specifying the `collection`, destination `bucket`, `fileNamePrefix`, and `framesPerSecond`. Optional parameters include `dimensions`, `region`, `scale`, `crs`, `crsTransform`, `maxPixels`, `maxFrames`, and `priority`. The parameters `crsTransform`, `scale`, and `dimensions` are mutually exclusive, with default values and limitations for several arguments.\n"]]