ee.Algorithms.Feature
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.
Trả về một Đối tượng bao gồm hình học và siêu dữ liệu đã cho.
Cách sử dụng | Giá trị trả về |
---|
ee.Algorithms.Feature(geometry, metadata, geometryKey) | Tính năng |
Đối số | Loại | Thông tin chi tiết |
---|
geometry | Hình học, mặc định: null | Hình học của đối tượng. |
metadata | Từ điển, mặc định: {} | Các thuộc tính của đối tượng. |
geometryKey | Chuỗi, mặc định: null | Không còn được dùng nữa; không có tác dụng. |
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\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. |"]]