אנחנו משיקים ב-Earth Engine
רמות מכסה לשימוש לא מסחרי כדי להגן על משאבי מחשוב משותפים ולהבטיח ביצועים אמינים לכולם. כל הפרויקטים הלא מסחריים יצטרכו לבחור רמת מכסת שימוש עד
27 באפריל 2026, אחרת הם ישתמשו ברמת הקהילה כברירת מחדל. המיכסות לפי רמה ייכנסו לתוקף בכל הפרויקטים (ללא קשר לתאריך הבחירה של הרמה) ב-
27 באפריל 2026.
מידע נוסף
ee.List
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יוצר רשימה חדשה.
| שימוש | החזרות |
|---|
ee.List(list) | רשימה |
| ארגומנט | סוג | פרטים |
|---|
list | List[Object]|Object | רשימה או אובייקט מחושב. |
דוגמאות
Code Editor (JavaScript)
print(ee.List([])); // []
print(ee.List([null])); // [null]
print(ee.List([true])); // [true]
print(ee.List([1])); // [1]
print(ee.List([ee.Number(1)])); // [1]
print(ee.List(['a'])); // ["a"]
print(ee.List([[]])); // [[]]
print(ee.List([ee.List([])])); // [[]]
print(ee.List([[], [[]], [1, [], 'a']])); // [[],[[]],[1,[],"a"]]
הגדרה של Python
בדף סביבת Python מפורט מידע על Python API ועל השימוש ב-geemap לפיתוח אינטראקטיבי.
import ee
import geemap.core as geemap
Colab (Python)
display(ee.List([])) # []
display(ee.List([None])) # [None]
display(ee.List([True])) # [True]
display(ee.List([1])) # [1]
display(ee.List([ee.Number(1)])) # [1]
display(ee.List(['a'])) # ['a']
display(ee.List([[]])) # [[]]
display(ee.List([ee.List([])])) # [[]]
display(ee.List([[], [[]], [1, [], 'a']])) # [[], [[]], [1, [], 'a']]
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-01-08 (שעון UTC).
[null,null,["עדכון אחרון: 2026-01-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"]]