-
-
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
r.slope.aspect with -n flag giving aspect of flat areas as -9998 #319
Comments
Closed
|
Hi @metzm It's fixed now! Thank you very much! The #320 part will be fixed after the merge. -e and -n flags are now used also in QGIS Processing Framework: qgis/QGIS#34087 |
|
Done, merged to 78 as well. |
|
Awesome @petrasovaa ! Thank you very much! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
r.slope.aspect with the "new" -n flag is giving aspect values of flat areas as -9998, instead of -9999, when the precision choosed is CELL, and the output data type is CELL.
I've tested with GRASS 7.6 (on Linux) and GRASS 7.8.2 (on Windows), both in the GUI and CLI.
Using the default precision as FCELL, all goes ok:
The elevation map I'm using is this one:
https://www.fc.up.pt/pessoas/jagoncal/srtm/SRTM_PT_25m.tif
As CELL is a 32 bit integer with a range from -2,147,483,647 to +2,147,483,647, -9999 should be fine to conform inside it.
Another issue I see is in r.info, that is showing the title as
| Title: Aspect counterclockwise in degrees from eastwhich is not correct in this case, as the -n flag was used.
Should I fill another ticket for this issue?
Thanks!
The text was updated successfully, but these errors were encountered: