PySAGA-cmd is a Python package that can be used to run SAGA GIS tools. It does so by passing command-line arguments to the saga_cmd executable.

The repository can be found here.

Video tutorials:

https://youtu.be/1jH23CsRhmg

https://youtu.be/WRaipnTD9S4

In order to use the package, you need to have SAGA GIS installed somewhere on your computer and you need to know the location of the saga_cmd file. The saga_cmd file can be usually be found in the following directories:

Windows:

  • C:/Program Files/SAGA
  • C:/Program Files/SAGA-GIS
  • C:/Program Files (x86)/SAGA-GIS
  • C:/SAGA-GIS
  • C:/OSGeo4W
  • C:/OSGeo4W64

Linux:

  • /usr

MacOS:

  • /Applications/SAGA.app/Contents/MacOS
  • /usr/local/bin
  • /Applications/QGIS.app/Contents/MacOS/bin

 Below you can find the links to two notebook examples that explain how to use the PySAGA-cmd library.

Some more examples:

0 comments

There are no comments for this post.

Make a new comment