Open Geospatial Consortium

Similar documents
Open Geospatial Consortium Inc.

Open Geospatial Consortium Inc.

Open Geospatial Consortium

OGC WCS 2.0 Revision Notes

Open Geospatial Consortium

Open Geospatial Consortium

Corrigendum for OpenGIS Implementation Standard Web Processing Service (WPS) 1.0.0

Web Coverage Service (WCS) Implementation Specification

Open Geospatial Consortium Inc.

Open GeoSpatial Consortium Inc.

Web Coverage Service (WCS) Implementation Specification

ISO INTERNATIONAL STANDARD. Geographic information Filter encoding. Information géographique Codage de filtres. First edition

OGC RESTful encoding of OGC Sensor Planning Service for Earth Observation satellite Tasking

ISO INTERNATIONAL STANDARD. Health informatics Harmonized data types for information interchange

Open Geospatial Consortium Inc.

Open Geospatial Consortium

ISO/IEC INTERNATIONAL STANDARD. Information technology Multimedia framework (MPEG-21) Part 21: Media Contract Ontology

ISO/IEC INTERNATIONAL STANDARD

Open GIS Consortium Inc.

Open Geospatial Consortium Inc.

ISO INTERNATIONAL STANDARD. Graphic technology Variable printing data exchange Part 1: Using PPML 2.1 and PDF 1.

OGC : Open GeoSMS Standard - Core

ISO/IEC INTERNATIONAL STANDARD. Information technology Multimedia service platform technologies Part 3: Conformance and reference software

Open Geospatial Consortium

ISO/IEC INTERNATIONAL STANDARD. Information technology Software asset management Part 2: Software identification tag

OGC SensorThings API Part 2 Tasking Core

ISO/IEC Information technology Software asset management. Part 2: Software identification tag

Network Working Group Request for Comments: 3937 Category: Informational October 2004

ISO/IEC JTC 1/SC 32 N 1257

Circulated to P- and O-members, and to technical committees and organizations in liaison for voting (P-members only) by:

OpenGIS Image geopositioning metadata GML 3.2 application schema

ISO INTERNATIONAL STANDARD

CDM Implementation Requirements

Name type specification definitions part 1 basic name

This document is a preview generated by EVS

Open Geospatial Consortium Inc.

Abstract. Introduction. OGC Web Coverage Service 2.0

Open Geospatial Consortium

Network Working Group. Category: Informational April A Uniform Resource Name (URN) Namespace for the Open Geospatial Consortium (OGC)

Open Geospatial Consortium

ISO INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology Multimedia content description interface Part 5: Multimedia description schemes

Network Working Group Internet-Draft October 27, 2007 Intended status: Experimental Expires: April 29, 2008

THIS DOCUMENT IS STILL UNDER STUDY AND SUBJECT TO CHANGE. IT SHOULD NOT BE USED FOR REFERENCE PURPOSES.

ISO/IEC INTERNATIONAL STANDARD. Information technology Multimedia content description interface Part 1: Systems

Open Geospatial Consortium

This document is a preview generated by EVS

Platform Level Data Model (PLDM) over MCTP Binding Specification

ISO/IEC TR TECHNICAL REPORT. Information technology Procedures for achieving metadata registry (MDR) content consistency Part 1: Data elements

ISO/IEC INTERNATIONAL STANDARD. Information technology CDIF transfer format Part 3: Encoding ENCODING.1

D-Cinema Packaging Caption and Closed Subtitle

SERIES X: DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY OSI applications Generic applications of ASN.1

Open Geospatial Consortium Inc.

Policy Directives for Writing and Publishing OGC Standards: TC Decisions

Part 1: Content model

Metadata for SAML 1.0 Web Browser Profiles

ISO/IEC INTERNATIONAL STANDARD. Information technology ASN.1 encoding rules: Mapping W3C XML schema definitions into ASN.1

ISO INTERNATIONAL STANDARD

Information Technology Document Schema Definition Languages (DSDL) Part 1: Overview

Category: Standards Track September MIB Textual Conventions for Uniform Resource Identifiers (URIs)

Testbed-12 Testbed-12 GeoPackage Mobile Apps Integration Engineering Report

ISO/IEC Information technology Open Systems Interconnection The Directory: Protocol specifications

INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology Document Schema Definition Languages (DSDL) Part 3: Rule-based validation Schematron

Network Working Group. Intended status: Standards Track Columbia U. Expires: March 5, 2009 September 1, 2008

IETF TRUST. Legal Provisions Relating to IETF Documents. Approved November 6, Effective Date: November 10, 2008

Expires in six months 24 October 2004 Obsoletes: RFC , , 3377, 3771

Preview only reaffirmed Fifth Avenue, New York, New York, 10176, US

ISO/IEC Information technology Multimedia content description interface Part 7: Conformance testing

Ordering Services for Earth Observation Products Adoption Voting Comments and Answers

Software engineering Guidelines for the application of ISO 9001:2008 to computer software

ISO/IEC INTERNATIONAL STANDARD. Information technology Message Handling Systems (MHS): MHS routing

ISO INTERNATIONAL STANDARD. Language resource management Feature structures Part 1: Feature structure representation

ISO/IEC INTERNATIONAL STANDARD

Open Geospatial Consortium Inc.

AES standard for audio metadata - Audio object structures for preservation and restoration. Preview only

ISO/IEC INTERNATIONAL STANDARD. Information technology JPEG 2000 image coding system Part 14: XML representation and reference

Testbed-12 CITE User Guide - Profiles

Web Image Classification Service (WICS) Implementation Specification

ISO/IEC INTERNATIONAL STANDARD. Information technology Open Systems Interconnection The Directory Part 5: Protocol specifications

ISO/IEC INTERNATIONAL STANDARD. Information technology Open Systems Interconnection The Directory: Procedures for distributed operation

This document is a preview generated by EVS

This document is a preview generated by EVS

ISO INTERNATIONAL STANDARD. Financial services Universal financial industry message scheme Part 8: ASN.1 generation

Document Schema Definition Languages (DSDL) Part 7: Character Repertoire Validation Language

ISO/IEC INTERNATIONAL STANDARD. Information technology Multimedia content description interface Part 2: Description definition language

THIS DOCUMENT IS STILL UNDER STUDY AND SUBJECT TO CHANGE. IT SHOULD NOT BE USED FOR REFERENCE PURPOSES.

OGC GeoPackage Plugfest. OGC Discussion Paper

ISO Intelligent transport systems Reference model architecture(s) for the ITS sector Data presentation in ASN.1

Open Geospatial Consortium Inc. OpenGIS Web Processing Service

Filter Query Language

This document is a preview generated by EVS

OGC Moving Features Encoding Part II: Simple CSV)

ISO/IEC Information technology Open Systems Interconnection The Directory. Part 6: Selected attribute types

ISO/IEC TR TECHNICAL REPORT. Information technology Dynamic adaptive streaming over HTTP (DASH) Part 3: Implementation Guidelines

Network Working Group Internet-Draft August 2005 Expires: February 2, Atom Link No Follow draft-snell-atompub-feed-nofollow-00.

Open Geospatial Consortium

ISO/IEC TR TECHNICAL REPORT

Part 5: Protocol specifications

Transcription:

Open Geospatial Consortium Date: 2010-10-27 Reference number of this OpenGIS Project Document: Version: 1.0.0 Category: OpenGIS Interface Standard Editor: Peter Baumann OGC Web Coverage Service 2.0 Interface Standard - XML/POST Protocol Binding Extension Copyright 2010 Open Geospatial Consortium, Inc. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/. Warning This document is an OGC Member approved international standard. This document is available on a royalty free, non-discriminatory basis. Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of which they are aware and to provide supporting documentation. Document type: Document subtype: Document stage: Document language: OpenGIS Interface Standard Extension Approved OGC Standard English

Contents Page 1 Scope... 1 2 Compliance... 1 3 Normative references... 1 4 Terms and definitions... 2 5 Conventions... 2 5.1 UML notation... 2 5.2 Data dictionary tables... 2 6 HTTP/POST with XML... 2 6.1 General... 2 6.2 GetCapabilities... 2 6.3 DescribeCoverage... 3 6.4 GetCoverage... 3 7 Exceptions... 4 Bibliography... 5 Annex A (normative) Abstract test suite... 6 A.1 Conformance Test Class: WCS XML/POST protocol... 6 A.1.1 Extension identification... 6 A.1.2 Correct service metadata... 6 A.1.3 Correct GetCapabilities request structure... 7 A.1.4 Correct DescribeCoverage request structure... 7 A.1.5 Correct GetCoverage request structure... 7 A.1.6 Exceptions... 7 Tables Page Table 1 Exception codes for XML/POST operations... 4 ii Copyright 2010 Open Geospatial Consortium

