ee.Geometry.fromS2CellId
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างรูปหลายเหลี่ยมที่สอดคล้องกับรหัสเซลล์ S2
การใช้งาน | การคืนสินค้า |
---|
ee.Geometry.fromS2CellId(cellId) | เรขาคณิต |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
cellId | ยาว | รหัสเซลล์ S2 เป็นจำนวนเต็ม 64 บิต จาก JavaScript ซึ่งไม่รองรับจำนวนเต็มที่ใหญ่กว่า 53 บิต ให้ใช้ fromS2CellToken แทน |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eConstructs an Earth Engine Geometry object representing the Polygon corresponding to a given S2 cell id.\u003c/p\u003e\n"],["\u003cp\u003eAccepts the S2 cell id as a 64-bit integer input.\u003c/p\u003e\n"],["\u003cp\u003eFor JavaScript users, due to integer limitations, it is recommended to use \u003ccode\u003efromS2CellToken\u003c/code\u003e instead when dealing with cell ids exceeding 53 bits.\u003c/p\u003e\n"]]],[],null,["# ee.Geometry.fromS2CellId\n\nConstructs the Polygon corresponding to an S2 cell id.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------|----------|\n| `ee.Geometry.fromS2CellId(cellId)` | Geometry |\n\n| Argument | Type | Details |\n|----------|------|--------------------------------------------------------------------------------------------------------------------------------------|\n| `cellId` | Long | The S2 cell id as 64 bit integer. From Javascript, which does not support integers larger than 53 bits, use fromS2CellToken instead. |"]]