Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Algorithms.Feature
Stay organized with collections
Save and categorize content based on your preferences.
Returns a Feature composed of the given geometry and metadata.
Usage | Returns | ee.Algorithms.Feature(geometry, metadata, geometryKey) | Feature |
Argument | Type | Details | geometry | Geometry, default: null | The geometry of the feature. |
metadata | Dictionary, default: {} | The properties of the feature. |
geometryKey | String, default: null | Obsolete; has no effect. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 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. |"]]