ee.Algorithms.Feature
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Renvoie une entité composée de la géométrie et des métadonnées fournies.
Utilisation | Renvoie |
---|
ee.Algorithms.Feature(geometry, metadata, geometryKey) | Fonctionnalité |
Argument | Type | Détails |
---|
geometry | Géométrie, valeur par défaut : null | Géométrie de l'entité. |
metadata | Dictionnaire, par défaut : {} | Propriétés de la fonctionnalité. |
geometryKey | Chaîne, valeur par défaut : null | Obsolète, n'a aucun effet. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 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. |"]]