Closed PostholerCom closed 1 year ago
Hi, @PostholerCom . We solved this with geotiff-read-bbox (except for geotiffs with a rotation). If you find it useful, I encourage you to review https://github.com/GeoTIFF/geotiff-read-bbox/blob/main/index.mjs and https://github.com/DanielJDufour/snap-bbox/blob/main/lib/snap-bbox.js.
Thanks @DanielJDufour I'll take a look at this!
When getting overviews from a COG geotiff using:
tiff.readRasters({ bbox: [bounds._southWest.lng, bounds._southWest.lat,bounds._northEast.lng,bounds._northEast.lat] ,width: dims.x ,height: dims.y }
...how do you get the bounding box of the returned rasters? NOT the bbox of the entire raster.Thanks!