[GRASS-git] [OSGeo/grass-addons] ab82b8: v.maxent.swd: bug fixes and new option to export e...

Paulo van Breugel noreply at github.com
Sun Jan 14 02:02:47 PST 2024


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: ab82b89d91062693d57018d4bdfc11deac790801
      https://github.com/OSGeo/grass-addons/commit/ab82b89d91062693d57018d4bdfc11deac790801
  Author: Paulo van Breugel <paulo at ecodiv.earth>
  Date:   2024-01-14 (Sun, 14 Jan 2024)

  Changed paths:
    M src/vector/v.maxent.swd/v.maxent.swd.html
    M src/vector/v.maxent.swd/v.maxent.swd.py

  Log Message:
  -----------
  v.maxent.swd: bug fixes and new option to export explanatory raster layers (#1009)

v.maxent.swd: bug fixes and new option

* 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.
* Extra check if species column exists
* Update manual page
* Add test if env layers are exported
* 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.
* when exporting swd file, also export a proj. file with the crs info.

---------

Co-authored-by: Stefan Blumentrath <stefan.blumentrath at gmx.de>
Co-authored-by: Markus Neteler <neteler at osgeo.org>




More information about the grass-commit mailing list