Hot answers tagged sextante
4
I've written to the SEXTANTE team to ask about this issue. This is the response I got:
Other people have reported that those "tricks" that worked for 10 do not work for 10.1. We haven't tested it, but there are plans for doing some development on the ArcGIS version in collaboration with a team from an american university, and definitely that's our ...
4
You could craft your script to work with Gary Sherman's Script Runner plugin and run it from within QGIS. Re-running the script, after editing, should prompt Script Runner to reload the module and reflect your changes. See also: Script Runner's plugins.qgis.org listing.
The essentials are to make sure you have a run_script function, which gets called by ...
3
Sextante is mainly a library to be used from a gis desktop application like gvSIG, qgis or ArcGIS.
If you want to use any of the algorithms of Sextante on postgis layer, just choose any a gis desktop app, load the postgis layer, and use Sextante on it, as if it was a shapefile.
For example gvSIG comes with Sextante an a lot of algorithms without the need ...
2
One method you might try to get GRASS commands to work in SEXTANTE involves how QGIS locates the external binaries needed to run those commands. Unless given explicitly defined paths, subprocesses in Python use the PATH environment variable to search for external binaries. For GUI apps on Mac OS X, only /usr paths are searched for binaries, not /usr/local ...
1
Isn't it obvious that you need to install SAGA first? If SAGA is installed check in SEXTANTE settings if it is activated. Install python-saga module. Also check out this post on setup SEXTANTE for Ubuntu.
If none of this helps the reason may be that SEXTANTE is looking for SAGA modules in the wrong directory. The default path to SAGA algorithms is ...
1
This appears to be a bug in the Sextante interface, the original GRASS module allows of course real east and north coordinates (see manual).
Please report this here: http://hub.qgis.org/projects/sextante/issues
1
Enable the GRASS logging (in the SEXTANTE configuration dialog, under GRASS), and then have a look at the log, but in the "Info" branch. You should have there a "GRASS console output" entry. That will tell you more about what is happening when you call grass.
Post it here so we can help you with it.
1
There is a known bug in running R and GRASS in Sextante on OSX - but you indicate that R is working OK already for you? To fix:
You can edit the grassutils.py script in ~/.qgis/python/plugins/sextante/ following the instructions here.
To fix R, follow the instructions here on editing RUtils.py in the same directory.
Alternatively - try the QGIS nightly ...
1
Since the algorithm you want to use is part of saga, you could use saga directly.
eg from a batchfile:
@ECHO OFF
REM SET SAGA_MLB = C:\SAGA\Modules
REM SET PATH = %PATH%;C:\SAGA
saga_cmd ta_morphometry "Slope, Aspect, Curvature" -ELEVATION=elevation.sgrd -SLOPE=slope.sgrd -ASPECT=aspect.sgrd -CURV=NULL -HCURV=NULL -VCURV=NULL -METHOD=5
PAUSE
Only top voted, non community-wiki answers of a minimum length are eligible