odc.geo.geom.lonlat_bounds

odc.geo.geom.lonlat_bounds(geom, mode='safe', resolution=None)[source]

Return the bounding box of a geometry in lon/lat.

Parameters:
  • geom (Geometry) – Geometry in any projection

  • mode (str) – safe|quick

  • resolution (Union[float, Literal['auto'], None]) – If supplied will first segmentize input geometry to have no segment longer than resolution, this increases accuracy at the cost of computation

Return type:

BoundingBox