odc.geo.geobox.bounding_box_in_pixel_domain
- odc.geo.geobox.bounding_box_in_pixel_domain(geobox, reference, tol=1e-08)[source]
Bounding box of
geoboxin pixel space ofreference.- Return type:
- Returns:
The bounding box of
geoboxwith respect to the pixel grid defined byreferencewhen their coordinate grids are compatible. Two geoboxes are compatible when they have the same CRS, same pixel size and orientation, and are related by whole pixel translation.- Raises:
ValueErrorwhen two geoboxes are not pixel-aligned.