公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Geometry.Point.coveringGrid
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
傳回涵蓋這個幾何圖形的特徵集合,其中每個特徵都是指定投影所定義格線中的矩形。
用量 | 傳回 |
---|
Point.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 (世界標準時間)。"],[],["The `coveringGrid` function generates a `FeatureCollection` of rectangular grid cells that intersect a given `Geometry`. It uses a specified `Projection` to define the grid, with cell corners at integer-valued positions. An optional `scale` argument can override the projection's scale. The function identifies and returns features for each grid cell intersecting the input geometry within the defined projection. Each generated feature represents one rectangle cell of the grid.\n"],null,[]]