ee.ImageCollection.flatten
Flattens collections of collections.
Usage | Returns |
---|
ImageCollection.flatten() | FeatureCollection |
Argument | Type | Details |
---|
this: collection | FeatureCollection | The input collection of collections. |
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."],[[["Flattens a FeatureCollection containing other collections into a single FeatureCollection of Features."],["The input must be an `ImageCollection` and it transforms it into a `FeatureCollection`."],["Useful for simplifying nested collections and facilitating further analysis."]]],["The `flatten()` method transforms a collection of collections into a single `FeatureCollection`. It takes one argument, `collection`, which represents the input collection of collections. The method's core function is to consolidate multiple collections within a parent collection into a unified `FeatureCollection`, making it easier to access and manage the data. The output will be the data in `FeatureCollection` format.\n"]]