datacube.utils.geometry.gbox.GeoboxTiles#
- class datacube.utils.geometry.gbox.GeoboxTiles(box, tile_shape)[source]#
Partition a GeoBox into sub geoboxes
Construct from a
GeoBox
.- Parameters:
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
BoundingBox
tiles
(polygon)Return tile indexes overlapping the polygon
Attributes
- range_from_bbox(bbox)[source]#
Compute rows and columns overlapping with a given
BoundingBox
- property shape#
Number of tiles along each dimension