Ignore:
Timestamp:
Jun 16, 2015, 11:59:50 AM (10 years ago)
Author:
nbozon
Message:

various enhancements and missing doc files

Location:
branches/PublicaMundi_David-devel/docs/kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/PublicaMundi_David-devel/docs/kernel/orfeotoolbox.rst

    r659 r663  
    55
    66`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.
     7The 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.
    98
    109.. note::
     
    2322------------------------------
    2423
    25 Follow the step described bellow in order to activate the ZOO-Project
    26 optional Orfeo Toolbox support.
     24Follow the step described bellow in order to activate the ZOO-Project optional Orfeo Toolbox support.
    2725
    2826Prerequisites
    29 .............
     27.....................
    3028
    3129   * 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/>`_)
    3432
    3533Installation steps
     
    5755
    5856Configuration steps
    59 *************************
     57....................................
    6058
    6159Main configuration file
    62 ^^^^^^^^^^^^^^^^^^^^^^^
     60*************************
    6361
    6462Add the following content to your ``/usr/lib/cgi-bin/main.cfg`` file
     
    7068
    7169Services configuration file
    72 ^^^^^^^^^^^^^^^^^^^^^^^^^^
     70****************************
    7371
    7472The 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:
     
    9694     The ITK_AUTOLOAD_PATH environment variable is required in the [env] section of your main.cfg.
    9795
    98 Test the ZOO OTB support
    99 ^^^^^^^^^^^^^^^^^^^^^^^
     96Test requests
     97****************************
    10098
    10199Once done, OTB Applications should be listed as available WPS Services when runing a GetCapabilities request
     
    111109   http://localhost/cgi-bin/zoo_loader.cgi?request=DescribeProcess&service=WPS&version=1.0.0&Identifier=OTB.BandMath
    112110
    113 As an example, here is a test request executing the OTB.BandMath Application with the OTB Cookbook sample data as input
     111Here 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
    114112
    115113.. code-block:: guess
     
    119117
    120118.. 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.
    122121
    123122
  • branches/PublicaMundi_David-devel/docs/kernel/sagagis.rst

    r659 r663  
    1818
    1919
    20 How does it work ?
    21 -------------------------
    22 
    23 
    24 
    2520Installation and configuration
    2621------------------------------
     
    2924
    3025Prerequisites
    31 .............
     26.....................
    3227
    3328   * latest `ZOO-Kernel <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel>`_ trunk version
     
    6257
    6358Configuration steps
    64 *************************
     59...............................
    6560
    66 Main configuration file
    67 ^^^^^^^^^^^^^^^^^^^^^^^
     61Services configuration file
     62****************************
    6863
    69 Add the following content to your ``/usr/lib/cgi-bin/main.cfg`` file
    70 in the ``[env]`` section:
     64Building 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:
    7166
    7267.. code-block:: guess
    7368
    74        ITK_AUTOLOAD_PATH=/usr/local/lib/otb/applications
     69    cd thirds/saga2zcfg
     70    make
    7571
    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:
     72The following commands will then generate all the needed zcfg files for the available SAGA-GIS Modules:
    8073
    8174.. 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
    12581
    12682
     83Test requests
     84*****************
    12785
    128    
     86The SAGA-GIS Modules should be listed as available WPS Services when
     87runing a GetCapabilities request, as follow:
     88
     89http://localhost/cgi-bin/zoo_loader.cgi?request=GetCapabilities&service=WPS
     90
     91Each SAGA-GIS Service can then be described individually using the DescribeProcess request, as for example:
     92
     93http://localhost/cgi-bin/zoo_loader.cgi?request=DescribeProcess&service=WPS&version=1.0.0&Identifier=SAGA.garden_fractals.1
     94
     95And executed according to your needs. The following example executes *SAGA.garden_fractals.1* with no optional parameter:
     96
     97http://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.
    129102
    130103
    131104
    132105
    133 
    134 
  • branches/PublicaMundi_David-devel/docs/kernel/what.rst

    r659 r663  
    1919-----------------------
    2020
    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|) and can be seamlessly integrated to new or existing web platforms.
     21ZOO-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.
    2222
    2323ZOO-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. 
    2424
    2525Supported programming languages
    26 ...............................
     26........................................................
    2727
    2828ZOO-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.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png