odc.geo.gridspec.GridSpec.tiles
- GridSpec.tiles(bounds, geobox_cache=None)[source]
Query tiles overlapping with bounding box.
Output is a sequence of
tile_index,odc.geo.geobox.GeoBoxtuples.Note
Grid cells are referenced by coordinates
(x, y), which is the opposite to the usual CRS dimension order.- Parameters:
bounds (
BoundingBox) – Boundary coordinates of the required gridgeobox_cache (
Optional[dict]) – Optional cache to re-use geoboxes instead of creating new one each time
- Return type:
- Returns:
Iterator of tuples of grid index and corresponding
odc.geo.geobox.GeoBox