436b3fc518
hybrid, cross-platform GIS software. The heart of SAGA is it's C++ and thus object oriented Application Programming Interface (API), providing data object definitions and computational methods for raster, vector and tabular data. As a normal user, you will not get into touch with the API. But as an interested scientist or coder you will soon discover it's great flexibility. WWW: http://www.saga-gis.org/en/index.html PR: ports/140559 Submitted by: rhurlin
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
|
|
######################################################################
|
|
|
|
Unlike to windows systems, saga_cmd should be instantly available in
|
|
the shell as it is usually installed in %%PREFIX%%/bin.
|
|
|
|
Next you have to set the environmental variable SAGA_MLB to make SAGA
|
|
know where the SAGA module libraries exist on your system. You can do
|
|
this permanently by adding the following command to your .bashrc file
|
|
or by defining it temporarily on the command line before executing
|
|
SAGA CMD:
|
|
|
|
export SAGA_MLB=/yourPathToSAGA_modules
|
|
|
|
e.g.:
|
|
export SAGA_MLB=%%PREFIX%%/lib/saga
|
|
|
|
Now your system is prepared for using SAGA CMD to execute SAGA
|
|
modules.
|
|
|
|
######################################################################
|
|
|
|
And don't forget, on Unix-like systems you will have to alter the
|
|
module library name accordingly by adding "lib" to the module library
|
|
name.
|
|
|
|
e.g.:
|
|
saga_cmd libta_morphometry instead of saga_cmd ta_morphometry
|
|
|
|
For more information see
|
|
|
|
http://sourceforge.net/apps/trac/saga-gis/wiki/\
|
|
Executing%20Modules%20with%20SAGA%20CMD
|
|
|
|
######################################################################
|