ee.data.createFolder
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tworzy folder komponentów.
Zwraca opis nowo utworzonego folderu.
Wykorzystanie | Zwroty |
---|
ee.data.createFolder(path, force, callback) | Obiekt |
Argument | Typ | Szczegóły |
---|
path | Ciąg znaków | Ścieżka folderu do utworzenia. |
force | Wartość logiczna, opcjonalna | Wymuś zastąpienie. |
callback | Funkcja (opcjonalnie) | opcjonalne wywołanie zwrotne. Jeśli nie zostanie podany, wywołanie zostanie wykonane synchronicznie. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eCreates a new folder for storing assets within Google Earth Engine.\u003c/p\u003e\n"],["\u003cp\u003eReturns a description object containing information about the newly created folder.\u003c/p\u003e\n"],["\u003cp\u003eAccepts the folder path as a required argument and optional parameters for force overwriting and a callback function.\u003c/p\u003e\n"]]],["Creates a new asset folder at the specified `path`. The `path` argument is required and defines the folder's location. An optional `force` argument, a boolean, allows overwriting existing folders. An optional `callback` function allows for asynchronous operation. The function returns an Object describing the newly created folder. The operation can be synchronous if no callback is provided.\n"],null,["# ee.data.createFolder\n\n\u003cbr /\u003e\n\nCreates an asset folder.\n\n\u003cbr /\u003e\n\nReturns a description of the newly created folder.\n\n| Usage | Returns |\n|--------------------------------------------------------|---------|\n| `ee.data.createFolder(path, `*force* `, `*callback*`)` | Object |\n\n| Argument | Type | Details |\n|------------|--------------------|------------------------------------------------------------------------|\n| `path` | String | The path of the folder to create. |\n| `force` | Boolean, optional | Force overwrite. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]