-
Notifications
You must be signed in to change notification settings - Fork 160
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
v.maxent.swd: bug fixes and new option to export explanatory raster layers #1009
Conversation
ecodiv
commented
Jan 5, 2024
- Bug fixes
- Added option to export the raster layers used as input in the creation of the SWD file. This can be used in Maxent as projection layers.
- Bug fixes - Added option to export the raster layers used as input in the creation of the SWD file. This can be used in Maxent as projection layers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In principle this looks good!. I have not tested though.
Feel free to disregard suggestions where you would disagree.
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Updates based on suggestions from @ninsbl
Hi @ninsbl, first, thanks for the suggestions. I followed up on all your suggestions, I think, but merging is still blocked. Do you know what else I need to do to go ahead? |
@wenzeslaus could we have automerge enabled here too? It could’ve been used here |
Co-authored-by: Markus Neteler <neteler@osgeo.org>
Maxent only accepts raster cells with equal ns and ew resolution. Added code that checks the region setting, and gives a fatal message if ns resolution is not ew resolution. Optionally, the user can set the -e flag. This will automatically adjust the resolution of the largest side to match that of the smallest side.
I plan to use this proj. file in r.maxent.train to check if the crs of the data used for the training matches that of the current mapset. If not, this proj. file will make it possible to import the output of r.maxent.train with reprojection (with warning). I can still have r.maxent.train issue a warning if there is no proj file, and let the user explicitly use the -o flag to override the projection check.