-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::length_error exception when running on 9GB DEM raster dataset #12
Comments
What compiler and version of said compiler are you using? |
I acquired your data set, but was unable to reproduce the problem: I'm currently zooming around the GeoTIFF output in QGIS and things look fine. You might, on your end, try compiling with debug symbols:
And then running in GDB:
Inside the debugger use:
The program will halt on the length error. Then type:
to get the backtrace and provide that here. |
$ gcc --version |
Unfortunately
|
Yeah, that stacktrace is not being particularly helpful, unfortunately. Additional questions:
|
In related news, I compiled this on a portable Mint x86 distro on my desktop computer and it worked flawlessly. I'm fairly confident that this was a compiler issue given the |
I'm glad you got it working, and that it was useful to you :-) |
I'm trying to extract a statewide DEM from here: ftp://ftp.gis.oregon.gov/elevation/DEM/Statewide_Filegeodatabase/OR_DEM_10M.gdb/
I've attached the full log but the relevant part is here:
I realize that that's a nearly 13GB allocation and would likely have failed with a bad_alloc like #6 but it seems odd to me that it would throw a
length_error
before that? Given that this software is for the GIS discipline it should be able to handle any size of data thrown at it unless the physical limits of the machine are incapable of processing it.Might also be unrelated but I had to add a
#include <array>
inarc_raster_rescue.hpp
to get this to compile as there were two uses ofstd::array
without ever actually defining it.ARR_failure_log.txt
The text was updated successfully, but these errors were encountered: