smash.tools.raster_handler.union_bbox#

smash.tools.raster_handler.union_bbox(bbox1, bbox2)[source]#

Function which compute the bounding boxes union of 2 input bbox. It return the working bbox

Parameters:
bbox1: dict containin the first bbox informations
bbox2dict containin the second bbox informations
Returns:
dic containing the bbox union

Examples

dataset=gdal_raster_open(filename) possible_bbox=union_bbox(bbox,bbox_dataset)