Get BoundingBox from pyotb.otbObject
e.g.
sc = scenes.spot.Spot67Scene(...)
xs = sc.get_imagery().get_xs()
roi = xs [2000:3000, 5000:6000, :]
bbox = raster.get_bbox_wgs84(roi)
La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous invitons à y créer vos nouveaux projets.
e.g.
sc = scenes.spot.Spot67Scene(...)
xs = sc.get_imagery().get_xs()
roi = xs [2000:3000, 5000:6000, :]
bbox = raster.get_bbox_wgs84(roi)