Multiple Band Confusion #629
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Thanks @rrowlands for the report This is definitely a bug but not in titiler. if we look at the It looks as expected. But when doing a The difference between the Preview with and without reprojectionwe can confirm this by applying a reprojection with the preview WarpedVRT issueNext StepsTry to reproduce the issue with GDAL to determine if it's in rasterio or GDAL 🙏 |
Beta Was this translation helpful? Give feedback.
-
GDAL WarpedVRT seems fine, but we should verify using python GDAL 🤷 I think the next steps would be to open an issue in rasterio with a minimal reproducible example |
Beta Was this translation helpful? Give feedback.
-
Thanks @vincentsarago! This is very helpful. We'll dig in further and see what we find. |
Beta Was this translation helpful? Give feedback.
alright I think I have a good idea of what's going on.
There is a bug in rasterio in https://github.com/rasterio/rasterio/blob/d008e8aab38afd5d14d98499847754bd0eeaa501/rasterio/_warp.pyx#L978-L979
I'll open a ticket there and try to submit a PR