Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del
15 aprile 2025 devono
verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
ee.Feature.toArray
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Crea un array dalle proprietà specificate di un oggetto, che devono essere tutte numeri.
Utilizzo | Resi |
---|
Feature.toArray(properties) | Array |
Argomento | Tipo | Dettagli |
---|
questo: feature | Funzionalità | L'oggetto da cui selezionare le proprietà dell'array. |
properties | Elenco | I selettori di proprietà per ogni elemento dell'array. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eFeature.toArray()\u003c/code\u003e generates a numerical array from specified object properties.\u003c/p\u003e\n"],["\u003cp\u003eThe function requires a Feature object and a list of property selectors as input.\u003c/p\u003e\n"],["\u003cp\u003eAll selected properties of the object must contain numerical values for array creation.\u003c/p\u003e\n"]]],["Transforms an object into an array of numbers. The `toArray` method, accessed via a `Feature` object, accepts a list of `properties`. These properties, all numerical, are extracted from the `Feature` object and arranged into an array. Each property selector in the list corresponds to an element in the resulting array. The method returns an `Array` containing the selected numerical values.\n"],null,["# ee.Feature.toArray\n\nCreates an array from the given properties of an object, which must all be numbers.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------|---------|\n| Feature.toArray`(properties)` | Array |\n\n| Argument | Type | Details |\n|-----------------|---------|---------------------------------------------------|\n| this: `feature` | Feature | The object from which to select array properties. |\n| `properties` | List | The property selectors for each array element. |"]]