Earth Engine 推出了
非商业配额层级,以保护共享计算资源并确保为所有人提供可靠的性能。非商业项目默认使用 Community
层级,但您可以随时更改项目的层级。
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
ee.Geometry.Point.coveringGrid
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
返回覆盖相应几何图形的一系列要素,其中每个要素都是由指定投影定义的网格中的一个矩形。
| 用法 | 返回 |
|---|
Point.coveringGrid(proj, scale) | FeatureCollection |
| 参数 | 类型 | 详细信息 |
|---|
此:geometry | 几何图形 | 结果是与相应区域相交的网格单元。 |
proj | 投影 | 用于构建网格的投影。为与“geometry”相交的每个网格单元生成一个特征,其中单元格角位于投影中的整数值位置。如果投影按米缩放,则点将位于真实比例点处相应大小的网格上。 |
scale | 浮点数,默认值:null | 如果提供,则替换投影的缩放比例。如果投影尚未缩放,则可能需要此参数。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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"]]