datacube.utils.geometry.lonlat_bounds#

datacube.utils.geometry.lonlat_bounds(geom, mode='safe', resolution=None)[source]#

Return the bounding box of a geometry

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

  • mode (str) – safe|quick

  • resolution (float | 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