code: def transform_bbox(bbox, target_crs):
      
      warnings.warn("This function is deprecated, use BBox.transform method instead", DeprecationWarning, stacklevel=2)
  
      return bbox.transform(target_crs)
docs: Maps bbox from current crs to target_crs
  
      :param bbox: bounding box
      :type bbox: geometry.BBox
      :param target_crs: target CRS
      :type target_crs: constants.CRS
      :return: bounding box in target CRS
      :rtype: geometry.BBox