Thông báo: Tất cả dự án phi thương mại đã đăng ký sử dụng Earth Engine trước ngày 15 tháng 4 năm 2025 phải xác minh điều kiện sử dụng phi thương mại để duy trì quyền truy cập vào Earth Engine.
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.
Bạn có thể tạo các đối tượng bằng một trong các đối số sau đây, cộng với một từ điển thuộc tính không bắt buộc:
– Một ee.Geometry.
– Một đối tượng GeoJSON Geometry.
– Một đối tượng GeoJSON.
– Một đối tượng được tính toán: được diễn giải lại dưới dạng một hình học nếu các thuộc tính được chỉ định và dưới dạng một đối tượng nếu các thuộc tính không được chỉ định.
Cách sử dụng
Giá trị trả về
ee.Feature(geometry, properties)
Tính năng
Đối số
Loại
Thông tin chi tiết
geometry
ComputedObject|Feature|Geometry|Object
Một hình học hoặc đối tượng.
properties
Đối tượng, không bắt buộc
Từ điển thuộc tính siêu dữ liệu. Nếu tham số đầu tiên là một Đối tượng (thay vì một hình học), thì tham số này sẽ không được dùng.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["`ee.Feature` objects represent geographic features with geometry and properties, and can be constructed from geometries, GeoJSON, or computed objects."],["Features can have an optional dictionary of properties to store metadata."],["Feature IDs are determined by the `system:index` property, if present, or by the `id` property as a fallback."],["The `ee.Feature` constructor provides a flexible way to create features with or without geometries and associated properties within Earth Engine."],["Simple features can be visualized on a map using `Map.addLayer` and `Map.centerObject` in JavaScript or similar functions in Python using `geemap`."]]],["Features are created using a geometry (ee.Geometry, GeoJSON Geometry, or GeoJSON Feature) or a computed object, along with an optional dictionary of properties. `ee.Feature(geometry, properties)` creates a Feature. The `geometry` argument can be a geometry or another feature. The optional `properties` argument is a metadata dictionary; it's unused if the first argument is already a feature. A feature can be created without a geometry and an `id` or a `system:index` can be set.\n"]]