ee.Image.getInfo
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
פונקציה מצווה שמחזירה מידע על התמונה הזו באמצעות קריאת AJAX.
מחזירה תיאור של התמונה. כולל:
- bands – רשימה שמכילה מטא-נתונים על הלהקות באוסף.
– properties – מילון שמכיל את מאפייני המטא-נתונים של התמונה.
שימוש | החזרות |
---|
Image.getInfo(callback) | ImageDescription |
ארגומנט | סוג | פרטים |
---|
זה: image | תמונה | מופע התמונה. |
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\u003eImage.getInfo\u003c/code\u003e is an imperative function that retrieves image metadata via an AJAX call, returning an \u003ccode\u003eImageDescription\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eImageDescription\u003c/code\u003e object contains two key elements: \u003ccode\u003ebands\u003c/code\u003e (metadata about image bands) and \u003ccode\u003eproperties\u003c/code\u003e (a dictionary of image metadata properties).\u003c/p\u003e\n"],["\u003cp\u003eThis function can be used synchronously or asynchronously by supplying an optional callback function that handles the results.\u003c/p\u003e\n"]]],[],null,["# ee.Image.getInfo\n\n\u003cbr /\u003e\n\nAn imperative function that returns information about this image via an AJAX call.\n\n\u003cbr /\u003e\n\nReturns a description of the image. Includes:\n\n- bands - a list containing metadata about the bands in the collection.\n\n- properties - a dictionary containing the image's metadata properties.\n\n| Usage | Returns |\n|-------------------------------|------------------|\n| Image.getInfo`(`*callback*`)` | ImageDescription |\n\n| Argument | Type | Details |\n|---------------|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The Image instance. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. If supplied, will be called with the first parameter if successful and the second if unsuccessful. |"]]