Open Geospatial Consortium Inc.

Similar documents
Open Geospatial Consortium Inc.

Open Geospatial Consortium

Open Geospatial Consortium

OGC WCS 2.0 Revision Notes

Open Geospatial Consortium

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

Open Geospatial Consortium Inc.

Name type specification definitions part 1 basic name

Open Geospatial Consortium

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

Web Coverage Service (WCS) Implementation Specification

Open Geospatial Consortium Inc.

OpenGIS Image geopositioning metadata GML 3.2 application schema

Web Coverage Service (WCS) Implementation Specification

Abstract. Introduction. OGC Web Coverage Service 2.0

Open GeoSpatial Consortium Inc.

Open Geospatial Consortium

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

ISO/IEC INTERNATIONAL STANDARD

Open GIS Consortium Inc.

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

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

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

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

Open Geospatial Consortium

Open Geospatial Consortium Inc.

Open Geospatial Consortium

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

Open Geospatial Consortium Inc.

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

OGC SensorThings API Part 2 Tasking Core

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

This document is a preview generated by EVS

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

Filter Query Language

This document is a preview generated by EVS

Serving Large-Scale Coverages - How to Tame an Elephant

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

OGC : Open GeoSMS Standard - Core

ISO. International Organization for Standardization. ISO/IEC JTC 1/SC 32 Data Management and Interchange WG4 SQL/MM. Secretariat: USA (ANSI)

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

This document is a preview generated by EVS

D-Cinema Packaging Caption and Closed Subtitle

ISO/IEC JTC 1/SC 32 N 1257

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

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

Web Services Description Language (WSDL) Version 1.2

Beyond Rasters: Introducing The New OGC Web Coverage Service 2.0

Open Geospatial Consortium

ISO INTERNATIONAL STANDARD

Open Geospatial Consortium

Open Geospatial Consortium Inc.

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

Open Geospatial Consortium Inc. OpenGIS Web Processing Service

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

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

ISO INTERNATIONAL STANDARD

Part 1: Content model

Testbed-12 CITE User Guide - Profiles

Intended status: Standards Track August 15, 2008 Expires: February 16, 2009

ISO/IEC INTERNATIONAL STANDARD. Information technology Abstract Syntax Notation One (ASN.1): Specification of basic notation

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

Open Geospatial Consortium

Guidelines for the encoding of spatial data

Open Geospatial Consortium Inc.

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

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

Information technology Database languages SQL Multimedia and Application Packages Part 7: History

ISO/IEC TR TECHNICAL REPORT

OASIS - Artifact naming guidelines

OGC Moving Features Encoding Part II: Simple CSV)

Technical Specification C++ Extensions for Coroutines

OGC Moving Features Access

Proposed update of Technical Guidance for INSPIRE Download services based on SOS

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

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

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

ISO INTERNATIONAL STANDARD

ISO INTERNATIONAL STANDARD. Geographic information Simple feature access Part 1: Common architecture

CDM Implementation Requirements

ISO/IEC INTERNATIONAL STANDARD. Information technology ASN.1 encoding rules: XML Encoding Rules (XER)

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

An Outline of a WCS2.0 MetOC Profile for discussion. Crown copyright Met Office

Open Geospatial Consortium Inc.

INTERNATIONAL STANDARD

Part 5: Protocol specifications

Geografisk information Gränssnitt mot kartserver (WMS) (ISO 19128:2005, IDT) Geographic information Web map server interface (ISO 19128:2005, IDT)

Policy Directives for Writing and Publishing OGC Standards: TC Decisions

ISO INTERNATIONAL STANDARD

Guidelines for the encoding of spatial data

Ordering Services for Earth Observation Products Adoption Voting Comments and Answers

ISO/IEC INTERNATIONAL STANDARD

Open Geospatial Consortium Inc.

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

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

Credential Management Profile

This document is a preview generated by EVS

ISO/IEC INTERNATIONAL STANDARD. Information technology Real-time locating systems (RTLS) Part 1: Application program interface (API)

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

Transcription:

Open Geospatial Consortium Inc. Date: 2010-02-15 Reference number of this OpenGIS Project Document: OGC 09-147 Version: 0.0.1 Category: OpenGIS Interface Standard Editor: Peter Baumann WCS Extension -- KVP Protocol Copyright 2010 Open Geospatial Consortium, Inc. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/. Editorial note: revision numbers for the references to documents of the WCS 2.0 set are not yet adjusted; this will be done in the final editing step. Warning This document is not an OGC Standard. It is distributed for review and comment. It is subject to change without notice and may not be referred to as an OGC Standard. 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: OGC Interface Standard Draft English

