Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
Stay organized with collections
Save and categorize content based on your preferences.
Returns a collection of features that cover this geometry, where each feature is a rectangle in the grid defined by the given projection.
Usage
Returns
Geometry.coveringGrid(proj, scale)
FeatureCollection
Argument
Type
Details
this: geometry
Geometry
The result is the grid cells that intersect with this region.
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.
scale
Float, default: null
Overrides the scale of the projection, if provided. May be required if the projection isn't already scaled.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-13 UTC."],[[["Returns a FeatureCollection representing a grid that covers the input Geometry."],["The grid is defined by the provided Projection and an optional scale parameter."],["Each feature in the collection is a rectangle within the grid that intersects with the input Geometry."],["If the Projection is scaled in meters, grid cells are aligned to integer positions at the true scale point."],["A scale parameter can override the Projection's inherent scale if necessary."]]],["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 each cell represented as a feature. The grid's scale is determined by the projection, or overridden by an optional `scale` argument. The function returns cells where their corners are located at integer-valued positions within the specified `Projection`.\n"]]