公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Algorithms.Feature
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
傳回由指定幾何圖形和中繼資料組成的 Feature。
用量 | 傳回 |
---|
ee.Algorithms.Feature(geometry, metadata, geometryKey) | 功能 |
引數 | 類型 | 詳細資料 |
---|
geometry | 幾何圖形,預設值:null | 地圖項目的幾何圖形。 |
metadata | 字典,預設值:{} | 功能的屬性。 |
geometryKey | 字串,預設值為空值 | 已過時,不會產生任何作用。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eCreates a Feature, a fundamental geographical data structure in Earth Engine, which stores a geometry and properties.\u003c/p\u003e\n"],["\u003cp\u003eRequires a geometry (like a point, line, or polygon) and optional metadata for describing the feature.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egeometryKey\u003c/code\u003e parameter is outdated and no longer functions, so focus on defining the geometry and metadata for your features.\u003c/p\u003e\n"]]],["Creates a Feature object, which represents a spatial entity with associated data. The function `ee.Algorithms.Feature` accepts a `geometry` (spatial definition) and `metadata` (a dictionary of properties) as input. The `geometry` can be null, and `metadata` defaults to an empty dictionary. An obsolete `geometryKey` parameter is also listed but has no effect. The output is a new Feature object.\n"],null,["# ee.Algorithms.Feature\n\nReturns a Feature composed of the given geometry and metadata.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------------------------|---------|\n| `ee.Algorithms.Feature(`*geometry* `, `*metadata* `, `*geometryKey*`)` | Feature |\n\n| Argument | Type | Details |\n|---------------|-------------------------|--------------------------------|\n| `geometry` | Geometry, default: null | The geometry of the feature. |\n| `metadata` | Dictionary, default: {} | The properties of the feature. |\n| `geometryKey` | String, default: null | Obsolete; has no effect. |"]]