OGC Web Processing Service 2 0 SWG Insights
OGC Web Processing Service 2. 0 SWG Insights from last TC OGC Yves Coene, Spacebel s. a. Arnaud Cauchy, EADS Astrium Frascati – 23 rd January 2013 Session 4: State of the art technology and standards, 12/10/2012 Page 1
Insights from last TC OGC - Agenda • Asynchronous execution model in OGC WPS 2. 0 - draft • WPS-T(ransactional) – automatic deployment Session 4: State of the art technology and standards, 12/10/2012 Page 2
Asynchronous Execution in WPS 2. 0 ASYNCHRONOUS MODEL Session 4: State of the art technology and standards, 12/10/2012 Page 3
Contexte & Rational • Contexte: – CR 09 -109 – methods for controlling, and checking the status of asynchronous process. – CR 10 -200 - Addendum to CR 09 -109 • Rational – usage of status. Location attribute to return Process Instance Identifier URN – Execute operation asynch or synch by nature – Distinction between Process Identifier and Process Instance Identifier. • Addendum : A proposal to complete CR 09 -109 OGC ® Copyright © 2012 Open Geospatial Consortium
First Proposal - CR 09 -109 WPS Client WPS Server Get. Capabilities Identifier, Union of supports{} Identifier Describe. Process Identifier, supports{} Identifier Execute status. Location = Process Instance Identifier URN Abort Pause/Resume Get. Status process. Identifier = Process Instance Identifier URN Abort Pause/Resume Get. Status status. Location= Process Instance Identifier URN OGC ® Copyright © 2012 Open Geospatial Consortium
Latest Version WPS Client WPS Server Get. Capabilities Identifier, Union of supports{} Identifier Describe. Process Identifier, asynch. Supported, [asynch. Supports{}] Identifier, [asynch. Mode] Execute Process. Instance. Identifier = Process Instance Identifier URN status. Location = Execute. Response document URL Abort Pause/Resume Get. Status OGC Process. Instance. Identifier = Process Instance Identifier URN Abort Pause/Resume Get. Status Process. Instance. Identifier = Process Instance Identifier URN status. Location = Execute. Response document URL ® Copyright © 2012 Open Geospatial Consortium
Example of the Response. Document Example of Status element in Response. Document <wps: Execute. Response […] service="WPS" version="1. 0. 0" xml: lang="en-CA" service. Instance=http: //foo. bar/foo status. Location="http: //foo. bar/execute_response_url. xml"> […] <wps: Process wps: process. Version="1. 0"> <ows: Identifier>Run. Traj</ows: Identifier> <ows: Title>BADC Trajectory Service</ows: Title> </wps: Process> <wps: Status process. Instance. Identifier= “cb 1557397169547 d 63 c 2 d 1388 e 8 dd 810” creation. Time="2009 -05 -29 T 13: 00: 03. 0 Z" > <wps: Process. Terminated termination. Time="2009 -05 -29 T 14: 00: 03. 0 Z"/> </wps: Status> <wps: Process. Outputs> […] </wps: Process. Outputs> </wps: Execute. Response> OGC ® Copyright © 2012 Open Geospatial Consortium
Evolution of the asynchronous interface CR 09 -109 Addendum Proposal Execute Query No change asynch. Mode (O – Boolean). Request an execution either in synch. or asynch mode. Response Reuse status. Location to store Process. Instance. Identifier attribute status. Location unchanged Abort/Pause/Resume/Get. Status Query Process. Identifier <ows: Identifier> URN from status. Location Identifier attribute in process. Instance element. Response revised version of WPS Execute response <ows: Identifier> URN from status. Location process. Instance. Identifier new attribute in wps: Status element of the Response. Document Describe. Process Response Support (M - List) – list of supported operation. If empty, asynchronous not supported asynch. Supported (M - Boolean) asynch. Supports (C – 1. . n) list of supported operations Get. Capabilities Response OGC Union of supported asynch operation s No change Information in Process. Brief ® Copyright © 2012 Open Geospatial Consortium
In summary • Focus on asynchronous execution and instance control. • Update of the Core plus Asynchronous extension Core exec. Model. Supported: - synch. Only - asynch. Only - synch. And. Asynch Optional Default: synch. Only Ext. Asynch Control Session 4: State of the art technology and standards, 12/10/2012 Page 9
Automatic Deployment of web processes The ESA GSTP DREAM use case WPS-T(RANSACTIONAL) Session 4: State of the art technology and standards, 12/10/2012 Page 10
ESA GSTP DREAM Project • GSTP General Support Technology Program in the frame of Earth Observation Program • DREAM Decision Support and Real Time EO Data Management • Duration 24 months, 2 Phases KO: January 2012 - Consortium of 14 actors • Objectives – extract – Define and prototype an end-to-end solution/system […] taking into account available infrastructure within EUSC and EMSA and the ESA PDGS […] – Integrate novel and state-of-the art technologies […] available for EO data identification and EO data provision […] Copyright © 2013 Open Geospatial Consortium Page 11
Prototype for Ortho-imagery Quality • Features: On-demand service to – Assess the quality of an ortho-image, including Positional Accuracy – Improve the position accuracy of an ortho-image In the context of multi-mission supports: multiple sensors • How the data quality is illustrated in the client – Shifts - vector layer – Quality Mask – raster coverage – Ortho-image to assess Copyright © 2013 Open Geospatial Consortium Page 12
The issue Data to process are here Reference Data are here Processes are here Raw Acquisition Ortho On-line Photogrammetry Web Services • Ortho-rectification • Ortho-image quality assessment ESA/EUSC Cloud Ref 3 D ASV GEO Infrastructure Copyright © 2013 Open Geospatial Consortium Page 13
Typical Approach – WPS – WCS/WFS Chaining According EO dataset size Download time is in hour (Pleiade scene up to 33 Gb) Execute request Process. Id=My. Process Raw Acquisition Ortho WCS ESA/EUSC Cloud Too big and/or WCS Get. Coverage Input=Data URL On-line Photogrammetry Web Services • Ortho-rectification • Ortho-image quality assessment Gb Ref 3 D forbidden to transfer Copyright © 2013 Open Geospatial Consortium ASV GEO Infrastructure Page 14
Tested solution in the prototype Raw Acquisition Ortho Cloud Processing Proxy On-line Photogrammetry Web Services • Ortho-rectification • Ortho-image quality assessment ESA/EUSC Cloud Ref 3 D ASV GEO Infrastructure Copyright © 2013 Open Geospatial Consortium Page 15
Architecture – Web Services OGC WMS Ortho OGC WPS Raw Acquisition Cloud Processin g Proxy On-line Photogrammetry Web Services Compute AOI WPS Processing Compute RPC WPS Processing Ref 3 D Database Reference Orthoimages DEM Compute Quality WPS Processing On-line Photogrammetry Web Services • Ortho-rectification • Ortho-image quality assessment ESA/EUSC Cloud Ref 3 D ASV GEO Infrastructure Copyright © 2013 Open Geospatial Consortium Page 16
Architecture – Processing Proxy Cloud Processing Proxy Ortho. Rectify WPS Process Ortho-Image Producer Assess. Quality WPS Process OGC WPS Raw Acquisition Raw Image Handler OGC WPS Client Cloud Processin g Proxy On-line Photogrammetry Web Services • Ortho-rectification • Ortho-image quality assessment ESA/EUSC Cloud Ref 3 D ASV GEO Infrastructure Copyright © 2013 Open Geospatial Consortium Page 17
Collaborative Processing in motion OGC WPS OGC WMS Raw Image Handler Ortho. Rectify WPS Process Compute AOI WPS Processing Ortho-Image Producer Assess. Quality WPS Process OGC WPS Client OGC WMS Mutliple Senors Raw Acquisitions Ortho-images Compute Quality WPS Processing Reference Orthoimages DEM (Ref 3 D) On-line Photogrammetry Web Services Cloud Processing Proxy Copyright © 2013 Open Geospatial Consortium Compute RPC WPS Processing Page 18
Collaborative Processing in motion OGC WPS OGC WMS Raw Image Handler Ortho. Rectify WPS Process Compute AOI WPS Processing Assess. Quality WPS Process OGC WPS Ortho-Image Producer WPS Client OGC WMS ple Senors Mutli Raw Acquisitions Ortho-images Compute Quality WPS Processing Reference Orthoimages DEM (Ref 3 D) On-line Photogrammetry Web Services Cloud Processing Proxy Copyright © 2013 Open Geospatial Consortium Compute RPC WPS Processing Page 19
Use Case for WPS-T Execute request Proxy Response. Document Process. Id=My. Process Output = Result URL Input=My. Data URL WPS Add Process Execute Data Cloud Del Process WPS Server Proxy Processing Cloud Copyright © 2013 Open Geospatial Consortium Page 20
Use Case for WPS-T Result URL WPS Server Data Cloud Proxy Processing Cloud Copyright © 2013 Open Geospatial Consortium Page 21
Summary of WPS-T • WPS-T: deployment and undeployment Note: Transaction. Monitor(action={add, update, del}, process) • ESA GSTP DREAM – Quality Assessment Service WPS based with mobile code as a use case for WPS-T Session 4: State of the art technology and standards, 12/10/2012 Page 22
Thank You Q&A Session 4: State of the art technology and standards, 12/10/2012 Page 23
- Slides: 23