Closed djpetti closed 3 years ago
Thanks for your report and suggestions. You are right about the inherent limitation in OpenCV, and the workaround I proposed was that GRID will now resize the image to less than 32767 rows/columns before proceeding to the next step, using cv.resize().
Please upgrade GRID to 1.2.16 and see if your issue is gone. Thank you.
James
Thanks, this seems to have fixed the problem.
Describe the bug I'm working with some really big GeoTIFFs in GRID (>500 MB). I can successfully load the file and define the AOI, but when I try to go to the next step, it crashes:
I think this is an inherent limitation in OpenCV, where it can't warp images in which the row/column count doesn't fit in an
int16
. However, I was wondering if there was some way around it, maybe, for instance, usingrasterio
to warp? If not, do you have any recommendations for how to process these files? GRID seems like a great tool, but unfortunately, it's not very useful to us if it can't handle our data.To Reproduce Steps to reproduce the behavior:
Expected behavior It should go to the next step.
Desktop (please complete the following information):