source:
branches/PublicaMundi_David-devel/docs/kernel/sagagis.rst
@
661
Last change on this file since 661 was 659, checked in by nbozon, 10 years ago | |
---|---|
File size: 4.1 KB |
Optional SAGA GIS support
Optional SAGA GIS support ======================
SAGA GIS provides a comprehensive set of geoscientific methods and spatial algorithms. The optional SAGA GIS support is available since ZOO-Project 1.5. It allows to execute the SAGA Modules directly as ZOO WPS Services thanks to a :ref:`kernel_index` specific internal mechanism which is detailed in this section.
How does it work ?
Installation and configuration
Follow the step described bellow in order to activate the ZOO-Project optional SAGA GIS support.
Prerequisites
- latest ZOO-Kernel trunk version
- SAGA GIS (SAGA-GIS 2.1.4 )
- libLAS-1.2 (LibLAS-1.2 )
Installation steps
Note
These installation steps were successfully tested on Ubuntu 14.4 LTS
Download lastest ZOO-Kernel code from SVN.
Then compile ZOO-Kernel using the needed configuration options as shown bellow:
And copy the newly created zoo_loader.cgi to /usr/lib/cgi-bin :
Configuration steps
Main configuration file
Add the following content to your /usr/lib/cgi-bin/main.cfg file in the [env] section:
Services configuration file
Services configuration file ^^^^^^^^^^^^^^^^^^^^^^^^^^
The build of the otb2zcfg utility is required to activate the available OTB Applications as WPS services. This can be done using the following command:
Run the following command to generate all the needed zcfg files for the available OTB Application:
Test the ZOO SAGA support
Test the ZOO SAGA support ^^^^^^^^^^^^^^^^^^^^^^^
Once done, OTB Applications should be listed as available WPS Services when runing a GetCapabilities request
Each OTB Service can then be described individually using the DescribeProcess request, as for example:
And executed according to your needs, as for the following example executing OTB.BandMath with the OTB sample data as input
When executing OTB applications as WPS Services, it is also possible to check the OTB process status, using the usual ZOO GetStatus request.