source: branches/PublicaMundi_David-devel/workshop/2013/_build/html/using_zoo_from_osgeolivevm.html @ 686

Last change on this file since 686 was 686, checked in by nbozon, 9 years ago

added workshop directory at root

File size: 27.7 KB
Line 
1
2
3<!DOCTYPE html>
4<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
5<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
6<head>
7  <meta charset="utf-8">
8  <meta name="viewport" content="width=device-width, initial-scale=1.0">
9 
10  <title>Configuration and ZOO-Kernel use &mdash; ZOO-Project 1.5 documentation</title>
11 
12  <link href="http://fonts.googleapis.com/css?family=Days+One" rel="stylesheet" type="text/css">
13 
14 
15
16 
17
18 
19 
20   
21      <link rel="search" type="application/opensearchdescription+xml" title="Search within ZOO-Project 1.5 documentation" href="_static/opensearch.xml"/>
22   
23
24 
25
26 
27 
28    <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
29 
30
31 
32
33 
34    <link rel="top" title="ZOO-Project 1.5 documentation" href="index.html"/>
35        <link rel="next" title="Creating your first ZOO Service" href="first_service.html"/>
36        <link rel="prev" title="Introduction" href="introduction.html"/> 
37
38 
39  <script src="_static/js/modernizr.min.js"></script>
40
41</head>
42
43<body class="wy-body-for-nav" role="document">
44
45  <div class="wy-grid-for-nav">
46
47   
48    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
49      <div class="wy-side-nav-search">
50       
51
52       
53          <a class="shrink" href="http://zoo-project.org"><img src="http://zoo-project.org/img/zoo-sun-logo.png" class="img-responsive sun" style="display: inline;"> ZOO</a>
54       
55
56       
57        </a>
58
59       
60<div role="search">
61  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
62    <input type="text" name="q" placeholder="Search docs" />
63    <input type="hidden" name="check_keywords" value="yes" />
64    <input type="hidden" name="area" value="default" />
65  </form>
66</div>
67
68       
69      </div>
70
71      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
72       
73         
74         
75              <ul class="current">
76<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction</a><ul>
77<li class="toctree-l2"><a class="reference internal" href="introduction.html#what-is-zoo">What is ZOO ?</a></li>
78<li class="toctree-l2"><a class="reference internal" href="introduction.html#how-does-zoo-works">How does ZOO works ?</a></li>
79<li class="toctree-l2"><a class="reference internal" href="introduction.html#what-are-we-going-to-do-in-this-workshop">What are we going to do in this workshop?</a></li>
80<li class="toctree-l2"><a class="reference internal" href="introduction.html#usefull-tips-for-reading">Usefull tips for reading</a></li>
81</ul>
82</li>
83<li class="toctree-l1 current"><a class="current reference internal" href="">Configuration and ZOO-Kernel use</a><ul>
84<li class="toctree-l2"><a class="reference internal" href="#zoo-project-installation">ZOO-Project Installation</a></li>
85<li class="toctree-l2"><a class="reference internal" href="#zoo-kernel-configuration">ZOO-Kernel Configuration</a></li>
86<li class="toctree-l2"><a class="reference internal" href="#testing-the-zoo-installation-with-getcapabilities">Testing the ZOO installation with GetCapabilities</a></li>
87</ul>
88</li>
89<li class="toctree-l1"><a class="reference internal" href="first_service.html">Creating your first ZOO Service</a><ul>
90<li class="toctree-l2"><a class="reference internal" href="first_service.html#introduction">Introduction</a></li>
91<li class="toctree-l2"><a class="reference internal" href="first_service.html#service-and-publication-process-overview">Service and publication process overview</a></li>
92<li class="toctree-l2"><a class="reference internal" href="first_service.html#creating-your-first-zcfg-file">Creating your first ZCFG file</a></li>
93<li class="toctree-l2"><a class="reference internal" href="first_service.html#test-requests">Test requests</a></li>
94<li class="toctree-l2"><a class="reference internal" href="first_service.html#implementing-the-python-service">Implementing the Python Service</a></li>
95<li class="toctree-l2"><a class="reference internal" href="first_service.html#interracting-with-your-service-using-execute-requests">Interracting with your service using Execute requests</a></li>
96<li class="toctree-l2"><a class="reference internal" href="first_service.html#conclusion">Conclusion</a></li>
97</ul>
98</li>
99<li class="toctree-l1"><a class="reference internal" href="building_blocks_presentation.html">Building blocks presentation - Using OGR and PgRouting based Web Services</a><ul>
100<li class="toctree-l2"><a class="reference internal" href="building_blocks_presentation.html#introduction">Introduction</a></li>
101<li class="toctree-l2"><a class="reference internal" href="building_blocks_presentation.html#services-provider-and-configuration-files">Services Provider and configuration files</a></li>
102<li class="toctree-l2"><a class="reference internal" href="building_blocks_presentation.html#the-buffer-service">The Buffer Service</a></li>
103<li class="toctree-l2"><a class="reference internal" href="building_blocks_presentation.html#the-intersection-service">The Intersection Service</a></li>
104<li class="toctree-l2"><a class="reference internal" href="building_blocks_presentation.html#the-differencepy-service">The DifferencePy Service</a></li>
105<li class="toctree-l2"><a class="reference internal" href="building_blocks_presentation.html#the-routing-and-profile-services">The Routing and Profile Services</a></li>
106<li class="toctree-l2"><a class="reference internal" href="building_blocks_presentation.html#conclusion">Conclusion</a></li>
107</ul>
108</li>
109<li class="toctree-l1"><a class="reference internal" href="js_services_chaining.html">Playing with buildign blocks - Creating JavaScript Web Services</a><ul>
110<li class="toctree-l2"><a class="reference internal" href="js_services_chaining.html#introduction">Introduction</a></li>
111<li class="toctree-l2"><a class="reference internal" href="js_services_chaining.html#zoo-api-overview">ZOO-API Overview</a></li>
112<li class="toctree-l2"><a class="reference internal" href="js_services_chaining.html#the-mask-service">The Mask Service</a></li>
113<li class="toctree-l2"><a class="reference internal" href="js_services_chaining.html#buffermask-service">BufferMask Service</a></li>
114<li class="toctree-l2"><a class="reference internal" href="js_services_chaining.html#bufferrequest-service">BufferRequest service</a></li>
115<li class="toctree-l2"><a class="reference internal" href="js_services_chaining.html#add-union-into-the-chain">Add Union into the chain</a></li>
116<li class="toctree-l2"><a class="reference internal" href="js_services_chaining.html#conclusion">Conclusion</a></li>
117</ul>
118</li>
119</ul>
120
121         
122       
123      </div>
124      &nbsp;
125    </nav>
126
127    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
128
129     
130      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
131        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
132        <a href="index.html">ZOO-Project</a>
133      </nav>
134
135
136     
137      <div class="wy-nav-content">
138        <div class="rst-content">
139          <div role="navigation" aria-label="breadcrumbs navigation">
140  <ul class="wy-breadcrumbs">
141
142    <li><a href="index.html"> Docs</a> &#8725; &#160;</li>
143     
144    <li>Configuration and ZOO-Kernel use</li>
145      <li class="wy-breadcrumbs-aside">
146       
147          <a href="_sources/using_zoo_from_osgeolivevm.txt" rel="nofollow"> View page source</a>
148       
149      </li>
150  </ul>
151  <hr/>
152</div>
153          <div role="main" class="document">
154           
155  <div class="section" id="configuration-and-zoo-kernel-use">
156<span id="using-zoo-from-osgeolivevm"></span><h1><a class="toc-backref" href="#table-of-contents">Configuration and ZOO-Kernel use</a><a class="headerlink" href="#configuration-and-zoo-kernel-use" title="Permalink to this headline"></a></h1>
157<div class="contents topic" id="table-of-contents">
158<p class="topic-title first">Table of Contents</p>
159<ul class="simple">
160<li><a class="reference internal" href="#configuration-and-zoo-kernel-use" id="id5">Configuration and ZOO-Kernel use</a><ul>
161<li><a class="reference internal" href="#zoo-project-installation" id="id6">ZOO-Project Installation</a></li>
162<li><a class="reference internal" href="#zoo-kernel-configuration" id="id7">ZOO-Kernel Configuration</a></li>
163<li><a class="reference internal" href="#testing-the-zoo-installation-with-getcapabilities" id="id8">Testing the ZOO installation with GetCapabilities</a></li>
164</ul>
165</li>
166</ul>
167</div>
168<div class="section" id="zoo-project-installation">
169<h2><a class="toc-backref" href="#table-of-contents">ZOO-Project Installation</a><a class="headerlink" href="#zoo-project-installation" title="Permalink to this headline"></a></h2>
170<p>To be able to follow the current material, you will have to download
171and uncompress an archive containing the dataset, ZOO-Kernel and
172required services. It was made available specifically for this workshop
173and is available at : <a class="reference external" href="http://www.zoo-project.org/dl/ws2013-1.tar.bz2">http://www.zoo-project.org/dl/ws2013-1.tar.bz2</a>.</p>
174<p>You should use the following commands to download then uncompress the archive
175and get it extracted with correct privileges:</p>
176<div class="highlight-guess"><div class="highlight"><pre>wget http://www.zoo-project.org/dl/ws2013-1.tar.bz2
177sudo tar -xvjpf ws2013-1.tar.bz2 -C /
178psql -f /var/www/temp/ws2013.sql pgrouting
179</pre></div>
180</div>
181</div>
182<div class="section" id="zoo-kernel-configuration">
183<h2><a class="toc-backref" href="#table-of-contents">ZOO-Kernel Configuration</a><a class="headerlink" href="#zoo-kernel-configuration" title="Permalink to this headline"></a></h2>
184<p>As already said in introduction, an OSGeoLive has been booted on your computer, allowing you to use ZOO-Kernel in a development environment directly.</p>
185<div class="admonition note">
186<p class="first admonition-title">Note</p>
187<p class="last">we will use ZOO-Kernel or <code class="docutils literal"><span class="pre">zoo_loader.cgi</span></code> script without any distinction
188in this document.</p>
189</div>
190<p>General ZOO-Kernel settings are set in the <code class="docutils literal"><span class="pre">main.cfg</span></code> file located in the same
191directory as the ZOO-Kernel, so in <code class="docutils literal"><span class="pre">/usr/lib/cgi-bin/</span></code>. You can see a typical
192<code class="docutils literal"><span class="pre">main.cfg</span></code> content in the following:</p>
193<div class="highlight-guess"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre> 1
194 2
195 3
196 4
197 5
198 6
199 7
200 8
201 9
20210
20311
20412
20513
20614
20715
20816
20917
21018
21119
21220
21321
21422
21523
21624
21725
21826
21927
22028
22129
22230
22331
22432
22533</pre></div></td><td class="code"><div class="highlight"><pre><span class="k">[main]</span>
226<span class="na">lang</span><span class="o">=</span><span class="s">en-US,fr-FR,ja-JP</span>
227<span class="na">version</span><span class="o">=</span><span class="s">1.0.0</span>
228<span class="na">encoding</span><span class="o">=</span><span class="s">utf-8</span>
229<span class="na">serverAddress</span><span class="o">=</span><span class="s">http://localhost/zoo/</span>
230<span class="na">dataPath</span><span class="o">=</span><span class="s">/var/www/data</span>
231<span class="na">tmpPath</span><span class="o">=</span><span class="s">/var/www/tmp</span>
232<span class="na">tmpUrl</span><span class="o">=</span><span class="s">../tmp</span>
233<span class="na">cacheDir</span><span class="o">=</span><span class="s">/var/www/cache/</span>
234<span class="na">mapserverAddress</span><span class="o">=</span><span class="s">http://localhost/cgi-bin/mapserv</span>
235<span class="na">msOgcVersion</span><span class="o">=</span><span class="s">1.0.0</span>
236
237<span class="k">[identification]</span>
238<span class="na">title</span><span class="o">=</span><span class="s">The ZOO-Project WPS Server FOSS4G 2013 Nottingham Workshop</span>
239<span class="na">keywords</span><span class="o">=</span><span class="s">WPS,GIS,buffer</span>
240<span class="na">abstract</span><span class="o">=</span><span class="s">ZOO-Project platform 2013 .See http://www.zoo-project.org for more informations</span>
241<span class="na">accessConstraints</span><span class="o">=</span><span class="s">none</span>
242<span class="na">fees</span><span class="o">=</span><span class="s">None</span>
243
244<span class="k">[provider]</span>
245<span class="na">positionName</span><span class="o">=</span><span class="s">Developer</span>
246<span class="na">providerName</span><span class="o">=</span><span class="s">ZOO-Project</span>
247<span class="na">addressAdministrativeArea</span><span class="o">=</span><span class="s">Lattes</span>
248<span class="na">addressDeliveryPoint</span><span class="o">=</span><span class="s">1280 Av. des Platanes</span>
249<span class="na">addressCountry</span><span class="o">=</span><span class="s">fr</span>
250<span class="na">phoneVoice</span><span class="o">=</span><span class="s">+33670082539</span>
251<span class="na">addressPostalCode</span><span class="o">=</span><span class="s">34970</span>
252<span class="na">role</span><span class="o">=</span><span class="s">Dev</span>
253<span class="na">providerSite</span><span class="o">=</span><span class="s">http://www.zoo-project.org</span>
254<span class="na">phoneFacsimile</span><span class="o">=</span><span class="s">False</span>
255<span class="na">addressElectronicMailAddress</span><span class="o">=</span><span class="s">gerald.fenoy@geolabs.fr</span>
256<span class="na">addressCity</span><span class="o">=</span><span class="s">Lattes</span>
257<span class="na">individualName</span><span class="o">=</span><span class="s">Gérald FENOY</span>
258</pre></div>
259</td></tr></table></div>
260<p>The <code class="docutils literal"><span class="pre">main.cfg</span></code> file contains metadata informations about the identification and provider but also some important settings. The file is composed of various sections, namely <code class="docutils literal"><span class="pre">[main]</span></code>, <code class="docutils literal"><span class="pre">[identification]</span></code> and <code class="docutils literal"><span class="pre">[provider]</span></code> per default.</p>
261<dl class="docutils">
262<dt>From the <code class="docutils literal"><span class="pre">[main]</span></code> section settings are as follow:</dt>
263<dd><ul class="first last simple">
264<li><code class="docutils literal"><span class="pre">lang</span></code>: the supported languages separated by a coma (the first is the default one),</li>
265<li><code class="docutils literal"><span class="pre">version</span></code>: the supported WPS version,</li>
266<li><code class="docutils literal"><span class="pre">encoding</span></code>: the default encoding of WPS Responses,</li>
267<li><code class="docutils literal"><span class="pre">serverAddress</span></code>: the url to access your ZOO-Kernel instance,</li>
268<li><code class="docutils literal"><span class="pre">dataPath</span></code>: the path to store data files (when MapServer support was activated,
269this directory is used to store mapfiles and data).</li>
270<li><code class="docutils literal"><span class="pre">tmpPath</span></code>: the path to store temporary files (such as ExecuteResponse when
271storeExecuteResponse was set to true),</li>
272<li><code class="docutils literal"><span class="pre">tmpUrl</span></code>: a url relative to <code class="docutils literal"><span class="pre">serverAddress</span></code> to access the temporary file,</li>
273<li><code class="docutils literal"><span class="pre">cacheDir</span></code>: the path to store cached request files <a class="footnote-reference" href="#f1" id="id1">[1]</a> (optional),</li>
274<li><code class="docutils literal"><span class="pre">mapservAddress</span></code>: your local MapServer address (optional),</li>
275<li><code class="docutils literal"><span class="pre">msOgcVersion</span></code>: the version for all supported OGC Web Services output <a class="footnote-reference" href="#f2" id="id2">[2]</a>
276(optional).</li>
277</ul>
278</dd>
279</dl>
280<p>The <code class="docutils literal"><span class="pre">[identification]</span></code> and <code class="docutils literal"><span class="pre">[provider]</span></code> section are specific to OGC metadata and
281should be set <a class="footnote-reference" href="#f3" id="id3">[3]</a>.</p>
282<p>Obviously, you are free to add new sections to this file if you need more. Nevertheless, you have to know
283that there is some specific names you should use only for specific
284needs: <code class="docutils literal"><span class="pre">[headers]</span></code>, <code class="docutils literal"><span class="pre">[mapserver]</span></code>, <code class="docutils literal"><span class="pre">[env]</span></code>, <code class="docutils literal"><span class="pre">[lenv]</span></code> and <code class="docutils literal"><span class="pre">[senv]</span></code>.</p>
285<div class="admonition warning">
286<p class="first admonition-title">Warning</p>
287<p class="last"><code class="docutils literal"><span class="pre">[senv]</span></code> and <code class="docutils literal"><span class="pre">[lenv]</span></code> are used / produced on runtime internaly by the ZOO-Kernel and should be defined only from the Service code.</p>
288</div>
289<p>The <code class="docutils literal"><span class="pre">headers</span></code> section is used to define your own HTTP Response
290headers. You may take a look at headers returned by web site such as
291<a class="reference external" href="http://www.zoo-project.org">http://www.zoo-project.org</a> by using curl command line tool for
292instance and notice the specific heder <code class="docutils literal"><span class="pre">X-Powered-By:</span> <span class="pre">Zoo-Project&#64;Trac</span></code>.</p>
293<div class="admonition warning">
294<p class="first admonition-title">Warning</p>
295<p class="last">There is no reason to define basic headers such as
296<code class="docutils literal"><span class="pre">Content-Type</span></code> or <code class="docutils literal"><span class="pre">encoding</span></code> as they will be overwritten at runtime by the
297ZOO-Kernel.</p>
298</div>
299<p>The <code class="docutils literal"><span class="pre">mapserver</span></code> section is used to store specific mapserver configuration parameter
300such as PROJ_LIB and GDAL_DATA or any other you want to be set to make
301your MapServer working.</p>
302<div class="admonition note">
303<p class="first admonition-title">Note</p>
304<p class="last">the <code class="docutils literal"><span class="pre">mapserver</span></code> section is mainly used on WIN32 platform</p>
305</div>
306<p>The <code class="docutils literal"><span class="pre">env</span></code> section is used to store specific environment variables you want to be set
307prior to load your Services Provider and run your Service. A typical example, is when your
308Service requires to access to a X server running on framebuffer, then you will have to
309set the <code class="docutils literal"><span class="pre">DISPLAY</span></code> environnement variable, in this case you would add
310<code class="docutils literal"><span class="pre">DISPLAY=:1</span></code> line in your <code class="docutils literal"><span class="pre">[env]</span></code> section.</p>
311<p>The <code class="docutils literal"><span class="pre">lenv</span></code> is used to store runtime informations automatically set by the
312ZOO-Kernel before running your service and can be accesses / updated from it:</p>
313<blockquote>
314<div><ul class="simple">
315<li><code class="docutils literal"><span class="pre">sid</span></code>: the service unique identifier,</li>
316<li><code class="docutils literal"><span class="pre">status</span></code>: the current progress value (value between 0 and 100, percent),</li>
317<li><code class="docutils literal"><span class="pre">cwd</span></code>: the current working directory of the ZOO-Kernel,</li>
318<li><code class="docutils literal"><span class="pre">message</span></code>: an error message when returning <code class="docutils literal"><span class="pre">SERVICE_FAILED</span></code> (optional),</li>
319<li><code class="docutils literal"><span class="pre">cookie</span></code>: the cookie your service want to return to the client (for authentication
320purpose or tracking).</li>
321</ul>
322</div></blockquote>
323<p>The <code class="docutils literal"><span class="pre">senv</span></code> is used to store session informations on the server
324side. You can then access them automatically from service if the
325server is requested using a valid cookie (as defined in <code class="docutils literal"><span class="pre">lenv</span> <span class="pre">&gt;</span>
326<span class="pre">cookie</span></code>). The ZOO-Kernel will store on disk the values set in the
327<code class="docutils literal"><span class="pre">senv</span></code> maps, then load it and dynamically add its content to the one
328available in the <code class="docutils literal"><span class="pre">main.cfg</span></code>. The <code class="docutils literal"><span class="pre">senv</span></code> section should contain at
329least:</p>
330<blockquote>
331<div><ul>
332<li><dl class="first docutils">
333<dt><code class="docutils literal"><span class="pre">XXX</span></code>: the session unique identifier where <code class="docutils literal"><span class="pre">XXX</span></code> is the name included in the</dt>
334<dd><p class="first last">returned cookie.</p>
335</dd>
336</dl>
337</li>
338</ul>
339</div></blockquote>
340<p id="cookie-example">For instance, if you get the following in your Service source code <a class="footnote-reference" href="#f4" id="id4">[4]</a> :</p>
341<div class="highlight-python"><div class="highlight"><pre><span class="n">conf</span><span class="p">[</span><span class="s">&quot;lenv&quot;</span><span class="p">][</span><span class="s">&quot;cookie&quot;</span><span class="p">]</span><span class="o">=</span><span class="s">&quot;XXX=XXX1000000; path=/&quot;</span>
342<span class="n">conf</span><span class="p">[</span><span class="s">&quot;senv&quot;</span><span class="p">]</span><span class="o">=</span><span class="p">{</span><span class="s">&quot;XXX&quot;</span><span class="p">:</span> <span class="s">&quot;XXX1000000&quot;</span><span class="p">,</span><span class="s">&quot;login&quot;</span><span class="p">:</span> <span class="s">&quot;demoUser&quot;</span><span class="p">}</span>
343</pre></div>
344</div>
345<p>That means that the ZOO-Kernel will create a file <code class="docutils literal"><span class="pre">sess_XXX1000000.cfg</span></code> in the
346<code class="docutils literal"><span class="pre">cacheDir</span></code> and return the specified cookie to the client. Each time the client will
347request the ZOO-Kernel using the Cookie, it will automatically load the value stored
348before running your service. You can then easilly access this informations from your
349service source code. This functionality won&#8217;t be used in the following presentation.</p>
350</div>
351<div class="section" id="testing-the-zoo-installation-with-getcapabilities">
352<h2><a class="toc-backref" href="#table-of-contents">Testing the ZOO installation with GetCapabilities</a><a class="headerlink" href="#testing-the-zoo-installation-with-getcapabilities" title="Permalink to this headline"></a></h2>
353<p>You can request ZOO-Kernel using the following link from your Internet browser:</p>
354<p><a class="reference external" href="http://localhost/cgi-bin/zoo_loader.cgi?Request=GetCapabilities&amp;Service=WPS">http://localhost/cgi-bin/zoo_loader.cgi?Request=GetCapabilities&amp;Service=WPS</a></p>
355<p>You should get a valid Capabilities XML document, looking like the following :</p>
356<a class="reference internal image-reference" href="_images/GC.png"><img alt="_images/GC.png" class="align-center" src="_images/GC.png" style="width: 650px;" /></a>
357<p>Please note that some Process node are returned in the ProcessOfferings section, as somes are available already on OSGeoLive DVD. You can also run a GetCapabilities request from the command line, using the following command:</p>
358<div class="highlight-bash"><div class="highlight"><pre><span class="nb">cd</span> /usr/lib/cgi-bin
359./zoo_loader.cgi “request<span class="o">=</span>GetCapabilities<span class="p">&amp;</span><span class="nv">service</span><span class="o">=</span>WPS”
360</pre></div>
361</div>
362<p>The same result as in your browser will be returned, as shown in the following screenshot:</p>
363<a class="reference internal image-reference" href="_images/GC_CL.png"><img alt="_images/GC_CL.png" class="align-center" src="_images/GC_CL.png" style="width: 450px;" /></a>
364<p>Invoking ZOO Kernel from command line can be helpful during development process of new Services.</p>
365<p class="rubric">Footnotes</p>
366<table class="docutils footnote" frame="void" id="f1" rules="none">
367<colgroup><col class="label" /><col /></colgroup>
368<tbody valign="top">
369<tr><td class="label"><a class="fn-backref" href="#id1">[1]</a></td><td>when you use GET requests passed through <code class="docutils literal"><span class="pre">xlink:href</span></code> the ZOO-Kernel will
370execute the request only once, the first time you will ask for this ressource and it will
371store on disk the result. The next time you will need the same feature, the cached file
372will be used which make your process running faster. If <code class="docutils literal"><span class="pre">cachedir</span></code> was not
373specified in the <code class="docutils literal"><span class="pre">main.cfg</span></code> then <code class="docutils literal"><span class="pre">tmpPath</span></code> value will be used.</td></tr>
374</tbody>
375</table>
376<table class="docutils footnote" frame="void" id="f2" rules="none">
377<colgroup><col class="label" /><col /></colgroup>
378<tbody valign="top">
379<tr><td class="label"><a class="fn-backref" href="#id2">[2]</a></td><td>since version 1.3dev, when MapServer is activated, your service can automatically
380return a WMS, WFS or WCS request to expose your data. Your can set here the specific
381version number you want to use to request your local MapServer setup. It depends
382mostly on the client capability to deal with specific OGC Web Services version.</td></tr>
383</tbody>
384</table>
385<table class="docutils footnote" frame="void" id="f3" rules="none">
386<colgroup><col class="label" /><col /></colgroup>
387<tbody valign="top">
388<tr><td class="label"><a class="fn-backref" href="#id3">[3]</a></td><td>since version 1.3dev, when MapServer is activated, the same metadata will be used
389for setting metadata for OGC Web Services.</td></tr>
390</tbody>
391</table>
392<table class="docutils footnote" frame="void" id="f4" rules="none">
393<colgroup><col class="label" /><col /></colgroup>
394<tbody valign="top">
395<tr><td class="label"><a class="fn-backref" href="#id4">[4]</a></td><td>If you&#8217;re not familiar with ZOO-Project, you can <a class="reference external" href="using_zoo_from_osgeolivevm#testing-the-zoo-installation-with-getcapabilities">pass</a>  this part and come to it after the next section.</td></tr>
396</tbody>
397</table>
398</div>
399</div>
400
401
402          </div>
403          <footer>
404 
405    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
406     
407        <a href="first_service.html" class="btn btn-neutral float-right" title="Creating your first ZOO Service">Next <span class="fa fa-arrow-circle-right"></span></a>
408     
409     
410        <a href="introduction.html" class="btn btn-neutral" title="Introduction"><span class="fa fa-arrow-circle-left"></span> Previous</a>
411     
412    </div>
413 
414
415  <hr/>
416  <div class="pfoot">
417  <div role="contentinfo">
418    <p>
419        &copy; Copyright 2009-2015, ZOO-Project team.
420    </p>
421  </div>
422  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> inspired by <a href="https://readthedocs.org">Read the Docs</a>.
423</div>
424</footer>
425
426        </div>
427      </div>
428
429    </section>
430
431  </div>
432 
433
434
435 
436
437    <script type="text/javascript">
438        var DOCUMENTATION_OPTIONS = {
439            URL_ROOT:'./',
440            VERSION:'1.5',
441            COLLAPSE_INDEX:false,
442            FILE_SUFFIX:'.html',
443            HAS_SOURCE:  true
444        };
445    </script>
446      <script type="text/javascript" src="_static/jquery.js"></script>
447      <script type="text/javascript" src="_static/underscore.js"></script>
448      <script type="text/javascript" src="_static/doctools.js"></script>
449
450 
451
452 
453 
454    <script type="text/javascript" src="_static/js/theme.js"></script>
455 
456
457 
458 
459  <script type="text/javascript">
460      jQuery(function () {
461          SphinxRtdTheme.StickyNav.enable();
462      });
463  </script>
464   
465
466</body>
467</html>
Note: See TracBrowser for help on using the repository browser.

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