i. Preface This document specifies an extension to the OGC Web Coverage Service (WCS) 2.0 core to allow for client/server communication using HTTP POST with XML encoding. ii. Terms and definitions This document uses the specification terms defined in Subclause 5.3 of [OGC 06-121r9], which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word shall (not must ) is the verb form used to indicate a requirement to be strictly followed to conform to this standard. iii. Submitting organizations The following organizations have submitted this Implementation Specification to the Open Geospatial Consortium, Inc.: Jacobs University Bremen National Center for Atmospheric Research (NCAR) Oracle USA PCI Geomatics Inc. ERDAS, Inc. EOX IT Services GmbH Spot Image BAE Systems - C3I Systems Natural Environment Research Council (NERC) George Mason University Copyright 2010 Open Geospatial Consortium iii

iv. Document Contributor Contact Points Name Peter Baumann Organization Jacobs University Bremen, rasdaman GmbH v. Revision history Date Release Author Paragraph modified Description 2009-11-02 0.0.1 PB All Created vi. Changes to the OpenGIS Abstract Specification The OpenGIS Abstract Specification does not require any changes to accommodate the technical contents of this (part of this) document. vii. Future Work Nothing foreseen currently. Copyright 2010 Open Geospatial Consortium iv

Foreword Some of the elements of this document may be the subject of patent rights. Open Geospatial Consortium Inc. shall not be held responsible for identifying any such patent rights. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. The Open Geospatial Consortium Inc. shall not be held responsible for identifying any or all such patent rights. Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by any implementation of the standard set forth in this document, and to provide supporting documentation. Copyright 2010 Open Geospatial Consortium v

Introduction The OGC Web Coverage Service (WCS) supports electronic retrieval of geospatial data as "coverages" that is, digital geospatial information representing space/time-varying phenomena. This document specifies an extension to the OGC Web Coverage Service (WCS) 2.0 core to allow for client/server communication using HTTP POST with XML encoding. vi Copyright 2010 Open Geospatial Consortium

OGC Web Coverage Service 2.0 Interface Standard - XML/POST Protocol Binding Extension 1 Scope This document specifies how Web Coverage Service (WCS) clients and servers can communicate over the Internet using HTTP POST with XML encoding. 2 Conformance Standardization target are WCS 2.0 implementations (currently: servers). This document establishes a single requirements class, post-xml, of URI http://www.opengis.net/spec/wcs_protocol-binding_post-xml/1.0/req/post-xml with a single pertaining conformance class, post-xml, of URI http://www.opengis.net/spec/wcs_protocolbinding_post-xml/1.0/conf /post-xml. Requirements and conformance test URIs defined in this document are relative to http://www.opengis.net/spec/ WCS_protocol-binding_postxml/1.0/. Annex A lists the conformance tests which shall be exercised on any software artefact claiming to implement an OGC WCS using this extension. 3 Normative references This OGC WCS 2.0 XML POST Protocol Binding Extension specification consists of the present document and an XML Schema. The complete specification is identified by OGC URI http://www.opengis.net/spec/wcs_protocol-binding_post-xml/1.0, the document has OGC URI http://www.opengis.net/doc/isx/wcs_protocol-binding_post-xml/1.0. The complete specification is available for download from http://www.opengeospatial.org/standards/wcs; additionally, the XML Schema is posted online at http://schemas.opengis.net/wcs/ 2.0 as part of the OGC schema repository. In the event of a discrepancy between bundled and schema repository versions of the XML Schema files, the schema repository shall be considered authoritative. The following normative documents contain provisions that, through reference in this text, constitute provisions of this specification. For dated references, subsequent amendments to, or revisions of, any of these publications do not apply. For undated references, the latest edition of the normative document referred to applies. OGC 06-121r9, OGC Web Service Common Specification, version 2.0 Conformance classes used: HTTP POST OGC 09-110r3, OGC Web Coverage Service 2.0 Interface Standard - Core, version 2.0 Conformance classes used: Core Copyright 2010 Open Geospatial Consortium 1

