ee.data.createFolder
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างโฟลเดอร์ชิ้นงาน
แสดงคำอธิบายของโฟลเดอร์ที่สร้างขึ้นใหม่
การใช้งาน | การคืนสินค้า |
---|
ee.data.createFolder(path, force, callback) | วัตถุ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
path | สตริง | เส้นทางของโฟลเดอร์ที่จะสร้าง |
force | บูลีน ไม่บังคับ | บังคับเขียนทับ |
callback | ฟังก์ชัน (ไม่บังคับ) | การเรียกกลับที่ไม่บังคับ หากไม่ได้ระบุไว้ ระบบจะโทรแบบพร้อมกัน |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]