odc.geo.geobox.GeoboxTiles

class odc.geo.geobox.GeoboxTiles(box, tile_shape, *, _tiles=None)[source]

Partition GeoBox into sub geoboxes.

__init__(box, tile_shape, *, _tiles=None)[source]

Construct from a GeoBox.

Parameters:

Methods

__init__(box, tile_shape, *[, _tiles])

Construct from a GeoBox.

chunk_shape(idx)

Query chunk shape for a given chunk.

clip(selection)

Crop to a set of tiles.

grid_intersect(src)

Figure out tile to tile overlap graph between two grids.

pix_bbox(idx)

BoundingBox in pixel space of a given tile.

range_from_bbox(bbox)

Intersect with a bounding box.

tiles(query)

Return tile indexes overlapping with a given geometry.

Attributes

base

Access base Geobox

chunks

crop

roi

Access ROI covered by tile.

shape

Number of tiles along each dimension.