datacube.utils.geometry.gbox.GeoboxTiles¶
- class datacube.utils.geometry.gbox.GeoboxTiles(box, tile_shape)[source]¶
Partition GeoBox into sub geoboxes
Construct from a
GeoBox- Parameters
box (
GeoBox) – sourcedatacube.utils.geometry.GeoBoxtile_shape (
Tuple[int,int]) – Shape of sub-tiles in pixels (rows, cols)
Methods
__init__(box, tile_shape)chunk_shape(idx)Chunk shape for a given chunk index.
range_from_bbox(bbox)Compute rows and columns overlapping with a given
BoundingBoxtiles(polygon)Return tile indexes overlapping with a given geometry.
Attributes
baseNumber of tiles along each dimension
Methods:
chunk_shape(idx)Chunk shape for a given chunk index.
range_from_bbox(bbox)Compute rows and columns overlapping with a given
BoundingBoxtiles(polygon)Return tile indexes overlapping with a given geometry.
Attributes:
Number of tiles along each dimension
- property shape¶
Number of tiles along each dimension