ee.Geometry.MultiPolygon.coveringGrid
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลคอลเล็กชันของฟีเจอร์ที่ครอบคลุมเรขาคณิตนี้ โดยแต่ละฟีเจอร์จะเป็นสี่เหลี่ยมผืนผ้าในตารางกริดที่กำหนดโดยการฉายภาพที่ระบุ
การใช้งาน | การคืนสินค้า |
---|
MultiPolygon.coveringGrid(proj, scale) | FeatureCollection |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ geometry | เรขาคณิต | ผลลัพธ์คือเซลล์กริดที่ตัดกับภูมิภาคนี้ |
proj | การฉายภาพ | การฉายภาพที่จะสร้างตารางกริด ระบบจะสร้างฟีเจอร์สำหรับแต่ละเซลล์กริดที่ตัดกับ "geometry" โดยที่มุมของเซลล์จะอยู่ที่ตำแหน่งที่มีค่าจำนวนเต็มในการฉาย หากมีการปรับขนาดการฉายภาพเป็นเมตร จุดต่างๆ จะอยู่บนตารางกริดที่มีขนาดดังกล่าว ณ จุดที่มีการปรับขนาดจริง |
scale | ลอย ค่าเริ่มต้น: null | ลบล้างสเกลของการฉายภาพ หากระบุไว้ อาจต้องระบุหากยังไม่ได้ปรับขนาดการฉาย |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eReturns a FeatureCollection of rectangular grid cells covering the input geometry.\u003c/p\u003e\n"],["\u003cp\u003eThe grid is defined by the provided projection and an optional scale parameter.\u003c/p\u003e\n"],["\u003cp\u003eEach grid cell in the FeatureCollection represents an intersection with the input geometry.\u003c/p\u003e\n"],["\u003cp\u003eThe scale parameter can override the projection's inherent scale if necessary for grid construction.\u003c/p\u003e\n"]]],[],null,["# ee.Geometry.MultiPolygon.coveringGrid\n\nReturns a collection of features that cover this geometry, where each feature is a rectangle in the grid defined by the given projection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------|-------------------|\n| MultiPolygon.coveringGrid`(proj, `*scale*`)` | FeatureCollection |\n\n| Argument | Type | Details |\n|------------------|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `geometry` | Geometry | The result is the grid cells that intersect with this region. |\n| `proj` | Projection | The projection in which to construct the grid. A feature is generated for each grid cell that intersects 'geometry', where cell corners are at integer-valued positions in the projection. If the projection is scaled in meters, the points will be on a grid of that size at the point of true scale. |\n| `scale` | Float, default: null | Overrides the scale of the projection, if provided. May be required if the projection isn't already scaled. |"]]