The 52°North Web Processing Service

23
The 52°North WPS Benjamin Pross, Daniel Nüst Workshop Geoprocessing on the Web, AGILE 2014

description

Feature description and demonstration of the 52°North implementation of the OGC Web Processing Service interface 1.0.0 along with plans for future development. Prese

Transcript of The 52°North Web Processing Service

Page 1: The 52°North Web Processing Service

The 52°North WPS

Benjamin Pross, Daniel Nüst

Workshop Geoprocessing on the Web, AGILE 2014

Page 2: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 2

Project Factsheet

Started: January 2006

Last version: July 2013, v3.2.0

2-3 Developers, 7 contributors

Docs: Api, Wiki, Workshops

Open Source (GPLv2): http://github.org/52North/WPS

Ohloh: http://www.ohloh.net/p/n52-wps

Page 3: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 3

Page 4: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 4

Feature Overview

● Supports all features and operations of WPS specification version 1.0.0

● Support for several processing backends:○ GRASS 7○ Sextante○ R○ ArcGIS Server○ Java○ Python○ Matlab (new!), supports streaming

● Java Process/R script upload via Web UI● Experimental Transactional Profile (WPS-T)● Store process outputs in Geo-/MapServer● Streaming of process in-/outputs

○ Academic demonstration, uses QGIS Client, currently a branch

Page 5: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 5

Java Processing Backend

Fast & easy process creation using Java annotations

Automatic creation of process description

Automatic (un-)marshalling of inputs/outputs

Upload via Web Console

Page 6: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 6

Page 7: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 7

wps-js

GitHub: https://github.com/52North/wps-js

JavaScript WPS Client

Based on OpenLayers API

(Live demo with WPS4R)

Page 8: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 8

WPS4R

• Semi-automatic creation of WPS processes out of R-scripts

• User needs to annotate inputs/outputs

• Rserve is used to execute scripts• Upload via Web Console

Live demo

Page 9: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 9

Page 10: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 10

Page 11: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 11

Page 12: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 12

Page 13: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 13

Page 14: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 14

Grass 7 process repository

• Grass 7 process repository– Core modules– Addons supported

• Uses wps-grass-bridge by Sören

Demo videoLines of sight algorithm with ArcGIS client See also• http://grass.osgeo.org/grass64/manuals/r.los.html• https://wiki.52north.org/bin/view/Geoprocessing/

EDCDevForumWorkshop-07-2013#Raster_data_processing

Page 15: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 15

Features (cont‘d)

• GeoServer upload– Store process outputs in local/remote

GeoServers• Matlab connection with streaming

– https://github.com/autermann/matlab-wps

– https://github.com/autermann/streaming-wps

Page 16: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 16

USGS Geo Data Portal

Page 17: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 17

Spacebel WPSGetStatus and Cancel operations for flexible process handling

DeployData, UndeployData and DescribeData operations for discovery and handling of auxiliary data (e.g. a landuse layer)

GetAudit for accessing processing execution traces.Transactional backends (a.k.a. repositories) for Apache ODE as a process manager for workflows and the JavaSAGA process manager for Grid processes.

Callback feature for asynchronous status updates (without polling) about process completion and failure, which enables efficient workflows, for example if several web services are chained.

Page 18: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 18

Page 19: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 19

INTAMAP• Real-time mapping of environmental

radioactivity• WPS provides automatic Kriging

interpolation

Page 20: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 20

Upcoming developments

WPS 4.0 ideas and conceptsPractical applications with WPS4RNew Admin interface (GSoC 2013)

Join!Trello board: https://trello.com/b/BNLdKv1U/new-wps-featuresWiki: https://wiki.52north.org/bin/view/Geoprocessing/StructuresAndProcedures

Page 21: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 21

Summary

Open source – contributions welcome!http://52north.org/about/get-involved

Standardized (OGC: BPR, MMÜ)

Stable Java libraries (JTS, geotools, XMLBeans)

Used in productive environments (ESA, USGS)

Manifold processing back-ends

Page 22: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 22

Try it!

http://live.osgeo.org/

http://live.osgeo.org/en/overview/52nWPS_overview.html

Page 23: The 52°North Web Processing Service

52N WPS Feature Frenzy @ AGILE 2014 23

More information:

http://52north.org/wps

http://geoprocessing.demo.52north.org