ee.ImageCollection.reduceColumns
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
החלת פונקציית צמצום על כל רכיב באוסף, באמצעות בוררים נתונים שקובעים את נתוני הקלט.
הפונקציה מחזירה מילון של תוצאות, עם שמות הפלט כמפתחות.
שימוש | החזרות |
---|
ImageCollection.reduceColumns(reducer, selectors, weightSelectors) | מילון |
ארגומנט | סוג | פרטים |
---|
זה: collection | FeatureCollection | האוסף לצבירה. |
reducer | הפחתה | הפונקציה לצמצום שרוצים להחיל. |
selectors | רשימה | בורר לכל קלט של פונקציית ה-reducer. |
weightSelectors | רשימה, ברירת מחדל: null | בורר לכל קלט משוקלל של הפונקציה לצמצום. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]