ee.data.getTableDownloadId
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Download-ID abrufen
Gibt eine Download-ID und ein Token zurück oder „null“, wenn ein Callback angegeben ist.
Nutzung | Ausgabe |
---|
ee.data.getTableDownloadId(params, callback) | DownloadId |
Argument | Typ | Details |
---|
params | Objekt | Ein Objekt mit Optionen zum Herunterladen von Tabellen mit den folgenden möglichen Werten:
table: Die herunterzuladende Sammlung von Features. |
format: Das Downloadformat: CSV, JSON, KML, KMZ oder TF_RECORD. |
selectors: Liste von Selektor-Strings, mit denen festgelegt werden kann, welche Attribute heruntergeladen werden. |
filename: Der Name der Datei, die heruntergeladen wird. |
|
callback | Funktion (optional) | Ein optionaler Callback. Wenn nicht angegeben, erfolgt der Aufruf synchron. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]