ee.ImageCollection.reduceColumns
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Wendet einen Reduzierer auf jedes Element einer Sammlung an. Die Eingaben werden anhand der angegebenen Selektoren bestimmt.
Gibt ein Ergebnis-Dictionary zurück, das mit den Ausgabenamen als Schlüssel versehen ist.
Nutzung | Ausgabe |
---|
ImageCollection.reduceColumns(reducer, selectors, weightSelectors) | Wörterbuch |
Argument | Typ | Details |
---|
So gehts: collection | FeatureCollection | Die Sammlung, über die aggregiert werden soll. |
reducer | Reducer | Der anzuwendende Reducer. |
selectors | Liste | Ein Selektor für jede Eingabe des Reducer. |
weightSelectors | Liste, Standard: null | Eine Auswahl für jede gewichtete Eingabe des Reducer. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eThe \u003ccode\u003ereduceColumns\u003c/code\u003e method aggregates data from an ImageCollection using a specified reducer function and selected inputs.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a dictionary containing the results, organized by output names specified in the reducer.\u003c/p\u003e\n"],["\u003cp\u003eUsers define input data through selectors and optionally assign weights to inputs using weightSelectors.\u003c/p\u003e\n"],["\u003cp\u003eThe function is available as a method on ImageCollections and accepts the reducer, selectors, and optional weightSelectors as arguments.\u003c/p\u003e\n"]]],["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"],null,["# ee.ImageCollection.reduceColumns\n\nApply a reducer to each element of a collection, using the given selectors to determine the inputs.\n\n\u003cbr /\u003e\n\nReturns a dictionary of results, keyed with the output names.\n\n| Usage | Returns |\n|--------------------------------------------------------------------------|------------|\n| ImageCollection.reduceColumns`(reducer, selectors, `*weightSelectors*`)` | Dictionary |\n\n| Argument | Type | Details |\n|--------------------|---------------------|----------------------------------------------------|\n| this: `collection` | FeatureCollection | The collection to aggregate over. |\n| `reducer` | Reducer | The reducer to apply. |\n| `selectors` | List | A selector for each input of the reducer. |\n| `weightSelectors` | List, default: null | A selector for each weighted input of the reducer. |"]]