Contents Page 1 Scope... 1 2 Compliance... 1 3 Normative references... 1 4 Terms and definitions... 1 5 Conventions... 2 5.1 UML notation... 2 5.2 Data dictionary tables... 2 6 HTTP/GET with KVP... 2 6.1 General... 2 6.2 GetCapabilities... 2 6.3 DescribeCoverage... 3 6.4 GetCoverage... 3 7 Exceptions... 4 Annex A (normative) Abstract test suite... 6 A.1 Conformance Test Class: WCS KVP protocol... 6 A.1.1 Extension identification... 6 A.1.2 Encode special characters... 6 A.1.3 Proper case handling... 6 A.1.4 GetCapabilities request encoding... 7 A.1.5 GetCapabilities response structure... 7 A.1.6 DescribeCoverage request encoding... 7 A.1.7 GetCoverage request encoding... 7 A.1.8 GetCoverage subset specification... 8 A.1.9 Disjoint GetCoverage subsetting parameter keys... 8 A.1.10 Exceptions... 9 Tables Page Table 1 DescribeCoverage request URL encoding... 3 Table 2 GetCoverage request KVP encoding... 3 Table 3 Exception codes for XML/POST operations... 5 ii Copyright 2010 Open Geospatial Consortium, Inc.

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 GET with key/value pair (KVP) encoding. ii. Terms and definitions This document uses the specification terms defined in Subclause 5.3 of [OGC 06-121r3], 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 rasdaman GmbH 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 iii Copyright 2010 Open Geospatial Consortium, Inc.

iv. Document Contributor Contact Points Name Peter Baumann Organization Jacobs University Bremen, rasdaman GmbH v. Revision history Date Release Author Paragraph modified Description 2009-08-22 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, Inc. 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, Inc. 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 GET with key/value pair (KVP) encoding. vi Copyright 2010 Open Geospatial Consortium, Inc.

WCS Extension -- KVP Protocol 1 Scope This document specifies how Web Coverage Service (WCS) clients and servers can communicate over the Internet using HTTP GET with key/value pair (KVP) encoding. 2 Compliance Annex A (normative) specifies compliance tests which shall be tested by any service claiming to implement an OGC Web Coverage Service using this extension. 3 Normative references 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. IETF RFC 2387, The MIME Multipart/Related Content-type. IETF, 1998 IETF RFC 2396, Uniform Resource Identifiers (URI): Generic Syntax. IETF, 1998 W3C Note 11, SOAP Messages with Attachments. W3C Note 11, 2000 OGC 06-121r8, OGC Web Services Common Specification, version 1.2 OGC 07-036, Geography Markup Language (GML) Encoding Standard, version 3.2.1 OGC 09-110r1, WCS 2.0 Core, version 2.0 In addition to this document, the WCS specification includes normative XML Schema files. These are posted online at http://schemas.opengis.net/wcs/2.0 as part of the OGC schema repository. These XML Schema files are also available bundled with the present document for download from Error! Hyperlink reference not valid.. In the event of a discrepancy between bundled and schema repository versions of the XML Schema files, the schema repository shall be considered authoritative. 4 Terms and definitions For the purposes of this document, the terms and definitions given in the above references apply. In addition, the following terms and definitions apply. 4.1 coverage feature which is a subclass (specialization) of AbstractCoverage as specified by GML 3.2 [07-036], based on the abstract definition of [OGC 07-111] and [ISO 19123] Copyright 2010 Open Geospatial Consortium, Inc. 1

