Changeset 265


Ignore:
Timestamp:
Jul 15, 2011, 8:55:02 PM (13 years ago)
Author:
jmckenna
Message:

fix headings, to avoid the latex 'too deeply nested' errors during pdf creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/workshop/2010/ogr_base_vect_ops.txt

    r262 r265  
    22
    33Creating OGR based Web Services
    4 ###############################
     4===============================
    55
    66.. contents:: Table of Contents
     
    99
    1010Introduction
    11 ************
     11------------
    1212
    1313In this part, we are going to create a ZOO ServicesProvider containing several Services
     
    2929
    3030Preparing ZOO metadata file
    31 ***************************
     31---------------------------
    3232
    3333A ZOO Service is a combination of a ZOO metadata file (``.zcfg``) and the runtime module
     
    196196
    197197Implementing single geometry services
    198 *************************************
     198-------------------------------------
    199199
    200200In order to learn the Services Provider creation and deployement step-by-step,
     
    213213
    214214Boundary
    215 ========
     215********
    216216
    217217C Version
    218 ---------
     218^^^^^^^^^
    219219
    220220As explained before, ZOO Kernel will pass the parameters to your Service function
     
    436436      geometry=createGeometryFromWFS(conf,tmp->value);
    437437
    438 Basicaly, if we get an input with a mimeType set to application/json, then we will
     438Basically, if we get an input with a mimeType set to application/json, then we will
    439439use our ``OGR_G_CreateGeometryFromJson`` in other case, our ``createGeometryFromWFS`` local function.
    440440
     
    577577
    578578Python Version
    579 --------------
     579^^^^^^^^^^^^^^
    580580
    581581For those using Python to implement their ZOO Services Provider, the full code to copy in
     
    634634
    635635Testing the Service using Execute Request
    636 -----------------------------------------
    637 
    638 The simple and unreadable way
    639 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     636^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     637
     638**The simple and unreadable way**
    640639
    641640Everybody should now get his own copy of the OGR Boundary Service stored as a ZOO
     
    731730   :align: center
    732731
    733 Simplification and readability of request
    734 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     732**Simplification and readability of request**
    735733
    736734As you can see in the simple example we used since the begining of this workshop,
     
    812810``@mimeType=application/json`` as we discussed before.
    813811
    814 storeExecuteResponse parameter and GetStatus Service
    815 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     812**storeExecuteResponse parameter and GetStatus Service**
    816813
    817814If you go in your local ``/home/user/zoows/sources/zoo-services/utils/status``, you'll
     
    880877
    881878Creating Services for other functions (ConvexHull and Centroid)
    882 ===============================================================
     879***************************************************************
    883880
    884881As the Boundary sample service code is available, you can now easily add ConvexHull and
     
    888885
    889886C Version
    890 ---------
     887^^^^^^^^^
    891888
    892889Please add first the following code to the service.c source code :
     
    10221019
    10231020Python Version
    1024 --------------
     1021^^^^^^^^^^^^^^
    10251022
    10261023.. code-block:: guess
     
    11071104
    11081105Create the Buffer Service
    1109 =========================
     1106*************************
    11101107
    11111108We can now work on the Buffer Service, which takes more arguments than the other ones.
     
    11181115
    11191116C Version
    1120 ---------
     1117^^^^^^^^^
    11211118
    11221119If you go back to the first Boundary Service source code, you should not find the
     
    12261223
    12271224Python Version
    1228 --------------
     1225^^^^^^^^^^^^^^
    12291226
    12301227As we already defined the utility functions createGeometryFromWFS and outputResult,
     
    12511248
    12521249The Buffer MetadataFile file
    1253 ----------------------------
     1250^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    12541251
    12551252You must add BufferDistance to the Service Metadata File to let clients know that
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