Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.Join.saveAll
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan gabungan yang memasangkan setiap elemen dari koleksi pertama dengan grup elemen yang cocok dari koleksi kedua. Daftar kecocokan ditambahkan ke setiap hasil sebagai properti tambahan. Jika measureKey ditentukan, setiap kecocokan memiliki nilai ukuran gabungannya yang dilampirkan. Pengukuran gabungan dihasilkan saat filter withinDistance atau maxDifference digunakan sebagai kondisi gabungan.
Penggunaan | Hasil |
---|
ee.Join.saveAll(matchesKey, ordering, ascending, measureKey, outer) | Gabung |
Argumen | Jenis | Detail |
---|
matchesKey | String | Nama properti yang digunakan untuk menyimpan daftar kecocokan. |
ordering | String, default: null | Properti yang akan digunakan untuk mengurutkan daftar kecocokan. |
ascending | Boolean, default: benar (true) | Apakah pengurutan menaik. |
measureKey | String, default: null | Nama properti opsional yang digunakan untuk menyimpan ukuran kondisi gabungan pada setiap kecocokan. |
outer | Boolean, default: false | Jika benar (true), baris utama tanpa kecocokan akan disertakan dalam hasil. |
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-27 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-27 UTC."],[[["\u003cp\u003ePairs elements from the first collection with matching elements from the second, adding the matches as a new property.\u003c/p\u003e\n"],["\u003cp\u003eOptionally sorts the list of matches based on a specified property and order.\u003c/p\u003e\n"],["\u003cp\u003eAllows for saving the measure of the join condition (e.g., distance or difference) on each match if specified.\u003c/p\u003e\n"],["\u003cp\u003eCan include primary elements without matches in the results by setting the \u003ccode\u003eouter\u003c/code\u003e parameter to true.\u003c/p\u003e\n"]]],["The `ee.Join.saveAll` function creates a join between two collections, pairing each element from the first with matching elements from the second. Matched elements are stored as a list under a specified `matchesKey`. Optionally, this list can be sorted by a given property (`ordering`) in ascending or descending order. If a join condition with distance or difference measures is used, the measurement values are attached using the `measureKey`. If `outer` is set to true elements from first collection without matches will be included in the result.\n"],null,["# ee.Join.saveAll\n\nReturns a join that pairs each element from the first collection with a group of matching elements from the second collection. The list of matches is added to each result as an additional property. If measureKey is specified, each match has the value of its join measure attached. Join measures are produced when withinDistance or maxDifference filters are used as the join condition.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------------------------------------------|---------|\n| `ee.Join.saveAll(matchesKey, `*ordering* `, `*ascending* `, `*measureKey* `, `*outer*`)` | Join |\n\n| Argument | Type | Details |\n|--------------|-------------------------|-----------------------------------------------------------------------------------------|\n| `matchesKey` | String | The property name used to save the matches list. |\n| `ordering` | String, default: null | The property on which to sort the matches list. |\n| `ascending` | Boolean, default: true | Whether the ordering is ascending. |\n| `measureKey` | String, default: null | An optional property name used to save the measure of the join condition on each match. |\n| `outer` | Boolean, default: false | If true, primary rows without matches will be included in the result. |"]]