REST Resource: projects.thumbnails
资源:缩略图
字段 |
name |
string
表示缩略图的资源名称,格式为“projects/*/thumbnails/**”(例如“projects/earthengine-legacy/thumbnails/”)。
|
expression |
object (Expression )
要计算的表达式。必须计算为 Image。
|
fileFormat |
enum (ImageFileFormat )
用于生成最终图片的输出编码。
|
bandIds[] |
string
如果存在,则指定要从评估 expression 的结果中选择的一组特定频段。如果未指定,则系统会选择 expression 产生的所有频段。
|
visualizationOptions |
object (VisualizationOptions )
一组可视化选项(如果有),用于生成数据的 8 位 RGB 可视化图表。
|
grid |
object (PixelGrid )
一个可选的像素网格,用于描述由 expression 计算的图片的重新投影和剪裁方式。
|
filenamePrefix |
string
仅在 fileFormat 为 ZIPPED_GEO_TIFF 或 ZIPPED_GEO_TIFF_PER_BAND 时使用。
|
方法 |
|
创建一个 ID,用于呈现“缩略图”图片。 |
|
计算显示计算结果的图片。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-07。
[null,null,["最后更新时间 (UTC):2025-03-07。"],[[["Thumbnails are representations of images, generated by evaluating an expression that results in an image."],["They can be customized with visualization options, band selections, and reprojection/clipping using a pixel grid."],["Thumbnail creation involves providing parameters like expression, file format, and optionally visualization options, band IDs, grid, and filename prefix."],["Users can initiate thumbnail creation and retrieve image data using designated API methods."]]],["Thumbnails are created with a name, an expression that evaluates to an image, and a specified file format. Band IDs can be selected from the expression's result, and visualization options can be applied for 8-bit RGB output. A pixel grid can define image reprojection and clipping. A filename prefix is used for ZIPPED_GEO_TIFF output. The `create` method generates a thumbnail ID, and `getPixels` computes and renders the image.\n"]]