SlideShare a Scribd company logo
PyWPS 3.1.0: what’s new, what’s next
                                 Release




                         Jachym Cepicky




                            September 17, 2009
Py wps301whatsnewwhatsnext
CONTENTS



1   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 . . .         .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   4

2 What’s going to be developed                                                                                                                                      5
  2.1 WSDL and SOAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                         5
  2.2 WPS 2.0.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                     5

3 Fin                                                                                                                                                               7

4   Indices and tables                                                                                                                                              9




                                                                                                                                                                    i
ii
PyWPS 3.1.0: what’s new, what’s next, Release


PyWPS (Python Web Processing Service) is an implementation of the Web processing Service standard from Open
Geospatial 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 the
public. The main advantage of PyWPS is, that it has been written with native support for GRASS GIS. Access to
GRASS modules via web interface should be as easy as possible.
2009-06-01 PyWPS 3.1.0
Contents:




CONTENTS                                                                                                      1
PyWPS 3.1.0: what’s new, what’s next, Release




2                                               CONTENTS
CHAPTER

                                                                          ONE



                                                                 PYWPS 3.1.0

What’s new in PyWPS 3.1.0


1.1 Support on MS Windows
Currently is is not possible to run PyWPS in asynchronous mode
pywps/Wps/Execute.py:

194                      try:
195                           # this is the parent process
196                           if os.fork():
197                               # exit here
198                               return
199                           # this is the child process
200                           else:
201                               # continue execution
202                               pass

We have to use the subprocess module.
Tested on Windows XP SP2 and OSGeo4Win package.


1.2 New JavaScript (OpenLayers-based) generic WPS client

var 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
PyWPS 3.1.0: what’s new, what’s next, Release



1.3 Bugfixes
About 40 bugs fixed, in Templates, program code, fixes for MS Windows, ...


1.4 Updated examples
Ready-to-use examples of processes in doc/examples/processes.


1.5 Example usage: INSPIRE Transformation service
INSPIRE Draft Implementing rule for Transformation Service

    • GML 3.1.x
    • WFS 2.x
    • ...

HS-RS Transformation Service




4                                                                          Chapter 1. PyWPS 3.1.0
CHAPTER

                                                                                                          TWO



          WHAT’S GOING TO BE DEVELOPED

2.1 WSDL and SOAP
According to WPS 1.0.0, the server should (optionally) support WSDL and SOAP interfaces. The SOAP is only
envelop 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.0
Changes in WPS standard are going to be implemented.


2.2.1 CR 09-093 -WPS Change Request - Controlling Asynchronous Process

During the first teleconference the group decided to create separate procedures for each state change:

    • pause -> pauseProcess
    • resume -> resumeProcess


                                                                                                              5
PyWPS 3.1.0: what’s new, what’s next, Release


    • cancel -> cancelProcess


2.2.2 Change Request Summary - Add “Get Status Method”

Instead of observing given URL


2.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 response




6                                                                  Chapter 2. What’s going to be developed
CHAPTER

                                           THREE



                                            FIN

Jachym Cepicky
Help Service - Remote Sensing s.r.o.
jachym.cepicky@gmail.com
http://les-ejk.cz/, http://www.bnhelp.cz
http://pywps.wald.intevation.org




                                                 7
PyWPS 3.1.0: what’s new, what’s next, Release




8                                               Chapter 3. Fin
CHAPTER

                                FOUR



                 INDICES AND TABLES

• Index
• Module Index

• Search Page




                                     9

More Related Content

PDF
Exch2007 sp1 win2008
PPTX
Ch10.애플리케이션 서버의 병목_발견_방법
PDF
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
PDF
Cepicky pywps-3.0.0
PDF
PDF DevOps with OpenShift 1st Edition Mike Hepburn download
PDF
Download full DevOps with OpenShift 1st Edition Mike Hepburn ebook all chapters
PDF
Userguide
PDF
Userguide
Exch2007 sp1 win2008
Ch10.애플리케이션 서버의 병목_발견_방법
Enterprise manager cloud control 12c(12.1) &agent安装图文指南
Cepicky pywps-3.0.0
PDF DevOps with OpenShift 1st Edition Mike Hepburn download
Download full DevOps with OpenShift 1st Edition Mike Hepburn ebook all chapters
Userguide
Userguide

Similar to Py wps301whatsnewwhatsnext (20)

PDF
Web Development With Java Using Hibernate Jsps And Servlets Tim Downey
PDF
Openobject install
PDF
Pragmatic Version Control Using Subversion 1st Edition Mike Mason
PDF
Instant download Architecture Patterns with Python 1st Edition Harry Percival...
PDF
Architecture Patterns with Python 1st Edition Harry Percival
PDF
Learning Node Moving to the Server Side Early Release Shelley Powers 2024 sc...
PDF
Openobject bi
PDF
tutorial quantum gis
PDF
Openobject install
PDF
Developing Backbone js Applications Addy Osmani
PDF
Instant download Developing Backbone js Applications Addy Osmani pdf all chapter
PDF
PDF
PDF
Developing Backbone js Applications Addy Osmani
PDF
Node Up And Running Scalable Serverside Code With Javascript 1st Edition Tom ...
PDF
Complete-NGINX-Cookbook-2019.pdf
PDF
Openobject bi
PDF
Webapp2 2.2
Web Development With Java Using Hibernate Jsps And Servlets Tim Downey
Openobject install
Pragmatic Version Control Using Subversion 1st Edition Mike Mason
Instant download Architecture Patterns with Python 1st Edition Harry Percival...
Architecture Patterns with Python 1st Edition Harry Percival
Learning Node Moving to the Server Side Early Release Shelley Powers 2024 sc...
Openobject bi
tutorial quantum gis
Openobject install
Developing Backbone js Applications Addy Osmani
Instant download Developing Backbone js Applications Addy Osmani pdf all chapter
Developing Backbone js Applications Addy Osmani
Node Up And Running Scalable Serverside Code With Javascript 1st Edition Tom ...
Complete-NGINX-Cookbook-2019.pdf
Openobject bi
Webapp2 2.2
Ad

