Changes between Version 22 and Version 23 of ZooWorkshop/FOSS4GJapan/CreatingOGRBasedWebServices
- Timestamp:
- Oct 15, 2010, 11:15:52 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWorkshop/FOSS4GJapan/CreatingOGRBasedWebServices
v22 v23 151 151 In order to learn the Services Provider creation and deployement step-by-step, we will first focus on creating a very simple one dedicated to the Boundary function. Similar procedure will then be used for the Buffer, Centroid and !ConvexHull implementation. 152 152 153 Your metadata is now ok, so you now must create the code of your Service. The most important thing you must be aware of when coding ZOO Services is that the function corresponding to your Service takes three parameters (internal maps datatype or Python dictionaries) and returns an integer value representing the status of execution ({{{SERVICE_FAILED}}} or {{{SERVICE_SUCCEEDED}}}) :153 Your metadata is now ok, so you now must create the code of your Service. The most important thing you must be aware of when coding ZOO Services is that the function corresponding to your Service takes three parameters (internal maps datatype or [http://docs.python.org/tutorial/datastructures.html#dictionaries Python dictionaries]) and returns an integer value representing the status of execution ({{{SERVICE_FAILED}}} or {{{SERVICE_SUCCEEDED}}}) : 154 154 155 155 * {{{conf}}} : The main environment configuration (corresponding to the main.cfg content)