ee.ImageCollection.distinct
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Xoá các phần tử trùng lặp khỏi một bộ sưu tập. Xin lưu ý rằng các bản sao được xác định bằng cách sử dụng hàm băm mạnh trên dạng được chuyển đổi tuần tự của các thuộc tính đã chọn.
Cách sử dụng | Giá trị trả về |
---|
ImageCollection.distinct(properties) | FeatureCollection |
Đối số | Loại | Thông tin chi tiết |
---|
this: collection | FeatureCollection | Tập hợp đầu vào mà các đối tượng sẽ được chọn. |
properties | Đối tượng | Tên thuộc tính hoặc danh sách tên thuộc tính cần dùng để so sánh. Bạn có thể thêm thuộc tính ".geo" để so sánh các hình học đối tượng. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]