ee.Image.metadata
Generates a constant image of type double from a metadata property.
Usage | Returns |
---|
Image.metadata(property, name) | Image |
Argument | Type | Details |
---|
this: image | Image | The image from which to get the metadata |
property | String | The property from which to take the value. |
name | String, default: null | The name for the output band. If unspecified, it will be the same as the property name. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["Generates a double-type constant image based on a specified image metadata property."],["The `Image.metadata()` method takes the image, property name, and an optional output band name as arguments."],["If the output band name isn't provided, it defaults to the metadata property name."]]],[]]