公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.ImageCollection.copyProperties
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
將中繼資料屬性從一個元素複製到另一個元素。
用量 | 傳回 |
---|
ImageCollection.copyProperties(source, properties, exclude) | 元素 |
引數 | 類型 | 詳細資料 |
---|
這個:destination | 元素,預設值:null | 要覆寫屬性的物件。 |
source | 元素,預設值:null | 要從中複製屬性的物件。 |
properties | 清單,預設值為空值 | 要複製的屬性。如果省略,系統會複製所有一般 (即非系統) 屬性。 |
exclude | 清單,預設值為空值 | 複製所有屬性時要排除的屬性清單。如果已指定屬性,則不得指定這個欄位。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]