ee.data.getAsset
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
טעינת מידע על נכס לפי מזהה הנכס.
הפונקציה מחזירה את התוצאות של קריאת הפונקציה, או null אם צוינה פונקציית callback.
שימוש | החזרות |
---|
ee.data.getAsset(id, callback) | אובייקט |
ארגומנט | סוג | פרטים |
---|
id | מחרוזת | הנכס שיש לאחזר. |
callback | פונקציה, אופציונלי | קריאה חוזרת אופציונלית. אם לא מספקים את הערך הזה, השיחה מתבצעת באופן סינכרוני. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eee.data.getAsset()\u003c/code\u003e loads information for an Earth Engine asset using its ID.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns asset details as an object or nothing if a callback function is provided.\u003c/p\u003e\n"],["\u003cp\u003eAn optional callback function can be used for asynchronous execution, otherwise, the call is synchronous.\u003c/p\u003e\n"]]],[],null,["# ee.data.getAsset\n\n\u003cbr /\u003e\n\nLoad info for an asset, given an asset id.\n\n\u003cbr /\u003e\n\nReturns the value call results, or null if a callback is specified.\n\n| Usage | Returns |\n|--------------------------------------|---------|\n| `ee.data.getAsset(id, `*callback*`)` | Object |\n\n| Argument | Type | Details |\n|------------|--------------------|------------------------------------------------------------------------|\n| `id` | String | The asset to be retrieved. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]