[Qgis-developer] Shipping SAGA with QGIS
Phil Hess
macpgmr at fastermac.net
Mon Feb 25 16:25:40 PST 2013
>>Just any SAGA algorithm, to see how it is executed in the command
line. A valid command line that, if run in a batch file created by
SEXTANTE, would execute SAGA correctly
I assume you would want to suppress all but error messages. Example to
create a SAGA grid:
saga_cmd -f=s io_gdal 0 -GRIDS dem.sgrd -FILES dem.asc
If an error occurs, saga_cmd still outputs it even with s (silent) switch.
For example, if input grid does not exist:
ERROR 4: `dem.ascx' does not exist in the file system,
and is not recognised as a supported dataset name.
error: Dataset creation failed: `dem.ascx' does not exist in the file
system,
and is not recognised as a supported dataset name.
error: executing module [GDAL: Import Raster]
Thanks.
-Phil
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Shipping-SAGA-with-QGIS-tp5036274p5036817.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list