ee.Algorithms.Feature
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."],[[["Creates a Feature, a fundamental geographical data structure in Earth Engine, which stores a geometry and properties."],["Requires a geometry (like a point, line, or polygon) and optional metadata for describing the feature."],["`geometryKey` parameter is outdated and no longer functions, so focus on defining the geometry and metadata for your features."]]],["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"]]