ee.ImageCollection.reduceColumns
Apply a reducer to each element of a collection, using the given selectors to determine the inputs.
Returns a dictionary of results, keyed with the output names.
Usage | Returns |
---|
ImageCollection.reduceColumns(reducer, selectors, weightSelectors) | Dictionary |
Argument | Type | Details |
---|
this: collection | FeatureCollection | The collection to aggregate over. |
reducer | Reducer | The reducer to apply. |
selectors | List | A selector for each input of the reducer. |
weightSelectors | List, default: null | A selector for each weighted input of the reducer. |
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."],[[["The `reduceColumns` method aggregates data from an ImageCollection using a specified reducer function and selected inputs."],["It returns a dictionary containing the results, organized by output names specified in the reducer."],["Users define input data through selectors and optionally assign weights to inputs using weightSelectors."],["The function is available as a method on ImageCollections and accepts the reducer, selectors, and optional weightSelectors as arguments."]]],["The function `reduceColumns` applies a reducer to each element in a FeatureCollection. It utilizes specified selectors to define reducer inputs and, optionally, weighted inputs. The function takes a reducer, a list of selectors, and an optional list of weight selectors as arguments. It returns a dictionary where keys are output names and values are the results of applying the reducer to the collection's elements.\n"]]