公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Feature.copyProperties
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
將中繼資料屬性從一個元素複製到另一個元素。
用量 | 傳回 |
---|
Feature.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.\u003c/p\u003e\n"],["\u003cp\u003eAllows specifying specific properties to copy or exclude, offering flexibility in property transfer.\u003c/p\u003e\n"],["\u003cp\u003eIf no specific properties are provided, it copies all standard, non-system properties by default.\u003c/p\u003e\n"],["\u003cp\u003eReturns the modified destination element after the property transfer is complete.\u003c/p\u003e\n"]]],["The `copyProperties` function transfers metadata properties from a source element to a destination element. It accepts the source and destination elements as arguments. Users can specify a list of `properties` to copy or, by omitting it, copy all non-system properties. An `exclude` list allows specific properties to be skipped during the copy operation when all properties are selected. The function returns the modified destination element.\n"],null,["# ee.Feature.copyProperties\n\nCopies metadata properties from one element to another.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------|---------|\n| Feature.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. |"]]