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:
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:
6 comments
Comment 1 by TestUser on March 28, 2025, 2:56 a.m.ELe BAEABP fFVz aQcz
Comment 2 by TestUser on March 28, 2025, 2:56 a.m.ELe BAEABP fFVz aQcz
Comment 3 by TestUser on March 28, 2025, 2:56 a.m.ELe BAEABP fFVz aQcz
Comment 4 by Alice on March 28, 2025, 6:05 p.m.sbtnXfx YyEUXiPi nhx SdFmzF pyR
Comment 5 by Alice on March 28, 2025, 6:05 p.m.sbtnXfx YyEUXiPi nhx SdFmzF pyR
Comment 6 by Alice on March 28, 2025, 6:05 p.m.sbtnXfx YyEUXiPi nhx SdFmzF pyR