Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso a Earth Engine.
ee.Feature.getNumber
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Extrae una propiedad de un atributo.
Uso | Muestra |
---|
Feature.getNumber(property) | Número |
Argumento | Tipo | Detalles |
---|
esta: object | Elemento | Es la entidad de la que se extraerá la propiedad. |
property | String | Es la propiedad que se extraerá. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 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. |"]]