4 Terms and definitions For the purposes of this document, the terms and definitions given in the above references apply. 5 Conventions 5.1 UML notation All the diagrams that appear in this specification are presented using the Unified Modeling Language (UML) static structure diagram, as described in Subclause 5.2 of OGC Web Service Common [OGC 06-121r9]. 5.2 Data dictionary tables The UML model data dictionary is specified herein in a series of tables. The contents of the columns in these tables are described in Subclause 5.5 of [OGC 06-121r9]. The contents of these data dictionary tables are normative, including any table footnotes. 6 HTTP/POST with XML 6.1 General Requirement 1 /req/post-xml/extension-identifier: A WCS service implementing this extension shall include the following URI in the Profile element of the ServiceIdentification in a GetCapabilities response: http://www.opengis.net/spec/ WCS_protocol-binding_post-xml/1.0 Requirement 2 /req/post-xml/wcsservicemetadata: For those WCSServiceMetadata elements inherited from OWSServiceMetadata, the following rules shall apply: - WCS servers shall specify the HTTP POST request encodings accepted by including an ows:constraint element, with PostEncoding as the value of the name attribute and a value XML to indicate that XML encoding is allowed, but without SOAP message encapsulation. - If the HTTP POST connect point URL is different for different encodings of the operation requests, this ows:constraint element shall be included in each POST element. When the connect point URL is the same for all encodings of all operation requests, this ows:constraint element shall be included in the OperationsMetadata element. NOTE In addition, [OGC 06-121r9] applies. To allow WCS extensions to add further parameters the XML Schema wcs:request- BaseType contains an optional element <extension> with unbounded cardinality. This way, extensions can add their individual request parameters without (syntactic) interference. 2 Copyright 2010 Open Geospatial Consortium

6.2 GetCapabilities Requirement 3 /req/post-xml/getcapabilities-request-structure: A GetCapabilities request using POST/XML shall consist of an XML document of type wcs:getcapabilities. Example The following is a minimum GetCapabilities request encoded in XML: <?xml version="1.0" encoding="utf-8"?> <GetCapabilities xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wcs="http://www.opengis.net/wcs/2.0" xsi:schemalocation= "http://schemas.opengis.net/wcs/2.0../wcsall.xsd" service="wcs"> <ows:acceptversions> <ows:version>2.0.0</ows:version> </ows:acceptversions> </GetCapabilities> 6.3 DescribeCoverage Requirement 4 /req/post-xml/describecoverage-request-structure: A DescribeCoverage request using POST/XML shall consist of an XML document of type wcs:describecoverage. Example The following XML document requests information about the coverages with identifiers cov1, cov2, and cov3, resp.: <?xml version="1.0" encoding="utf-8"?> <DescribeCoverage xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xsi:schemalocation= "http://schemas.opengis.net/wcs/2.0../wcsall.xsd" service="wcs" version="2.0.0"> <wcs:coverageid>c0001</wcs:coverageid > <wcs:coverageid>c0002</wcs:coverageid > <wcs:coverageid>c0003</wcs:coverageid> </DescribeCoverage> 6.4 GetCoverage Requirement 5 /req/post-xml/getcoverage-request-structure: A GetCoverage request using POST/XML shall consist of an XML document of type wcs:getcoverage. Example The following XML document requests a subset of coverage rgb, applying trim operations in x and y dimension. <?xml version="1.0" encoding="utf-8"?> <wcs:getcoverage Copyright 2010 Open Geospatial Consortium 3

xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xsi:schemalocation= "http://schemas.opengis.net/wcs/2.0../wcsall.xsd" service="wcs" version="2.0.0"> <wcs:coverageid>c0002</wcs:coverageid> <wcs:trimdimension> <wcs:dimension>long</wcs:dimension> <wcs:trimlow>20</wcs:trimlow> <wcs:trimhigh>29</wcs:trimhigh> </wcs:trimdimension> <wcs:trimdimension> <wcs:dimension>lat</wcs:dimension> <wcs:trimlow>20</wcs:trimlow> <wcs:trimhigh>30</wcs:trimhigh> </wcs:trimdimension> </wcs:getcoverage> 7 Exceptions Requirement 6 /req/post-xml/exceptions: When a WCS server encounters an error described in column meaning of exception code intable 1 then it shall return the corresponding exception report message with the contents of the locator parameter value as specified in the right column of Table 1. Table 1 Exception codes for XML/POST operations exceptioncode value HTTP code Meaning of code InvalidEncodingSyntax 400 Document received does not conform with protocol syntax. locator value Name of violating element 4 Copyright 2010 Open Geospatial Consortium

