Changes between Version 1 and Version 2 of ZooWorkshop/FOSS4GJapan/UsingZooFromOSGeoLiveVM


Ignore:
Timestamp:
Oct 15, 2010, 1:47:15 PM (14 years ago)
Author:
djay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooWorkshop/FOSS4GJapan/UsingZooFromOSGeoLiveVM

    v1 v2  
    6666Two other softwares form the OSGeoLive environment will be used during this workshop. Geoserver will first be used to provide WFS input data for the ZOO Services we are going to develop. The Geoserver sample dataset (United States polygons) will be passed to our service during section 3. So please start the Geoserver using the corresponding launcher in the Servers folder, as illustrated in the following screenshot :
    6767
     68[[Image(Practical introduction to ZOO - 1.png,width=400px,align=center)]]
    6869
    6970OpenLayers 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.
     
    7172As 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.
    7273
     74== Testing the ZOO installation with GetCapabilities ==
     75
     76You can now simply query ZOO Kernel using the following request from your Internet browser:
     77
     78[http://localhost/cgi-bin/zoo_loader.cgi?Request=GetCapabilities&Service=WPS]
     79
     80You should then get a valid Capabilities XML document, as the following :
     81
     82Please note that no Process node is returned in the ProcessOfferings section, as no ZOO Service is available yet. You can also proceed to a GetCapabilities request from the command line, using the following command:
     83
     84{{{
     85#!sh
     86cd /usr/lib/cgi-bin
     87./zoo_loader.cgi “request=GetCapabilities&service=WPS”
     88}}}
     89
     90The same result as in your browser will be returned, as shown in the following screenshot:
     91
     92== Preparing your ZOO ServiceProvider directory ==
     93
     94In order to simplify the task, we will first comment the directory structure which should be used when creating a new Services Provider :
     95
     96 * The main Services Provider directory including :
     97  * A cgi-env directory which will contain all the zcfg metadata files and the service shared
     98object (C Shared Library or Python module)
     99  * The Makefile and the *c files needed to compile your Services Provider.
     100
     101Please create a ws_sp main Services Provider directory in the existing zoo-services one located in /home/user/zoows/sources/, respecting the tree above .
     102
     103{{{
     104#!sh
     105mkdir -p /home/user/zoows/sources/zoo-services/ws_sp/cgi-env
     106}}}
     107
     108The Makefile and the code of the C and Python Service Shared Object will be detailed in the next sections.
     109

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