Web Processing Standards and Application Patterns...Web Processing Standards and Application...

42
Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March 2013 Daniel Nüst 52°North GmbH

Transcript of Web Processing Standards and Application Patterns...Web Processing Standards and Application...

Page 1: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

Web Processing Standards and

Application Patterns

4th Workshop on the use of GIS/OGC Standards in Meteorology

ECMWF, Reading, March 2013

Daniel Nüst

52°North GmbH

Page 2: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

PROCESSING

Page 3: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

What is processing?

Output Data Process

Input Data

control

Definition

Page 4: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

What is web-based Processing?

Output Data Process

Input Data

control

Definition

… insert favourite

TLA data service

or format here …

… insert favourite

TLA data service

or format here …

Page 5: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

What is web-based Processing?

Processing

Environment

Backend

Output Data

Sources

Input Data

Sources

Store / Load

Exchange Process

Process

Process Process

control

Page 6: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

APPLICATION PATTERNS

Page 7: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Sharing

Knowledge

Sharing

Work

Motivation

Page 8: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-------------------------

-----------------------

Page 9: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Web Processing

Application

Output Data

Web

Processing

Service

Input Data

Data

Service

Data

Service

control

Organisation

Page 10: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Distribution and Collaboration

Application

Output Data

Web

Processing

Service

Input Data

Data

Service

Data

Service

control

ACME Organisation A

Organisation 42

Web

Processing

Service Web

Processing

Service Web

Processing

Service

Page 11: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Deployment Variants

Processes local remote

remote

local

Spatial

Data

Everything‘s

local

Process external

data sources in

your local

environment.

B)

Process your

local data in an

external

environment

Process external

data sources in

an external

environment

A) C)

D)

Page 12: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Moving Code

Process*

Environment A Environment B

(*) functional description, platform description, hardware

description/infrastructure, explotation rights/licenses/terms of use, …

Page 13: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Enabling Generic Views

Processing

Environment

Online Data

Sources

Process

Web based control (e.g. mobile)

Output

Document

Real-time Data

Sources

Process Process

Page 14: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Streaming

Data Processing

Environment

Process

t

Data

Data

Data

Data

Data

Data

Data

Data

Output

Output

Output

Output

Output

Foerster, Schäffer, G.Carillo

Page 15: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Control Layer

Processing

Environment

Data

(local, large)

Output control

C Scripts

controlled by

Python Control

Layer

Local/Monolithic/Legacy

Software

Script Script Script Script

client

HTTP

Standardized

Page 16: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

WPS

GetCapabilities

DescribeProcess

Execute

More:

http://www.ogcnetwork.net/wps

http://www.photo-dictionary.com/phrase/1389/swiss-knife.html

http://www.formengifts.com/victorinox-swiss-army-swiss-champ-multitool-knife/

Page 17: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

State of WPS 2.0

Active SWG https://portal.opengeospatial.org/?m=projects&a=view&project_id=315

Discussions on mailing list, Telcos

Roadmap: 2.0

> existing CRs only, 3rd quarter 2013

> discussion: “core”, Simple WPS

Page 18: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

WCPS

Coverage processing language

Interface to coverages (4d+)

Semantic interoperability (!= WPS)

More:

http://www.ogcnetwork.net/wcps http://en.wikipedia.org/wiki/Web_Coverage_Processing_Service

Page 19: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

EXAMPLE SCENARIOS

Page 20: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

SSEGrid

Satellite Data

SOA and Grid

WPS-G (extension, based on WPS-T) (un)deployment of processes and data, process mgmt (monitor,

control), download results

http://blog.52north.org/2013/01/14/a-look-into-wps-branches-today-spacebel/

http://wiki.services.eoportal.org/tiki-index.php?page=SSEGrid

Page 21: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Page 22: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Wrapping Script Language

WPS4R

Page 23: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Page 24: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Page 25: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Page 26: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Page 27: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Page 28: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Page 29: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

BIG PICTURE

Page 30: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

theoretical

investigation

laboratory

experiment

S C I E N C E

simulation/

computation data

analysis

Page 31: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

http://xkcd.com/927/

Page 32: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Challenges

Exchangeability and Interoperability of Processes versus

(Identifier Problem)

Lingua Franca for Processes across Domains?

Security

Reusability | Scalability | Performance

Documentation and Discovery

Granularity

Page 33: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Recommendations for Met

a) Collect collaboration points. (common “pains” vs. huge problems, don’t limit

yourself to data)

b) Discuss where “sharing” is useful, and

possible.

c) Do a vertical crosscut… learn.

d) Define profiles and best practices. > Identify requirements now, be ready to build upon WPS 2.0

e) Use open approaches (e.g. open

source source software) and share!

Page 34: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

More information:

http://52north.org/processing

[email protected]

@FiveTwoN

?

Page 35: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

FURTHER RESOURCES

Page 36: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Research

Computers & Geosciences Special Issue

Towards a Geoprocessing Web

http://www.sciencedirect.com/science/journal/00983004/47/supp/C

The OGC web coverage processing service (WCPS) standard.

http://www.informatik.uni-

trier.de/~ley/db/journals/geoinformatica/geoinformatica14.html

Page 37: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

WPS Implementations

Server

http://en.wikipedia.org/wiki/Web_Processing_Service

Open Source: 52°North, Geoserver, pyWPS,

degree, ZOO project

Clients

ArcGIS, uDig, Jump, OpenLayers >

http://52north.org/wps/

Please let me know if you are aware of other

implementations!

Page 38: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Report Generation - Example

Page 39: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

ArcGIS Client

Page 40: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

INTeroperability and Automated MAPping

“backend” R package

– http://www.intamap.org/intamap-package.php

WPS Server

O&M Input

Clients – JAVA API

– Stand-alone: http://www.intamap.org/tryGenericClient.php

Page 41: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Communities Company

Long Term License Management

Code Repositories

is a dissemination platform is a service center

52°North does applied research and …

is a collaboration network

http://52north.org/about/partners/

GENESIS

OSIRIS

UncertWeb

INTAMAP

DETECT

GeoViQua

OWS

Page 42: Web Processing Standards and Application Patterns...Web Processing Standards and Application Patterns 4th Workshop on the use of GIS/OGC Standards in Meteorology ECMWF, Reading, March

4th Workshop on GIS/OGC in Meteorology, Reading 2013

Communities Collaboration

http://52north.org/about/partners/

Ilwis

Geoprocessing

Earth

Observation

Geostatistics

3D

Metadata

Management

Security

Semantics

Sensor

Web