-
-
Notifications
You must be signed in to change notification settings - Fork 295
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
allow larger maps in r.terraflow #265
Conversation
|
Unfortunately, also memory seems to be Limited by some sort of type definition. If I allocate a lot of the sytem memory (100GB) on a large map, so out-of-memory computation is still necessary, I get the following error message: |
|
Slightly off topic:
For co-authors, I suggest using Co-authored-by at the end of the commit message: I think empty line (i.e., two new lines) is necessary and sufficient (GitHub documentation is little confusing there, but the generally that's what's accepted). |
|
According to cppreference.com, |
|
dimension_type has been changed in this PR from short to int, but this is only part of the solution. In order to support large maps, all instances where rows * cols is computed must cast to long, or better some portable 64 integer type. I guess I overlooked an instance where rows * cols is computed, I will check again. |
(added to https://trac.osgeo.org/grass/wiki/HowToGit#Citingco-authorsinagitcommitmessage ) |
|
Desired functionality is also available in r.hydrodem, which is able to handle large rasters. The question is how to proceed with this PR. In either case we should close the related trac ticket... |
|
Memory in r.terraflow is limited to 32 GB? Interesting. This must come from the GRASS iostream library and would also affect r.viewshed. We do not have an alternative for r.viewshed, therefore the memory limit should be fixed. |
@ninsbl will you merge this PR? |
Replaces #31
patch with a fix provided by @metzm