stac-vrt icon indicating copy to clipboard operation
stac-vrt copied to clipboard

Check on validity of using bbox as a fallback to proj:bbox

Open TomAugspurger opened this issue 4 years ago • 0 comments

Right now the computation of the output size uses the bboxes from the individual stac items. In the best case scenario, the items have proj:bbox and we use that. But since proj:bbox isn't required, we fall back to the item-level bbox and then reproject it according to the crs. In some testing on NAIP data in Azure, the reprojected bbox isn't really close to the proj:bbox. The 'reproject bbox' route is also a lot slower, though I haven't profiled things.

Maybe we just require proj:bbox?

TomAugspurger avatar Mar 02 '21 15:03 TomAugspurger