公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.data.createFolder
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
创建素材资源文件夹。
返回新创建的文件夹的说明。
用法 | 返回 |
---|
ee.data.createFolder(path, force, callback) | 对象 |
参数 | 类型 | 详细信息 |
---|
path | 字符串 | 要创建的文件夹的路径。 |
force | 布尔值,可选 | 强制覆盖。 |
callback | 函数(可选) | 可选的回调。如果未提供,则以同步方式进行调用。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]