公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.ImageCollection.distinct
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從集合中移除重複項目。請注意,系統會對所選屬性的序列化形式進行強雜湊處理,藉此判斷是否重複。
用量 | 傳回 |
---|
ImageCollection.distinct(properties) | FeatureCollection |
引數 | 類型 | 詳細資料 |
---|
這個:collection | FeatureCollection | 要從中選取物件的輸入集合。 |
properties | 物件 | 用於比較的屬性名稱或屬性名稱清單。您可以加入「.geo」屬性,比較物件幾何。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]