odc.geo.geobox.GeoBox.__mul__

GeoBox.__mul__(transform)[source]

Apply affine transform on pixel side.

X_old_pix = transform * X_new_pix

Parameters

transform (Affine) – Affine matrix mapping from new pixel coordinate space to pixel coordinate space of input geobox.

Return type

GeoBox

Returns

GeoBox of the same pixel shape but covering different region. Pixel coordinates in the output relate to input coordinates via transform.