ee.Image.getInfo
An imperative function that returns information about this image via an AJAX call.
Returns a description of the image. Includes:
- bands - a list containing metadata about the bands in the collection.
- properties - a dictionary containing the image's metadata properties.
Usage | Returns |
---|
Image.getInfo(callback) | ImageDescription |
Argument | Type | Details |
---|
this: image | Image | The Image instance. |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. If supplied, will be called with the first parameter if successful and the second if unsuccessful. |
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["`Image.getInfo` is an imperative function that retrieves image metadata via an AJAX call, returning an `ImageDescription` object."],["The `ImageDescription` object contains two key elements: `bands` (metadata about image bands) and `properties` (a dictionary of image metadata properties)."],["This function can be used synchronously or asynchronously by supplying an optional callback function that handles the results."]]],[]]