4.2 offered coverage coverage stored on a server and accessible by clients via WCS operations NOTE An offered coverage carries service relevant information in addition to the coverage data. 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 Services Common [OGC 06-121r3]. 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-121r3]. The contents of these data dictionary tables are normative, including any table footnotes. 6 HTTP/GET with KVP 6.1 General Req 1 A WCS service implementing this extension shall include the following URN in the Profile element of the ServiceDescription in a GetCapabilities response: urn:ogc:def:extension:ogc-wcs:2.0:protocol:get Req 2 2396]. Operation responses shall or URL-encode special characters as defined in [RFC Example Use %3F to represent a question mark,? Req 3 Keys shall be case insensitive, values shall be case sensitive. 6.2 GetCapabilities Req 4 The KVP encoding of a WCS GetCapabilities operation request shall be as specified in Table 5 in Subclause 7.2.2 of [OGC 06-121r8], with the exception that values for the REQUEST and SERVICE parameter shall be interpreted in a case insensitive manner. Example To request a Capabilities document, a client can issue the following minimal GetCapabilities operation request encoded as KVP: http://hostname:port/path?service=wcs&request=getcapabilities Req 5 The response to a successful GetCapabilities request shall be a valid XML document of type wcs:capabilitiestype. Example See [OGC 09-110]. 2 Copyright 2010 Open Geospatial Consortium, Inc.

6.3 DescribeCoverage Req 6 The KVP encoding of a DescribeCoverage request shall be as defined in Table 1., Values for the REQUEST and SERVICE parameter shall be interpreted in a case insensitive manner. Table 1 DescribeCoverage request URL encoding Name Definition Data type Multiplicity Service Identifier of the OGC service String One (mandatory) Version Request protocol version String One (mandatory) Request Request type name String One (mandatory) Id List of coverage identifiers to be Comma-separated gml:id One (mandatory) described list, possibly empty Example The following KVP structure requests information about the coverages with identifiers 42, 43, and 44, resp.: http://www.myserver.org:port/path? service=wcs &version=2.0 &request=describecoverage &idlist=42,43,44 6.4 GetCoverage Req 7 The KVP encoding of a GetCoverage request shall be as defined in Table 2. Values for the REQUEST and SERVICE parameter shall be interpreted in a case insensitive manner. Table 2 GetCoverage request KVP encoding Name Definition Data type Multiplicity service Identifier of the OGC service String, One (mandatory) fixed to WCS version Request protocol version String One (mandatory) request Request type name String, fixed to One (mandatory) GetCoverage id Identifier of coverage to be inspected gml:id One (mandatory) subsetd boundaries of coverage subset where d is some non-empty string which serves as disambiguator, ie, makes subset keys unique within the request on hand SubsetSpec Zero or more (optional) Req 8 Each SubsetSpec shall adhere to this EBNF syntax based on [IETF 2616]: SubsetSpec : dimension [, crs ] ( intervalorpoint ) dimension : NCname Copyright 2010 Open Geospatial Consortium, Inc. 3

crs : anyuri intervalorpoint: interval point interval : low, high low : number * high : number * point : number A crs element shall occur only if a WCS extension enabling CRSs is included in the implementation. Note Syntax rules are as follows: underlined tokens represent literals which appear as is ( terminal symbols ), other tokens represent sub-expressions to be substituted ( non-terminals ). A vertical bar ( ) denotes alternatives, items in brackets ( [ ] ) are optional. The non-terminals NCname, number, and anyuri follow the resp. XML definitions. Req 9 request: All subset key disambiguators shall be pairwise disjoint in any given GetCoverage Note There is no semantics associated with these key disambiguators, their only purpose is to achieve unique keys, which is required by HTTP GET. Example The following KVP-encoded GetCoverage request addresses service path on server www.myservice.org at port port retrieves all range fields of coverage 42 in the coverage s native array index coordinates: http://www.myserver.org:port/path? service=wcs &version=2.0 &request=getcoverage &id=42 &subset1=x(10,20) &subset2=y(*,20) &subset_time=t(0) Example The following KVP-encoded GetCoverage request addresses the same service as above, but with the location specified by the bounding box with lower corner (-71,47) and upper corner (-66,51), expressed in spatial CRS WGS84 2D (which is assumed to be in the coverage s CRS list) and temporal CRS ISO:8601: http://www.myserver.org:port/path? service=wcs &version=2.0 &request=getcoverage &id=42 &subset_wgs84x=x,urn:ogc:def:crs:ogc:2:84(-71,47) &subset_wgs84y=y,urn:ogc:def:crs:ogc:2:84(-66,51) &subset_time=t,urn:ogc:def:crs:ogc:2:84(2009-11-06t23:20:52z) 7 Exceptions Req 10 In addition to the exception codes defined in the WCS core [09-110], the code(s) in Table 3 shall be supported. 4 Copyright 2010 Open Geospatial Consortium, Inc.

Table 3 Exception codes for XML/POST operations exceptioncode value Meaning of code locator value InvalidEncodingSyntax Document received does not conform with protocol syntax. key of violating element Copyright 2010 Open Geospatial Consortium, Inc. 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 [09-110], to be conformant with this specification. A.1 Conformance Test Class: WCS KVP protocol A.1.1 Extension identification A WCS service implementing this extension shall include the following URN in the Profile element of the ServiceDescription in a Get- Capabilities response: urn:ogc:def:extension:ogc-wcs:2.0:protocol:get Reference: Req 1 Send a GetCapabilities request to the server under test, verify that the response contains a Profile element with said URN. A.1.2 Encode special characters Operation responses shall or URL-encode special characters as defined in [RFC 2396]. Reference: Req 2 For each request type, send a request which contains special characters and send a request such that the response contains special characters. Check correct handling of the special characters. NOTE Test Suite. Client testing of this property is not currently addressed in this Abstract A.1.3 Proper case handling Keys shall be case insensitive, values shall be case sensitive. Reference: Req 3 For each request type: send requests to the server under test containing lower, mixed, and upper case keys. Check proper response. Send requests to the server under test with different case in values. Check that the server differentiates in its response. 6 Copyright 2010 Open Geospatial Consortium, Inc.

A.1.4 GetCapabilities request encoding The KVP encoding of a WCS GetCapabilities operation request shall be as specified in Table 5 in Subclause 7.2.2 of [OGC 06-121r8], with the exception that values for the REQUEST and SERVICE parameter shall be interpreted in a case insensitive manner. Reference: Req 4 Send GetCapabilities requests testing server response on the cases distinguished in said reference. Check proper response. NOTE Test Suite. Client testing of this property is not currently addressed in this Abstract A.1.5 GetCapabilities response structure The response to a successful GetCapabilities request shall be a valid XML document of type wcs:capabilitiestype. Reference: Req 5 Send a valid GetCapabilities request. Pass test if an XML validator reports validity of the response document against its schema definition. A.1.6 DescribeCoverage request encoding The KVP encoding of a DescribeCoverage request shall be as defined in Table 1., Values for the REQUEST and SERVICE parameter shall be interpreted in a case insensitive manner. Reference: Req 6 Send DescribeCoverage requests testing server response on the cases distinguished in said reference. Check proper response. NOTE Test Suite. Client testing of this property is not currently addressed in this Abstract A.1.7 GetCoverage request encoding The KVP encoding of a GetCoverage request shall be as defined in Table 2. Values for the REQUEST and SERVICE parameter shall be interpreted in a case insensitive manner. Reference: Req 7 Send GetCoverage requests testing server response on the cases distin- Copyright 2010 Open Geospatial Consortium, Inc. 7

guished in said reference. Check proper response. NOTE Test Suite. Client testing of this property is not currently addressed in this Abstract A.1.8 GetCoverage subset specification Each SubsetSpec shall adhere to this EBNF syntax based on [IETF 2616]: Reference: Req 8 SubsetSpec : dimension [, crs ] ( intervalor- Point ) dimension : NCname crs : anyuri intervalorpoint: interval point interval : low, high low : number * high : number * point : number Send GetCoverage requests to the service under test, evaluate whether responses are adequate (based on knowledge about a pre-existing coverages with at least 3 dimensions). Exercise tests for the following situations: No subsetting parameter Zero/one/two trimmings, no slicing Zero/one/two slicings, no trimming trim operations with trim coordinates and with * for low and high bound (independently) Each test in the above set shall be performed Once for each dimensionality supported by the server Without CRS parameter provided in the request, and with a valid CRS parameter provided (if the server supports CRS handling). Pass if coverage responses indicate (by range set inspection) that the operation has been recognized and executed properly. A.1.9 Disjoint GetCoverage subsetting parameter keys All subset key disambiguators shall be pairwise disjoint in any given Get- Coverage request: Reference: Req 9 NOTE This property describes client behavior, something currently not addressed 8 Copyright 2010 Open Geospatial Consortium, Inc.

in this Abstract Test Suite. A.1.10 Exceptions In addition to the exception codes defined in the WCS core [09-110], the code(s) in Table 3 shall be supported. Reference: Req 10 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 and for one parameter which shall contain an encoding error. -- end of ATS -- Copyright 2010 Open Geospatial Consortium, Inc. 9