cogeotiff / rio-tiler

User friendly Rasterio plugin to read raster datasets.
https://cogeotiff.github.io/rio-tiler/
BSD 3-Clause "New" or "Revised" License
502 stars 106 forks source link

remove usage of WarpedVRT? #657

Open vincentsarago opened 9 months ago

vincentsarago commented 9 months ago

Since the creation of rio-tiler we have had multiple issues with WarpedVRT (latest one #654), I think we should try to remove its usage!

With WarpedVRT the reprojection and reading happens at the same time, but in theory we could do the reading from the initial dataset and then reproject using https://github.com/rasterio/rasterio/blob/main/rasterio/warp.py#L161-L165