Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
PyWPS 3.1.0: what’s new, what’s next                                 Release                         Jachym Cepicky       ...
CONTENTS1   PyWPS 3.1.0                                                                                                   ...
ii
PyWPS 3.1.0: what’s new, what’s next, ReleasePyWPS (Python Web Processing Service) is an implementation of the Web process...
PyWPS 3.1.0: what’s new, what’s next, Release2                                               CONTENTS
CHAPTER                                                                          ONE                                      ...
PyWPS 3.1.0: what’s new, what’s next, Release1.3 BugfixesAbout 40 bugs fixed, in Templates, program code, fixes for MS Window...
CHAPTER                                                                                                          TWO      ...
PyWPS 3.1.0: what’s new, what’s next, Release    • cancel -> cancelProcess2.2.2 Change Request Summary - Add “Get Status M...
CHAPTER                                           THREE                                            FINJachym CepickyHelp S...
PyWPS 3.1.0: what’s new, what’s next, Release8                                               Chapter 3. Fin
CHAPTER                                FOUR                 INDICES AND TABLES• Index• Module Index• Search Page          ...
Py wps301whatsnewwhatsnext
Upcoming SlideShare
Loading in …5
×

Py wps301whatsnewwhatsnext

585 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Py wps301whatsnewwhatsnext

  1. 1. PyWPS 3.1.0: what’s new, what’s next Release Jachym Cepicky September 17, 2009
  2. 2. CONTENTS1 PyWPS 3.1.0 3 1.1 Support on MS Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 New JavaScript (OpenLayers-based) generic WPS client . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Bugfixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4 Updated examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.5 Example usage: INSPIRE Transformation service . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 What’s going to be developed 5 2.1 WSDL and SOAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2 WPS 2.0.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Fin 74 Indices and tables 9 i
  3. 3. ii
  4. 4. PyWPS 3.1.0: what’s new, what’s next, ReleasePyWPS (Python Web Processing Service) is an implementation of the Web processing Service standard from OpenGeospatial Consortium.It has been started in Mai 2006 as a project supported by DBU and is currently (2009) mainly sponsored by HS-RS.It offers an environment for programming own processes (geofunctions or models) which can be accessed from thepublic. The main advantage of PyWPS is, that it has been written with native support for GRASS GIS. Access toGRASS modules via web interface should be as easy as possible.2009-06-01 PyWPS 3.1.0Contents:CONTENTS 1
  5. 5. PyWPS 3.1.0: what’s new, what’s next, Release2 CONTENTS
  6. 6. CHAPTER ONE PYWPS 3.1.0What’s new in PyWPS 3.1.01.1 Support on MS WindowsCurrently is is not possible to run PyWPS in asynchronous modepywps/Wps/Execute.py:194 try:195 # this is the parent process196 if os.fork():197 # exit here198 return199 # this is the child process200 else:201 # continue execution202 passWe have to use the subprocess module.Tested on Windows XP SP2 and OSGeo4Win package.1.2 New JavaScript (OpenLayers-based) generic WPS clientvar wps = new OpenLayers.WPS("http://foo/bar/wps", ....);wps.getCapabilities();...wps.describeProcess("someProcess");...someProcess.getInput("someIdentifier").setValue("something");someProcess.assync = true;wps.execute("someProcess"); 3
  7. 7. PyWPS 3.1.0: what’s new, what’s next, Release1.3 BugfixesAbout 40 bugs fixed, in Templates, program code, fixes for MS Windows, ...1.4 Updated examplesReady-to-use examples of processes in doc/examples/processes.1.5 Example usage: INSPIRE Transformation serviceINSPIRE Draft Implementing rule for Transformation Service • GML 3.1.x • WFS 2.x • ...HS-RS Transformation Service4 Chapter 1. PyWPS 3.1.0
  8. 8. CHAPTER TWO WHAT’S GOING TO BE DEVELOPED2.1 WSDL and SOAPAccording to WPS 1.0.0, the server should (optionally) support WSDL and SOAP interfaces. The SOAP is onlyenvelop to existing request types (GetCapabilities, DescribeProcess, Execute).PyWPS trunk currently supports basic WSDL and SOAP interfaces.:<?xml version="1.0" encoding="UTF-8"?><!-- WPS GetCapabilities request encoded in SOAP --><!-- Equivalent GET request is http://foo.bar/foo?Service=WPS&Version=1.0.0&Request=GetCapabilities&L<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.w3.org/2003/05/soap-envelope http://www.w3.org/2003/05/soap-envelope"> <soap:Body> <GetCapabilities xmlns="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/199 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 ../wpsGetCapabilities_re language="en-CA" service="WPS"> <AcceptVersions> <ows:Version>1.0.0</ows:Version> </AcceptVersions> </GetCapabilities> </soap:Body></soap:Envelope>2.2 WPS 2.0.0Changes in WPS standard are going to be implemented.2.2.1 CR 09-093 -WPS Change Request - Controlling Asynchronous ProcessDuring the first teleconference the group decided to create separate procedures for each state change: • pause -> pauseProcess • resume -> resumeProcess 5
  9. 9. PyWPS 3.1.0: what’s new, what’s next, Release • cancel -> cancelProcess2.2.2 Change Request Summary - Add “Get Status Method”Instead of observing given URL2.2.3 CR09-107 - Simplify KVP Encoding • Eliminate the Service, Version, Request, and Identifier request parameters. • Eliminate the double URL encoding required for DataInputs, ResponseDocument, and RawDataOutput • Merge the DescribeProcess with the Execute operation • Repeat selected contents of the Capabilities response with the DescribeProcess response6 Chapter 2. What’s going to be developed
  10. 10. CHAPTER THREE FINJachym CepickyHelp Service - Remote Sensing s.r.o.jachym.cepicky@gmail.comhttp://les-ejk.cz/, http://www.bnhelp.czhttp://pywps.wald.intevation.org 7
  11. 11. PyWPS 3.1.0: what’s new, what’s next, Release8 Chapter 3. Fin
  12. 12. CHAPTER FOUR INDICES AND TABLES• Index• Module Index• Search Page 9

×