Join digunakan untuk menggabungkan elemen dari berbagai koleksi (misalnya,
ImageCollection
atau FeatureCollection
) berdasarkan kondisi
yang ditentukan oleh ee.Filter
. Filter dibuat dengan argumen untuk properti di setiap koleksi yang saling terkait. Secara khusus,
leftField
menentukan properti dalam koleksi utama yang terkait
dengan rightField
dalam koleksi sekunder. Jenis filter (misalnya,
equals
, greaterThanOrEquals
, lessThan
, dll.)
menunjukkan hubungan antara kolom. Jenis join menunjukkan hubungan one-to-many
atau one-to-one antara elemen dalam koleksi dan jumlah kecocokan
yang akan dipertahankan. Output join dihasilkan oleh join.apply()
dan akan bervariasi
sesuai dengan jenis join.
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-02-18 UTC.
[null,null,["Terakhir diperbarui pada 2025-02-18 UTC."],[[["Joins combine elements from different collections like `ImageCollection` and `FeatureCollection` based on a specified condition using an `ee.Filter`."],["The `ee.Filter` defines the relationship between properties in the collections using `leftField` and `rightField` along with a filter type like `equals` or `lessThan`."],["Different join types handle one-to-one or one-to-many relationships and control the number of matches retained, impacting the output produced by `join.apply()`."]]],["Joins combine elements from different collections using an `ee.Filter` based on a specified condition. `leftField` and `rightField` define related properties within the primary and secondary collections, respectively. The filter type determines the relationship between these fields (e.g., equals, greaterThan). Join type specifies one-to-many or one-to-one relationships and the number of matches. The `join.apply()` method produces the output, which varies based on the chosen join type.\n"]]