mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
|
|
||
|
######################################################################
|
||
|
|
||
|
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
|
||
|
|
||
|
######################################################################
|