Bibliography [1] IETF RFC 2387, The MIME Multipart/Related Content-type. IETF, 1998 [2] IETF RFC 2396, Uniform Resource Identifiers (URI): Generic Syntax. IETF, 1998 [3] W3C Note 11, SOAP Messages with Attachments. W3C Note 11, 2000 Copyright 2010 Open Geospatial Consortium 5

Annex A (normative) Abstract test suite A WCS implementing this extension shall pass all of the following tests, plus those of the WCS core [OGC 09-110r3], to be conformant with this specification. A.1 Conformance Test Class: post-xml The OGC URI identifier of this conformance class is: http://www.opengis.net/spec/wcs_protocol-binding_post-xml/1.0/conf-class/post-xml. Test identifiers below are relative to http://www.opengis.net/spec/wcs_protocolbinding_post-xml/1.0/. A.1.1 Test id: Test Purpose: Test method: Extension identification /conf/post-xml/extension-identifier Requirement /req/post-xml/extension-identifier: A WCS service implementing this extension shall include the following URI in the Profile element of the ServiceIdentification in a GetCapabilities response: http://www.opengis.net/spec/ WCS_protocol-binding_post-xml Send a GetCapabilities request to server under test, verify that the response contains a Profile element with said URI. A.1.2 Test id: Test Purpose: Correct service metadata /conf/post-xml/wcsservicemetadata Requirement /req/post-xml/wcsservicemetadata: For those WCSServiceMetadata elements inherited from OWSServiceMetadata, the following rules shall apply: - WCS servers shall specify the HTTP POST request encodings accepted by including an ows:constraint element, with PostEncoding as the value of the name attribute and a value XML to indicate that XML encoding is allowed, but without SOAP message encapsulation. - If the HTTP POST connect point URL is different for different encodings of the operation requests, this ows:constraint element shall be included in each POST element. When the connect point URL is the same for all encodings of all operation requests, this ows:constraint element shall be included in the 6 Copyright 2010 Open Geospatial Consortium

OperationsMetadata element. Test method: Send a GetCapabilities request to server under test, verify that the response satisfies the constraints. A.1.3 Test id: Test Purpose: Test method: Correct GetCapabilities request structure /conf/post-xml/getcapabilities-request-structure Requirement /req/post-xml/getcapabilities-request-structure: A GetCapabilities request using POST/XML shall consist of an XML document of type wcs:getcapabilities. Send syntactically legal and illegal GetCapabilities requests to server under test, verify that the server responds appropriately. A.1.4 Test id: Test Purpose: Test method: Correct DescribeCoverage request structure /conf/post-xml/describecoverage-request-structure Requirement /req/post-xml/describecoverage-request-structure: A DescribeCoverage request using POST/XML shall consist of an XML document of type wcs:describecoverage. Send syntactically legal and illegal DescribeCoverage request to server under test, verify that the server responds appropriately. A.1.5 Test id: Test Purpose: Test method: Correct GetCoverage request structure /conf/post-xml/getcoverage-request-structure Requirement /req/post-xml/getcoverage-request-structure: A GetCoverage request using POST/XML shall consist of an XML document of type wcs:getcoverage. Send syntactically legal and illegal GetCoverage request to server under test, verify that the server responds appropriately. A.1.6 Test id: Test Purpose: Exceptions /conf/post-xml/exceptions Requirement /req/post-xml/exceptions: When a WCS server encounters an error described in column meaning of exception code intable 1 then it shall return the corresponding exception report message with the contents of the locator parameter value as speci- Copyright 2010 Open Geospatial Consortium 7

fied in the right column of Table 1. Test method: Send requests of all types supported to the server under test. Each request shall include all (mandatory and) optional parameters and shall be valid except for one parameter which shall contain an encoding error described in the exception specification. Test passes if exception is reported according to requirement. -- end of ATS -- 8 Copyright 2010 Open Geospatial Consortium