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.getNumber
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Estrai una proprietà da una funzionalità.
Utilizzo | Resi |
---|
Feature.getNumber(property) | Numero |
Argomento | Tipo | Dettagli |
---|
questo: object | Elemento | La funzionalità da cui estrarre la proprietà. |
property | Stringa | La proprietà da estrarre. |
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\u003eThe \u003ccode\u003eFeature.getNumber()\u003c/code\u003e method extracts a numerical property from a given feature.\u003c/p\u003e\n"],["\u003cp\u003eThis method requires the feature object and the name of the property as input, returning the numerical value of that property.\u003c/p\u003e\n"]]],["This function extracts a property from a feature object. It utilizes the `Feature.getNumber(property)` method, returning a Number. The function takes two arguments: `this`, representing the feature object (of type Element) from which to extract the data, and `property`, a String specifying the desired property to retrieve. The function retrieves a numeric value associated with the provided property name.\n"],null,["# ee.Feature.getNumber\n\nExtract a property from a feature.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------|---------|\n| Feature.getNumber`(property)` | Number |\n\n| Argument | Type | Details |\n|----------------|---------|-------------------------------------------|\n| this: `object` | Element | The feature to extract the property from. |\n| `property` | String | The property to extract. |"]]