ee.data.getTableDownloadId
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
קבלת מזהה הורדה.
הפונקציה מחזירה מזהה וטוקן של הורדה, או null אם מציינים פונקציית קריאה חוזרת.
שימוש | החזרות |
---|
ee.data.getTableDownloadId(params, callback) | DownloadId |
ארגומנט | סוג | פרטים |
---|
params | אובייקט | אובייקט שמכיל אפשרויות להורדת טבלה עם הערכים האפשריים הבאים:
table: אוסף התכונות להורדה. |
format: פורמט ההורדה: CSV, JSON, KML, KMZ או TF_RECORD. |
selectors: רשימה של מחרוזות של בוררים שאפשר להשתמש בהם כדי לקבוע אילו מאפיינים יורדו. |
filename: השם של הקובץ שיוורד. |
|
callback | פונקציה, אופציונלי | קריאה חוזרת אופציונלית. אם לא מספקים את הערך הזה, השיחה מתבצעת באופן סינכרוני. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThis function retrieves a download ID and token for initiating a table download.\u003c/p\u003e\n"],["\u003cp\u003eUsers need to provide parameters including table, format, selectors, and filename for the download.\u003c/p\u003e\n"],["\u003cp\u003eAn optional callback function can be included for asynchronous execution; otherwise, the call is synchronous.\u003c/p\u003e\n"]]],[],null,["# ee.data.getTableDownloadId\n\n\u003cbr /\u003e\n\nGet a download ID.\n\n\u003cbr /\u003e\n\nReturns a download id and token, or null if a callback is specified.\n\n| Usage | Returns |\n|----------------------------------------------------|------------|\n| `ee.data.getTableDownloadId(params, `*callback*`)` | DownloadId |\n\n| Argument | Type | Details |\n|------------|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `params` | Object | An object containing table download options with the following possible values: |----------------------------------------------------------------------------------------------------------------| | ` table: ` The feature collection to download. | | ` format: ` The download format, CSV, JSON, KML, KMZ or TF_RECORD. | | ` selectors: ` List of strings of selectors that can be used to determine which attributes will be downloaded. | | ` filename: ` The name of the file that will be downloaded. | |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]