add raster functionality to transform_bbox