Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
ee.List
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The ee.List(list) function constructs a new list in Earth Engine.
The function takes a list of objects or a computed object as an argument and returns a List.
Examples in both JavaScript and Python demonstrate the usage of ee.List with various data types, including empty lists, null, booleans, numbers, strings, and nested lists.
[null,null,["Last updated 2025-07-08 UTC."],[],["The `ee.List()` function creates a new list object. It accepts a list or computed object as input and returns a `List`. The function can handle various data types within the list, including null, boolean, numbers, strings, and nested lists. Examples demonstrate creating lists with different contents in both JavaScript and Python, showing the structure and content of the newly created lists. The `getInfo()` is needed to retrieve the data in the python examples.\n"]]