odc.geo.geobox.GeoBox.enclosing

GeoBox.enclosing(region)[source]

Construct compatible geobox covering given region.

Output GeoBox shares exactly the same pixel grid as source, but has different shape and location in the world.

Parameters:

region (Union[Geometry, BoundingBox]) – Region to be covered by the new GeoBox.

Return type:

GeoBox