- Timestamp:
- Jun 30, 2015, 6:36:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PublicaMundi_David-devel/workshop/2010/ogr_base_vect_ops.rst
r689 r715 2 2 3 3 Creating OGR based Web Services 4 =============================== 4 ====================================================== 5 5 6 6 .. contents:: Table of Contents … … 9 9 10 10 Introduction 11 ------------ 11 -------------------------------------------------------------------- 12 12 13 13 In this part, we are going to create a ZOO ServicesProvider containing several Services … … 29 29 30 30 Preparing ZOO metadata file 31 --------------------------- 31 -------------------------------------------------------------------- 32 32 33 33 A ZOO Service is a combination of a ZOO metadata file (``.zcfg``) and the runtime module … … 196 196 197 197 Implementing single geometry services 198 ------------------------------------- 198 ------------------------------------------------------------------------------ 199 199 200 200 In order to learn the Services Provider creation and deployement step-by-step, … … 213 213 214 214 Boundary 215 ******** 215 .......................................................................................................................................................... 216 216 217 217 C Version 218 ^^^^^^^^^ 218 ******************************************************************************************************* 219 219 220 220 As explained before, ZOO Kernel will pass the parameters to your Service function … … 577 577 578 578 Python Version 579 ^^^^^^^^^^^^^^ 579 ******************************************************************************************************* 580 580 581 581 For those using Python to implement their ZOO Services Provider, the full code to copy in … … 634 634 635 635 Testing the Service using Execute Request 636 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 636 ............................................................................................................................................... 637 637 638 638 **The simple and unreadable way** … … 877 877 878 878 Creating Services for other functions (ConvexHull and Centroid) 879 *************************************************************** 879 ......................................................................................................................................................... 880 880 881 881 882 As the Boundary sample service code is available, you can now easily add ConvexHull and … … 885 886 886 887 C Version 887 ^^^^^^^^^ 888 888 ******************************************************************************************************* 889 889 Please add first the following code to the service.c source code : 890 890 … … 1019 1019 1020 1020 Python Version 1021 ^^^^^^^^^^^^^^ 1021 ******************************************************************************************************* 1022 1022 1023 1023 .. code-block:: guess … … 1104 1104 1105 1105 Create the Buffer Service 1106 ************************* 1106 1107 1107 1108 1108 We can now work on the Buffer Service, which takes more arguments than the other ones. … … 1115 1115 1116 1116 C Version 1117 ^^^^^^^^^ 1117 ******************************************************************************************************* 1118 1118 1119 1119 If you go back to the first Boundary Service source code, you should not find the … … 1223 1223 1224 1224 Python Version 1225 ^^^^^^^^^^^^^^ 1225 ******************************************************************************************************* 1226 1226 1227 1227 As we already defined the utility functions createGeometryFromWFS and outputResult, … … 1248 1248 1249 1249 The Buffer MetadataFile file 1250 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1250 ******************************************************************************************************* 1251 1251 1252 1252 You must add BufferDistance to the Service Metadata File to let clients know that
Note: See TracChangeset
for help on using the changeset viewer.