ee.Geometry.BBox.coveringGrid
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Gibt eine Sammlung von Features zurück, die diese Geometrie abdecken. Jedes Feature ist ein Rechteck im Raster, das durch die angegebene Projektion definiert wird.
Nutzung | Ausgabe |
---|
BBox.coveringGrid(proj, scale) | FeatureCollection |
Argument | Typ | Details |
---|
So gehts: geometry | Geometrie | Das Ergebnis sind die Rasterzellen, die sich mit dieser Region überschneiden. |
proj | Projektion | Die Projektion, in der das Raster erstellt werden soll. Für jede Rasterzelle, die sich mit „geometry“ überschneidet, wird ein Merkmal generiert. Die Zellenecken befinden sich an ganzzahligen Positionen in der Projektion. Wenn die Projektion in Metern skaliert wird, befinden sich die Punkte am Punkt der tatsächlichen Skalierung auf einem Raster dieser Größe. |
scale | Gleitkommazahl, Standardwert: null | Überschreibt die Skalierung der Projektion, sofern angegeben. Möglicherweise erforderlich, wenn die Projektion noch nicht skaliert ist. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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 feature in the collection represents a grid cell intersecting the input geometry.\u003c/p\u003e\n"],["\u003cp\u003eThe projection's scale determines the size of the grid cells, or it can be overridden with the \u003ccode\u003escale\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],["The `BBox.coveringGrid` function generates a `FeatureCollection` of rectangular grid cells that intersect a given geometry. It requires a `Geometry` and a `Projection` to define the grid. Each grid cell is represented as a feature. An optional `scale` argument overrides the projection's scale. The function returns grid cells intersecting the geometry, with cell corners at integer-valued positions in the defined projection. The projection's scale determines the grid's size if it is in meters.\n"],null,["# ee.Geometry.BBox.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| BBox.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. |"]]