公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Image.metadata
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從中繼資料屬性產生 double 類型的常數圖片。
用量 | 傳回 |
---|
Image.metadata(property, name) | 圖片 |
引數 | 類型 | 詳細資料 |
---|
這個:image | 圖片 | 要從中取得中繼資料的圖片 |
property | 字串 | 要從中取得值的屬性。 |
name | 字串,預設值為空值 | 輸出頻帶的名稱。如未指定,則會與屬性名稱相同。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eGenerates a double-type constant image based on a specified image metadata property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImage.metadata()\u003c/code\u003e method takes the image, property name, and an optional output band name as arguments.\u003c/p\u003e\n"],["\u003cp\u003eIf the output band name isn't provided, it defaults to the metadata property name.\u003c/p\u003e\n"]]],[],null,["# ee.Image.metadata\n\nGenerates a constant image of type double from a metadata property.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------|---------|\n| Image.metadata`(property, `*name*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|-----------------------|-----------------------------------------------------------------------------------------|\n| this: `image` | Image | The image from which to get the metadata |\n| `property` | String | The property from which to take the value. |\n| `name` | String, default: null | The name for the output band. If unspecified, it will be the same as the property name. |"]]