ee.ImageCollection.distinct
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
นำรายการที่ซ้ำกันออกจากคอลเล็กชัน โปรดทราบว่าระบบจะพิจารณาว่ารายการใดซ้ำกันโดยใช้แฮชที่รัดกุมในรูปแบบที่แปลงเป็นอนุกรมของพร็อพเพอร์ตี้ที่เลือก
การใช้งาน | การคืนสินค้า |
---|
ImageCollection.distinct(properties) | FeatureCollection |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ collection | FeatureCollection | คอลเล็กชันอินพุตที่จะเลือกออบเจ็กต์ |
properties | วัตถุ | ชื่อพร็อพเพอร์ตี้หรือรายการชื่อพร็อพเพอร์ตี้ที่จะใช้เปรียบเทียบ คุณสามารถรวมพร็อพเพอร์ตี้ ".geo" เพื่อเปรียบเทียบรูปทรงเรขาคณิตของออบเจ็กต์ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eReturns a new \u003ccode\u003eFeatureCollection\u003c/code\u003e with duplicate features removed from the original collection.\u003c/p\u003e\n"],["\u003cp\u003eDuplicates are identified using a strong hash function applied to the serialized form of specified properties including geometry.\u003c/p\u003e\n"],["\u003cp\u003eUsers can define the specific properties (including geometry) to be used for identifying duplicates.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.distinct\n\nRemoves duplicates from a collection. Note that duplicates are determined using a strong hash over the serialized form of the selected properties.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------|-------------------|\n| ImageCollection.distinct`(properties)` | FeatureCollection |\n\n| Argument | Type | Details |\n|--------------------|-------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| this: `collection` | FeatureCollection | The input collection from which objects will be selected. |\n| `properties` | Object | A property name or a list of property names to use for comparison. The '.geo' property can be included to compare object geometries. |"]]