公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Geometry.MultiPolygon.coveringGrid
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
傳回涵蓋這個幾何圖形的特徵集合,其中每個特徵都是指定投影所定義格線中的矩形。
用量 | 傳回 |
---|
MultiPolygon.coveringGrid(proj, scale) | FeatureCollection |
引數 | 類型 | 詳細資料 |
---|
這個:geometry | 幾何圖形 | 結果是與這個區域相交的格線儲存格。 |
proj | 預測值 | 要建構格線的投影。系統會為每個與「geometry」相交的格線儲存格產生特徵,其中儲存格的角落位於投影中的整數值位置。如果投影是以公尺為單位縮放,點會位於真實比例的該大小格線。 |
scale | 浮點值,預設值為空值 | 覆寫投影的比例 (如有)。如果投影尚未縮放,可能需要此屬性。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]