ee.Filter.intersects
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างตัวกรองแบบเอกภาคหรือทวิภาคที่ผ่านหากเรขาคณิตทางซ้ายตัดกับเรขาคณิตทางขวา
การใช้งาน | การคืนสินค้า |
---|
ee.Filter.intersects(leftField, rightValue, rightField, leftValue, maxError) | ตัวกรอง |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
leftField | สตริง ค่าเริ่มต้น: null | ตัวเลือกสำหรับตัวถูกดำเนินการทางซ้าย ไม่ควรระบุหากมีการระบุ leftValue |
rightValue | ออบเจ็กต์ ค่าเริ่มต้น: null | ค่าของตัวถูกดำเนินการทางด้านขวา ไม่ควรระบุหากมีการระบุ rightField |
rightField | สตริง ค่าเริ่มต้น: null | ตัวเลือกสำหรับตัวถูกดำเนินการด้านขวา ไม่ควรระบุหากมีการระบุ rightValue |
leftValue | ออบเจ็กต์ ค่าเริ่มต้น: null | ค่าของตัวถูกดำเนินการทางซ้าย ไม่ควรระบุหากมีการระบุ leftField |
maxError | ErrorMargin (ไม่บังคับ) | ข้อผิดพลาดในการฉายซ้ำสูงสุดที่อนุญาตระหว่างการใช้ตัวกรอง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eDefines a filter that selects geometries intersecting with another geometry, specified by either a field or a direct value.\u003c/p\u003e\n"],["\u003cp\u003eAllows for specifying both left and right operands using fields or values, but not both for the same side.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an optional \u003ccode\u003emaxError\u003c/code\u003e parameter to control the allowed reprojection error during filtering.\u003c/p\u003e\n"]]],[],null,["# ee.Filter.intersects\n\nCreates a unary or binary filter that passes if the left geometry intersects the right geometry.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------------------------------------------------------------------|---------|\n| `ee.Filter.intersects(`*leftField* `, `*rightValue* `, `*rightField* `, `*leftValue* `, `*maxError*`)` | Filter |\n\n| Argument | Type | Details |\n|--------------|-----------------------|---------------------------------------------------------------------------------------|\n| `leftField` | String, default: null | A selector for the left operand. Should not be specified if leftValue is specified. |\n| `rightValue` | Object, default: null | The value of the right operand. Should not be specified if rightField is specified. |\n| `rightField` | String, default: null | A selector for the right operand. Should not be specified if rightValue is specified. |\n| `leftValue` | Object, default: null | The value of the left operand. Should not be specified if leftField is specified. |\n| `maxError` | ErrorMargin, optional | The maximum reprojection error allowed during filter application. |"]]