More from Jachym Cepicky (20)

PDF
Switch from shapefile
PDF
Python testing-frameworks overview
PPTX
What is the price of open source
PDF
PyWPS-4.0.0
PDF
Testing web application with Python
PPTX
Danube hack 2015 - Open (-data, -communities)
PDF
Push it through the wire
PDF
How Prague is opening data
PDF
Webgis, Cloud computing, OGC OWS
PDF
Co může udělat vaše firma pro open source
PDF
Otevřené standardy, Otevřená data, Otevřený software, Otevření lidé
PDF
Úvod do otevřená geoinfrastruktury
PDF
PyWPS Status report
PDF
Geosense Geoportal
PDF
Cepicky pywps4
PDF
Sdílené intelektuální spoluvlastnictví
PDF
Co brání většímu rozšíření open source nástrojů
PDF
Open Source JavaScript Mapping Framework
PDF
PyWPS at COST WPS Workshop
PDF
Cepicky osgeocz
Switch from shapefile
Python testing-frameworks overview
What is the price of open source
PyWPS-4.0.0
Testing web application with Python
Danube hack 2015 - Open (-data, -communities)
Push it through the wire
How Prague is opening data
Webgis, Cloud computing, OGC OWS
Co může udělat vaše firma pro open source
Otevřené standardy, Otevřená data, Otevřený software, Otevření lidé
Úvod do otevřená geoinfrastruktury
PyWPS Status report
Geosense Geoportal
Cepicky pywps4
Sdílené intelektuální spoluvlastnictví
Co brání většímu rozšíření open source nástrojů
Open Source JavaScript Mapping Framework
PyWPS at COST WPS Workshop
Cepicky osgeocz
Ad

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
Empathic Computing: Creating Shared Understanding
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Cloud computing and distributed systems.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Approach and Philosophy of On baking technology
Empathic Computing: Creating Shared Understanding
The Rise and Fall of 3GPP – Time for a Sabbatical?
Chapter 3 Spatial Domain Image Processing.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
20250228 LYD VKU AI Blended-Learning.pptx
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
Spectroscopy.pptx food analysis technology
Cloud computing and distributed systems.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
sap open course for s4hana steps from ECC to s4
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Mobile App Security Testing_ A Comprehensive Guide.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Building Integrated photovoltaic BIPV_UPV.pdf

Py wps301whatsnewwhatsnext

  • 1. PyWPS 3.1.0: what’s new, what’s next Release Jachym Cepicky September 17, 2009
  • 3. CONTENTS 1 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 What’s going to be developed 5 2.1 WSDL and SOAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2 WPS 2.0.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3 Fin 7 4 Indices and tables 9 i
  • 4. ii
  • 5. PyWPS 3.1.0: what’s new, what’s next, Release PyWPS (Python Web Processing Service) is an implementation of the Web processing Service standard from Open Geospatial 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 the public. The main advantage of PyWPS is, that it has been written with native support for GRASS GIS. Access to GRASS modules via web interface should be as easy as possible. 2009-06-01 PyWPS 3.1.0 Contents: CONTENTS 1
  • 6. PyWPS 3.1.0: what’s new, what’s next, Release 2 CONTENTS
  • 7. CHAPTER ONE PYWPS 3.1.0 What’s new in PyWPS 3.1.0 1.1 Support on MS Windows Currently is is not possible to run PyWPS in asynchronous mode pywps/Wps/Execute.py: 194 try: 195 # this is the parent process 196 if os.fork(): 197 # exit here 198 return 199 # this is the child process 200 else: 201 # continue execution 202 pass We have to use the subprocess module. Tested on Windows XP SP2 and OSGeo4Win package. 1.2 New JavaScript (OpenLayers-based) generic WPS client var 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
  • 8. PyWPS 3.1.0: what’s new, what’s next, Release 1.3 Bugfixes About 40 bugs fixed, in Templates, program code, fixes for MS Windows, ... 1.4 Updated examples Ready-to-use examples of processes in doc/examples/processes. 1.5 Example usage: INSPIRE Transformation service INSPIRE Draft Implementing rule for Transformation Service • GML 3.1.x • WFS 2.x • ... HS-RS Transformation Service 4 Chapter 1. PyWPS 3.1.0
  • 9. CHAPTER TWO WHAT’S GOING TO BE DEVELOPED 2.1 WSDL and SOAP According to WPS 1.0.0, the server should (optionally) support WSDL and SOAP interfaces. The SOAP is only envelop 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.0 Changes in WPS standard are going to be implemented. 2.2.1 CR 09-093 -WPS Change Request - Controlling Asynchronous Process During the first teleconference the group decided to create separate procedures for each state change: • pause -> pauseProcess • resume -> resumeProcess 5
  • 10. PyWPS 3.1.0: what’s new, what’s next, Release • cancel -> cancelProcess 2.2.2 Change Request Summary - Add “Get Status Method” Instead of observing given URL 2.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 response 6 Chapter 2. What’s going to be developed
  • 11. CHAPTER THREE FIN Jachym Cepicky Help Service - Remote Sensing s.r.o. jachym.cepicky@gmail.com http://les-ejk.cz/, http://www.bnhelp.cz http://pywps.wald.intevation.org 7
  • 12. PyWPS 3.1.0: what’s new, what’s next, Release 8 Chapter 3. Fin
  • 13. CHAPTER FOUR INDICES AND TABLES • Index • Module Index • Search Page 9