Anúncio: todos os projetos não comerciais registrados para usar o Earth Engine antes de
15 de abril de 2025 precisam
verificar a qualificação não comercial para manter o acesso ao Earth Engine.
ee.Geometry.BBox.coveringGrid
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Retorna uma coleção de recursos que abrangem essa geometria, em que cada recurso é um retângulo na grade definida pela projeção especificada.
Uso | Retorna |
---|
BBox.coveringGrid(proj, scale) | FeatureCollection |
Argumento | Tipo | Detalhes |
---|
isso: geometry | Geometria | O resultado são as células da grade que se cruzam com essa região. |
proj | Projeção | A projeção em que a grade será construída. Um atributo é gerado para cada célula da grade que cruza "geometry", em que os cantos da célula estão em posições de valor inteiro na projeção. Se a projeção for dimensionada em metros, os pontos estarão em uma grade desse tamanho no ponto de escala real. |
scale | Ponto flutuante, padrão: nulo | Substitui a escala da projeção, se fornecida. Pode ser necessário se a projeção ainda não estiver dimensionada. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 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. |"]]