ee.Filter.inList
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
กรองข้อมูลเมตาที่มีอยู่ในรายการ
แสดงผลตัวกรองที่สร้างขึ้น
การใช้งาน | การคืนสินค้า |
---|
ee.Filter.inList(leftField, rightValue, rightField, leftValue) | ตัวกรอง |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
leftField | สตริง ไม่บังคับ | ตัวเลือกสำหรับตัวถูกดำเนินการทางซ้าย ไม่ควรระบุหากมีการระบุ leftValue |
rightValue | List<Object>|Object, ไม่บังคับ | ค่าของตัวถูกดำเนินการทางด้านขวา ไม่ควรระบุหากมีการระบุ rightField |
rightField | สตริง ไม่บังคับ | ตัวเลือกสำหรับตัวถูกดำเนินการด้านขวา ไม่ควรระบุหากมีการระบุ rightValue |
leftValue | List<Object>|Object, ไม่บังคับ | ค่าของตัวถูกดำเนินการทางซ้าย ไม่ควรระบุหากมีการระบุ leftField |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThe \u003ccode\u003eee.Filter.inList\u003c/code\u003e function filters data based on whether a property value is present in a specified list.\u003c/p\u003e\n"],["\u003cp\u003eIt constructs a filter that checks if the values in the 'left' field or list match any values in the 'right' field or list.\u003c/p\u003e\n"],["\u003cp\u003eThe function is flexible, allowing you to specify the field or list for both the left and right operands using the provided parameters.\u003c/p\u003e\n"],["\u003cp\u003eReturns a Filter object ready for use in your Earth Engine workflows to refine data selections.\u003c/p\u003e\n"]]],["The core function, `ee.Filter.inList`, creates a filter based on metadata within a list. It takes either a left field selector and a right value (list), or a right field selector and a left value (list). The `leftField` and `rightField` arguments are string selectors, while `rightValue` and `leftValue` are lists. Only one pair (field and value) should be specified. The function's output is a filter.\n"],null,["# ee.Filter.inList\n\n\u003cbr /\u003e\n\nFilter on metadata contained in a list.\n\n\u003cbr /\u003e\n\nReturns the constructed filter.\n\n| Usage | Returns |\n|-------------------------------------------------------------------------------------|---------|\n| `ee.Filter.inList(`*leftField* `, `*rightValue* `, `*rightField* `, `*leftValue*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------|----------------------------------|---------------------------------------------------------------------------------------|\n| `leftField` | String, optional | A selector for the left operand. Should not be specified if leftValue is specified. |\n| `rightValue` | List\\\u003cObject\\\u003e\\|Object, optional | The value of the right operand. Should not be specified if rightField is specified. |\n| `rightField` | String, optional | A selector for the right operand. Should not be specified if rightValue is specified. |\n| `leftValue` | List\\\u003cObject\\\u003e\\|Object, optional | The value of the left operand. Should not be specified if leftField is specified. |"]]