Changes between Version 7 and Version 8 of ZooWorkshop/FOSS4GJapan/UsingZooFromOSGeoLiveVM


Ignore:
Timestamp:
Oct 16, 2010, 1:58:25 AM (14 years ago)
Author:
djay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooWorkshop/FOSS4GJapan/UsingZooFromOSGeoLiveVM

    v7 v8  
    1818Please note that we will talk about ZOO Kernel or {{{zoo_loader.cgi}}} script without any distinction during this workshop.
    1919
    20 The {{{main.cfg}}} file contains metadata informations about the identification and provider but also some important settings. The file is composed of various sections, namely {{{main}}}, {{{identification}}} and {{{provider}}} per default. Obviously, you are free to add new sections to the file if you need them for a specific Service. Nevertheless, you have to know that the {{{env}}} section name is used in a specific way. It lets you define environment variables that your Service requires during its runtime. For instance, if your Service requires to access to a X server running on framebuffer, you can add {{{DISPLAY=:1}}} line in your env section to take this specificity into account.
     20The {{{main.cfg}}} file contains metadata informations about the identification and provider but also some important settings. The file is composed of various sections, namely {{{main}}}, {{{identification}}} and {{{provider}}} per default. Obviously, you are free to add new sections to the file if you need them for a specific Service. Nevertheless, you have to know that the {{{env}}} section name is used in a specific way. It lets you define environment variables that your Service requires during its runtime. For instance, if your Service requires to access to a X server running on framebuffer, you can add {{{DISPLAY=:1}}} line in your env section to take this specificity into account. As for the {{{env}}} section there is another section {{{lenv}}} where specific informations about status informations of a running Service will be written by the ZOO Kernel. For instance, when you service failed, you can set the value for {{{message}}}  in {{{lenv}}} to see it displayed in the {{{Status}}} node of the {{{ExecuteResponse}}}. If your process will take long time and can get informations about processing status, you can set a value between 0 and 100 to {{{status}}} in {{{lenv}}} to represent the percentage completed of the running Service.
    2121
    2222Please have a look to this file. Three important parameters are commented bellow:
     
    8383[[Image(Practical introduction to ZOO - 1.png,width=400px,align=center,nolink)]]
    8484
    85 !OpenLayers library is also available on the OSGeoLive virtual machine image disk, and it will be used during section 4, for building a simple WPS client application able to query the newly developed ZOO Services.
     85!OpenLayers library is also available on the OSGeoLive virtual machine image disk, and it will be used during [wiki:ZooWorkshop/FOSS4GJapan/BuildingWPSClientUsingOL#BuildingaWPSclientusingOpenLayers section 4], for building a simple WPS client application able to query the newly developed ZOO Services.
    8686
    8787As we planned to use OGR C-API and Python module of the GDAL library, we will need the corresponding header files, libraries and associated files. Hopefully everything was already available per default and so ready to use on the OSGeoLive packaging.

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