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.List.getArray
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Devuelve el array en la posición especificada de la lista. Un índice negativo cuenta hacia atrás desde el final de la lista. Si el valor no es un array, se producirá un error.
Uso | Muestra |
---|
List.getArray(index) | Array |
Argumento | Tipo | Detalles |
---|
esta: list | Lista | |
index | Número entero | |
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\u003eList.getArray()\u003c/code\u003e function retrieves the array located at a specific position (index) within a list.\u003c/p\u003e\n"],["\u003cp\u003eNegative index values can be used to access arrays by counting backward from the end of the list.\u003c/p\u003e\n"],["\u003cp\u003eAn error will be thrown if the value at the specified index is not an array.\u003c/p\u003e\n"],["\u003cp\u003eThe function requires a list and an integer representing the index as input.\u003c/p\u003e\n"],["\u003cp\u003eThe output of the function is the array found at the specified index within the list.\u003c/p\u003e\n"]]],[],null,["# ee.List.getArray\n\nReturns the array at the specified position in list. A negative index counts backwards from the end of the list. If the value is not a array, an error will occur.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| List.getArray`(index)` | Array |\n\n| Argument | Type | Details |\n|--------------|---------|---------|\n| this: `list` | List | |\n| `index` | Integer | |"]]