Changeset 663 for branches/PublicaMundi_David-devel/docs/kernel
- Timestamp:
- Jun 16, 2015, 11:59:50 AM (10 years ago)
- Location:
- branches/PublicaMundi_David-devel/docs/kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PublicaMundi_David-devel/docs/kernel/orfeotoolbox.rst
r659 r663 5 5 6 6 `Orfeo Toolbox <http://orfeo-toolbox.org/otb/>`_ provides simple to advanced algorithms for processing imagery available from remote sensors. 7 The optional Orfeo Toolbox support is available since `ZOO-Project 1.5 8 <http://zoo-project.org>`__. It allows to execute the `OTB Applications <http://orfeo-toolbox.org/otb/otb-applications.html>`_ directly as ZOO WPS Services thanks to a :ref:`kernel_index` specific internal mechanism which is detailed in this section. 7 The optional Orfeo Toolbox support is available since `ZOO-Project 1.5 <http://zoo-project.org>`__. It allows to execute the `OTB Applications <http://orfeo-toolbox.org/otb/otb-applications.html>`_ directly as ZOO WPS Services thanks to a :ref:`kernel_index` specific internal mechanism which is detailed in this section. 9 8 10 9 .. note:: … … 23 22 ------------------------------ 24 23 25 Follow the step described bellow in order to activate the ZOO-Project 26 optional Orfeo Toolbox support. 24 Follow the step described bellow in order to activate the ZOO-Project optional Orfeo Toolbox support. 27 25 28 26 Prerequisites 29 ............. 27 ..................... 30 28 31 29 * latest `ZOO-Kernel <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel>`_ trunk version 32 * Orfeo Toolbox (`OTB 4.2.1 <http://orfeo-toolbox.org/otb/>`_ 33 * Insight Segmentation and Registration Toolkit (`ITK-4.7 <http://itk.org/ITK/resources/software.html/>`_ 30 * Orfeo Toolbox (`OTB 4.2.1 <http://orfeo-toolbox.org/otb/>`_) 31 * Insight Segmentation and Registration Toolkit (`ITK-4.7 <http://itk.org/ITK/resources/software.html/>`_) 34 32 35 33 Installation steps … … 57 55 58 56 Configuration steps 59 ************************* 57 .................................... 60 58 61 59 Main configuration file 62 ^^^^^^^^^^^^^^^^^^^^^^^ 60 ************************* 63 61 64 62 Add the following content to your ``/usr/lib/cgi-bin/main.cfg`` file … … 70 68 71 69 Services configuration file 72 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 70 **************************** 73 71 74 72 The build of the `otb2zcfg <http://zoo-project.org/trac/browser/trunk/thirds/otb2zcfg>`_ utility is required to activate the available OTB Applications as WPS services. This can be done using the following command: … … 96 94 The ITK_AUTOLOAD_PATH environment variable is required in the [env] section of your main.cfg. 97 95 98 Test the ZOO OTB support99 ^^^^^^^^^^^^^^^^^^^^^^^ 96 Test requests 97 **************************** 100 98 101 99 Once done, OTB Applications should be listed as available WPS Services when runing a GetCapabilities request … … 111 109 http://localhost/cgi-bin/zoo_loader.cgi?request=DescribeProcess&service=WPS&version=1.0.0&Identifier=OTB.BandMath 112 110 113 As an example, here is a test request executing the OTB.BandMath Application with the OTB Cookbooksample data as input111 Here is an example request executing the *OTB.BandMath* Application with the `OTB Cookbook <https://www.orfeo-toolbox.org/CookBook/CookBook.html>`_ sample data as input 114 112 115 113 .. code-block:: guess … … 119 117 120 118 .. note:: 121 When executing OTB applications as WPS Services, it is also possible to check the OTB process status, using the usual ZOO GetStatus request. 119 120 The usual ZOO GetStatus requests also work when using the OTB Applications as WPS Services. 122 121 123 122 -
branches/PublicaMundi_David-devel/docs/kernel/sagagis.rst
r659 r663 18 18 19 19 20 How does it work ?21 -------------------------22 23 24 25 20 Installation and configuration 26 21 ------------------------------ … … 29 24 30 25 Prerequisites 31 ............. 26 ..................... 32 27 33 28 * latest `ZOO-Kernel <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel>`_ trunk version … … 62 57 63 58 Configuration steps 64 ************************* 59 ............................... 65 60 66 Mainconfiguration file67 ^^^^^^^^^^^^^^^^^^^^^^^ 61 Services configuration file 62 **************************** 68 63 69 Add the following content to your ``/usr/lib/cgi-bin/main.cfg`` file 70 in the ``[env]`` section:64 Building the `saga2zcfg 65 <http://zoo-project.org/trac/browser/trunk/thirds/otb2zcfg >`_ utility is required to activate the available SAGA-GIS Modules as WPS Services. This can be done using the following command: 71 66 72 67 .. code-block:: guess 73 68 74 ITK_AUTOLOAD_PATH=/usr/local/lib/otb/applications 69 cd thirds/saga2zcfg 70 make 75 71 76 Services configuration file 77 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 78 79 The build of the `otb2zcfg <http://zoo-project.org/trac/browser/trunk/thirds/otb2zcfg>`_ utility is required to activate the available OTB Applications as WPS services. This can be done using the following command: 72 The following commands will then generate all the needed zcfg files for the available SAGA-GIS Modules: 80 73 81 74 .. code-block:: guess 82 83 mkdir build 84 cd build 85 ccmake .. 86 make 87 88 Run the following command to generate all the needed zcfg files for the available OTB Application: 89 90 .. code-block:: guess 91 92 mkdir zcfgs 93 cd zcfgs 94 export ITK_AUTOLOAD_PATH=/your/path/to/otb/applications 95 ../build/otb2zcfg 96 mkdir /location/to/your/cgi-bin/OTB 97 cp *zcfg /location/to/your/cgi-bin/OTB 98 99 .. warning 100 101 The ITK_AUTOLOAD_PATH environment variable is required in the [env] section of your main.cfg. 102 103 Test the ZOO SAGA support 104 ^^^^^^^^^^^^^^^^^^^^^^^ 105 106 Once done, OTB Applications should be listed as available WPS Services when runing a GetCapabilities request 107 108 .. code-block:: guess 109 110 http://localhost/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS 111 112 Each OTB Service can then be described individually using the DescribeProcess request, as for example: 113 114 .. code-block:: guess 115 116 http://localhost/cgi-bin/zoo_loader.cgi?request=DescribeProcess&service=WPS&version=1.0.0&Identifier=OTB.BandMath 117 118 And executed according to your needs, as for the following example executing OTB.BandMath with the OTB sample data as input 119 120 .. code-block:: guess 121 122 http://localhost/cgi-bin/zoo_loader.cgi?request=Execute&service=WPS&version=1.0.0&Identifier=OTB.BandMath&DataInputs=il=Reference@xlink:href=http://hg.orfeo-toolbox.org/OTB-Data/raw-file/ca154074b282/Examples/verySmallFSATSW.tif;il=Reference@xlink:href=http://hg.orfeo-toolbox.org/OTB-Data/raw-file/ca154074b282/Examples/verySmallFSATSW_nir.tif;out=float;exp=im1b3*cos%28im1b1%29,im1b2*cos%28im1b1%29,im1b1*cos%28im1b1%29&RawDataOutput=out@mimeType=image/png 123 124 When executing OTB applications as WPS Services, it is also possible to check the OTB process status, using the usual ZOO GetStatus request. 75 76 mkdir zcfgs 77 cd zcfgs 78 ../saga2zcfg 79 mkdir /location/to/your/cgi-bin/SAGA 80 cp *zcfg /location/to/your/cgi-bin/SAGA 125 81 126 82 83 Test requests 84 ***************** 127 85 128 86 The SAGA-GIS Modules should be listed as available WPS Services when 87 runing a GetCapabilities request, as follow: 88 89 http://localhost/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS 90 91 Each SAGA-GIS Service can then be described individually using the DescribeProcess request, as for example: 92 93 http://localhost/cgi-bin/zoo_loader.cgi?request=DescribeProcess&service=WPS&version=1.0.0&Identifier=SAGA.garden_fractals.1 94 95 And executed according to your needs. The following example executes *SAGA.garden_fractals.1* with no optional parameter: 96 97 http://localhost/cgi-bin/zoo_loader.cgi?request=Execute&service=WPS&version=1.0.0&Identifier=SAGA.garden_fractals.1&DataInputs=&ResponseDocument=RESULT@mimeType=application/json@asReference=true 98 99 .. note:: 100 101 The common ZOO GetStatus requests also work when using the SAGA-GIS Modules as WPS Services. 129 102 130 103 131 104 132 105 133 134 -
branches/PublicaMundi_David-devel/docs/kernel/what.rst
r659 r663 19 19 ----------------------- 20 20 21 ZOO-Kernel is an extensible WPS server that makes your system more powerful. It provides a full-featured processing engine which runs on Linux, Mac OSX |trade| and Windows |trade| operating systems. ZOO-Kernel works on common web servers (namely `Apache <http://httpd.apache.org/>`_ or `IIS <http://www.iis.net/>`_ |trade|) andcan be seamlessly integrated to new or existing web platforms.21 ZOO-Kernel is an extensible WPS server that makes your system more powerful. It provides a full-featured processing engine which runs on Linux, Mac OSX |trade| and Windows |trade| operating systems. ZOO-Kernel is a CGI program which works on common web servers (namely `Apache <http://httpd.apache.org/>`_ or `IIS <http://www.iis.net/>`_ |trade|). It can be seamlessly integrated to new or existing web platforms. 22 22 23 23 ZOO-Kernel lets you process geospatial or non geospatial data using well formed WPS requests. The WPS server is able to manage and chain WPS Services (see ZOO-Services for examples) by loading dynamic libraries and source code written in different programming languages. 24 24 25 25 Supported programming languages 26 ............................... 26 ........................................................ 27 27 28 28 ZOO-Kernel is a **polyglot**. The software is written in a valid form of multiple programming languages, which performs the same operations independent of the programming language used to compile or interpret it.
Note: See TracChangeset
for help on using the changeset viewer.