Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.ImageCollection.reduceColumns
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Terapkan peredam ke setiap elemen koleksi, menggunakan pemilih yang diberikan untuk menentukan input.
Menampilkan kamus hasil, yang dikunci dengan nama output.
Penggunaan | Hasil |
---|
ImageCollection.reduceColumns(reducer, selectors, weightSelectors) | Kamus |
Argumen | Jenis | Detail |
---|
ini: collection | FeatureCollection | Koleksi yang akan digabungkan. |
reducer | Pengurang | Pengurang yang akan diterapkan. |
selectors | Daftar | Pemilih untuk setiap input peredam. |
weightSelectors | Daftar, default: null | Pemilih untuk setiap input berbobot peredam. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]