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.getGeometry
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Devuelve la geometría en la posición especificada en la lista. Un índice negativo cuenta hacia atrás desde el final de la lista. Si el valor no es una geometría, se producirá un error.
Uso | Muestra |
---|
List.getGeometry(index) | Geometría |
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\u003eThis function retrieves a specific geometry from a list based on its position (index).\u003c/p\u003e\n"],["\u003cp\u003eUsing a negative index allows accessing geometries from the end of the list.\u003c/p\u003e\n"],["\u003cp\u003eAn error will be raised if the specified index doesn't contain a geometry.\u003c/p\u003e\n"]]],["Retrieves a specific geometry from a list using its index. The `index` can be a positive or negative integer, with negative values counting from the end of the list. It takes a list as input and requires an `index` argument. If the element at the specified index is a geometry, it is returned; otherwise, an error occurs. The method returns a `Geometry` object.\n"],null,["# ee.List.getGeometry\n\nReturns the geometry at the specified position in list. A negative index counts backwards from the end of the list. If the value is not a geometry, an error will occur.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------|----------|\n| List.getGeometry`(index)` | Geometry |\n\n| Argument | Type | Details |\n|--------------|---------|---------|\n| this: `list` | List | |\n| `index` | Integer | |"]]