Объявление : Все некоммерческие проекты, зарегистрированные для использования Earth Engine до
15 апреля 2025 года, должны
подтвердить некоммерческое право на сохранение доступа к Earth Engine.
ee.Geometry.BBox.coveringGrid
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Возвращает коллекцию объектов, покрывающих данную геометрию, где каждый объект представляет собой прямоугольник в сетке, определяемой заданной проекцией.
Использование | Возврат | BBox. coveringGrid (proj, scale ) | FeatureCollection |
Аргумент | Тип | Подробности | это: geometry | Геометрия | Результатом являются ячейки сетки, пересекающиеся с этой областью. |
proj | Проекция | Проекция, в которой строится сетка. Для каждой ячейки сетки, пересекающей «геометрию», генерируется элемент, углы которого находятся в целочисленных координатах проекции. Если масштаб проекции задан в метрах, точки будут располагаться на сетке этого размера в точке истинного масштаба. |
scale | Плавающий, по умолчанию: null | Переопределяет масштаб проекции, если он указан. Может потребоваться, если проекция ещё не масштабирована. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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. |"]]