odc.geo.geobox.GeoBox.zoom_to

GeoBox.zoom_to(shape=None, *, resolution=None)[source]

Change GeoBox shape.

When supplied a single integer scale longest dimension to match that.

Return type:

GeoBox

Returns:

GeoBox covering the same region but with different number of pixels and therefore resolution.