OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28...

18
OGC Web Processing Service (WPS) – Towards Version 2.0 Dr. Christian Kiehle [email protected] lat/lon GmbH, Bonn

Transcript of OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28...

Page 1: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

OGC Web Processing Service (WPS) – Towards Version 2.0

Dr. Christian [email protected]/lon GmbH, Bonn

Page 2: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Who?

• lat/lon GmbH, Bonn 2000: Spin-Off, Institute of Geography, University of Bonn 15 people, interdisciplinary background (Computer Sciences, Geoinformatics, Geography,

Environmental Sciences, etc.) Software Engineering, Consulting, R&D Open Source Framework deegree (OSGeo-Project) Open Geospatial Consortium member

• Dr. Christian Kiehle Since 2009: Co-Chair of Web Processing Service Standards Working Group Since 2007: Project Lead, Technical Representative for the OGC Before 2007: Software Productmanager GIS (Map24), TR for RWTH Aachen University &

Mapsolute GmbH Research Associate

Page 3: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Agenda

• Introduction to Spatial Data Infrastructures (SDI) & Web Processing

• OGC Web Processing Service

• Use Cases

• Outlook

Page 4: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Spatial Data Infrastructure = spatially enabled SOA

Processing Services

WCTS

Local Network

(Geo)DB

GIS

Visualisation / MapsGeoprocessing

Management of spatial Data

GeodataFile-based

WPS

Visualisation Serv.

WMS WTS

WFS WCS

Data Services

WFS-T WCS

BrowserApplication

Client

NetworkApplication Server

ApplicationClient

Page 5: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

http://www.deegree.org/

.orgOSGeo Project lead by WG GIS, Geogr. Inst., Uni Bonn & lat/lon GmbHFree Software (LGPL)

.aimInteroperabilityGeodatamanagement

Spatial Data Infrastructure Components

.howISO-Models and OGC-Interfaces

Abstraction of Datasources~ 2.000 Java-Classes

.nowMost comprehensive implementation of OGC/ISO-StandardsWMS & WCS (OGC-Referenzimplementierungen), WFS, CSW, WTS, WPS,

u.v.m.

Page 6: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Dr. C. Kiehle | February 26th 2008 | Slide 6

Web Processing Service

• Interface for Processes Description Execution

• OGC compliant (in contrast to SOAP / WSDL)

t

• Generic approach• Three interfaces:

GetCapabilities DescribeProcess (processIdentifier)

D

Execute (request)

E

• Basis for service chaining / orchestration

• Not aware of Grid middlewares & Security

Page 7: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

WPS History

• Early draft in 2004• Interoperability Experiment for rapid prototyping• Initialisation of a Working Group to define a „Web Processing

Service Implementation Specification“• International Working Group• December 2007: Final Version of WPS 1.0.0• Currently several implementations available• Corrigendum for WPS 1.0.0• More than 10 Change Requests for WPS 1.0.0 received• Since 2009: WPS 2.0.0 Standards Working Group established

Page 8: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Grid- vs. OGC Mechanisms for DDM

Based on Hobona et al. 2007

Grid-ComputingDiscovery

Description

Messaging SOAP ImageASCII

OGC WebservicesUDDI CS-WMDSWSDL GetCapabilities

DescribeCoverageDescribeFeatureTypeDescribeRecordDescribeSensorDescribeProcess<operation>

XML (e.g. GML)

Page 9: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

WPS 1.0 Shortcomings

• No mechanisms for process management (e.g. pausing a process, restarting it, etc.)

• No support for asynchronous processing• Not very flexible in terms of extensibility• Datatypes too generic

Page 10: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

WPS 2.0 supports Asynchronous Processing

• Abort• Pause• Resume• GetStatus• MaxWaitTime

Page 11: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Abort operation request

<?xml version="1.0" encoding="UTF-8"?>

<wps:Abort xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 ../wpsAbort_request.xsd" service="WPS" version="1.0.0" language="en-CA">

<ows:Identifier>cb1557397169547d63c2d1388e8dd810</ows:Identifier>

</wps:Abort>

Page 12: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Abort operation response

<?xml version="1.0" encoding="UTF-8"?>

<wps:ExecuteResponse xmlns:wps=http://www.opengis.net/wps/1.0.0......statusLocation="cb1557397169547d63c2d1388e8dd810" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsExecute_response.xsd">

<wps:Process wps:processVersion="1.0">

<ows:Identifier>RunTraj</ows:Identifier>

<ows:Title>BADC Trajectory Service</ows:Title>

</wps:Process>

<wps:Status creationTime="2009-05-29T13:00:03.0Z">

<wps:ProcessTerminated terminationTime="2009-05-29T14:00:03.0Z"/>

</wps:Status>

<wps:ProcessOutputs>...................................</wps:ProcessOutputs>

</wps:ExecuteResponse>

Page 13: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

WPS 2.0 – Core / Extension Model

Page 14: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Use Cases

Page 15: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Environmental Risk Assessment

• Spatial Data from distributed resources

• Different Datamodels Rasterdata Vectordatal 3D-/4D-Models CAD-based Models

• Processing of data is time consuming

• → Grid-Computing offers good economies of scale

Page 16: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Processing of distributed geodata

Geology

Water

Groundwater

Arthesian Pressure

Soil

DQWMgBSn

iii ++⋅

+= ∑

= 1

Page 17: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Conclusions & Outlook

• WPS 2.0 will be More modular (by applying the core-/extension-model) Support asynchronous processing Support more data types, esp. OGC Webservices Easier to implement Better suited for Grid-computing

• Current timeframe: Finish draft within 2010• First implementations will likely be available in 2011

Page 18: OGC Web Processing Service (WPS) - Towards Version 2 · 2010. 3. 29. · Kiehle: WPS 2.0 @ OGF-28 WPS History •Early draft in 2004 •Interoperability Experiment for rapid prototyping

Kiehle: WPS 2.0 @ OGF-28

Thank You for Your Attention!

Dr. Christian Kiehle

[email protected]

http://www.gdi-grid.de

l a t / l o n GmbH

Aennchenstrasse 19 53177 Bonn, Germany

phone ++49 +228 184960 fax ++49 +228 1849629

http://www.lat-lon.de http://www.deegree.org