ee.ImageCollection.copyProperties
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.
Sao chép các thuộc tính siêu dữ liệu từ một phần tử sang một phần tử khác.
Cách sử dụng | Giá trị trả về |
---|
ImageCollection.copyProperties(source, properties, exclude) | Phần tử |
Đối số | Loại | Thông tin chi tiết |
---|
this: destination | Phần tử, mặc định: rỗng | Đối tượng có các thuộc tính cần ghi đè. |
source | Phần tử, mặc định: rỗng | Đối tượng mà bạn muốn sao chép các thuộc tính. |
properties | Danh sách, mặc định: null | Các thuộc tính cần sao chép. Nếu bạn bỏ qua, tất cả các thuộc tính thông thường (tức là không phải thuộc tính hệ thống) sẽ được sao chép. |
exclude | Danh sách, mặc định: null | Danh sách các tài sản cần loại trừ khi sao chép tất cả tài sản. Không được chỉ định nếu thuộc tính là. |
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\u003eCopies metadata properties from a source element to a destination element within an ImageCollection.\u003c/p\u003e\n"],["\u003cp\u003eAllows for selection of specific properties to copy or exclude using the \u003ccode\u003eproperties\u003c/code\u003e and \u003ccode\u003eexclude\u003c/code\u003e parameters, respectively.\u003c/p\u003e\n"],["\u003cp\u003eIf \u003ccode\u003eproperties\u003c/code\u003e and \u003ccode\u003eexclude\u003c/code\u003e are not specified, all non-system properties are copied.\u003c/p\u003e\n"],["\u003cp\u003eReturns the modified destination element.\u003c/p\u003e\n"]]],["The core functionality copies metadata properties from a source element to a destination element. Users can specify which properties to copy through a list, or copy all ordinary properties. Alternatively, users can specify a list of properties to exclude during the copying process, but only when copying all properties. The destination element is modified based on the source element and user-specified properties or exclusions. This operation returns the modified destination element.\n"],null,["# ee.ImageCollection.copyProperties\n\nCopies metadata properties from one element to another.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------|---------|\n| ImageCollection.copyProperties`(`*source* `, `*properties* `, `*exclude*`)` | Element |\n\n| Argument | Type | Details |\n|---------------------|------------------------|--------------------------------------------------------------------------------------------------------|\n| this: `destination` | Element, default: null | The object whose properties to override. |\n| `source` | Element, default: null | The object from which to copy the properties. |\n| `properties` | List, default: null | The properties to copy. If omitted, all ordinary (i.e. non-system) properties are copied. |\n| `exclude` | List, default: null | The list of properties to exclude when copying all properties. Must not be specified if properties is. |"]]