ee.ImageCollection.getInfo
An imperative function that returns all the known information about this collection via an AJAX call.
Returns a collection description whose fields include:
- features: a list containing metadata about the images in the collection.
- bands: a dictionary describing the bands of the images in this collection.
- properties: an optional dictionary containing the collection's metadata properties.
Usage | Returns |
---|
ImageCollection.getInfo(callback) | ImageCollectionDescription |
Argument | Type | Details |
---|
this: imagecollection | ImageCollection | The ImageCollection 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."],[[["`getInfo()` retrieves comprehensive metadata about an ImageCollection, including image features, band details, and collection properties."],["This function is executed via an AJAX call, returning an ImageCollectionDescription object containing the requested information."],["`getInfo()` can be used synchronously or asynchronously by optionally providing a callback function to handle the result."]]],["The `getInfo` function retrieves metadata about an `ImageCollection` via an AJAX call. It returns an `ImageCollectionDescription` containing: a `features` list (image metadata), a `bands` dictionary (band descriptions), and an optional `properties` dictionary (collection metadata). The function can operate synchronously or asynchronously using an optional `callback`. The `callback` function receives the result upon successful or failed completion.\n"]]