Web Coverage Processing Service
   HOME

TheInfoList



OR:

The Web Coverage Processing Service (WCPS) defines a language for filtering and processing of multi-dimensional raster coverages, such as sensor, simulation, image, and statistics data. The Web Coverage Processing Service is maintained by the
Open Geospatial Consortium The Open Geospatial Consortium (OGC), an international voluntary consensus standards organization for geospatial content and location-based services, sensor web and Internet of Things, GIS data processing and data sharing. It originated in 1994 ...
(OGC). This raster query language allows clients to obtain original coverage data, or derived information, in a platform-neutral manner over the Web.


Overview

WCPS allows to generate pictures suitable for displaying to humans and information concise enough for further consumption by programs. In particular, the formally defined syntax and semantics make WCPS amenable to program-generated queries and automatic service chaining. As the WCPS language is not tied to any particular transmission protocol, the query paradigm can be embedded into any service framework, such as OGC
Web Coverage Service The Open Geospatial Consortium Web Coverage Service Interface Standard (WCS) defines Web-based retrieval of coverages – that is, digital geospatial information representing space/time-varying phenomena. Overview A WCS provides access to cov ...
(WCS) and OGC
Web Processing Service The OGC Web Processing Service (WPS) Interface Standard provides rules for standardizing inputs and outputs (requests and responses) for invoking geospatial processing services, such as polygon overlay, as a web service. The WPS standard defines ...
(WPS). The current WCPS version is 1.0. The standards document, available from the OGC WCPS standards page, presents a condensed definition of syntax and semantics. In addition, there is an introduction to the concepts along with design rationales. Currently, WCPS is constrained to multi-dimensional
raster data upright=1, The Smiley, smiley face in the top left corner is a raster image. When enlarged, individual pixels appear as squares. Enlarging further, each pixel can be analyzed, with their colors constructed through combination of the values for ...
, but an activity is under work in OGC to extend it to all coverage types, i.e., digital geospatial information representing space-varying phenomena as defined in OGC Abstract Specification Topic 6: ''Schema for Coverage Geometry and Functions'' (which is identical to
ISO ISO is the most common abbreviation for the International Organization for Standardization. ISO or Iso may also refer to: Business and finance * Iso (supermarket), a chain of Danish supermarkets incorporated into the SuperBest chain in 2007 * Iso ...
19123) and refined to a concrete, interoperable model in the OGC ''GML 3.2.1 Application Schema - Coverages'' (GMLCOV) Standard.OGC GML Application Schema - Coverages, OGC 09-146r2
/ref>


WCPS language in a nutshell

WCPS establishes a protocol to send a query string to a server and obtain, as a result of the server's processing, a set of coverages. The query string can be expressed in either ''Abstract Syntax'' or XML. In the following examples, Abstract Syntax will be used as it is more apt for human consumption. The WCPS syntax tentatively has been crafted close to the XQuery language – as metadata more and more are established in XML, and OGC heavily relies on XML (such as
Geography Markup Language The Geography Markup Language (GML) is the XML grammar defined by the Open Geospatial Consortium (OGC) to express geographical features. GML serves as a modeling language for geographic systems as well as an open interchange format for geographic ...
), it is anticipated that eventually a combination of XQuery and WCPS will be established. This will unify data and metadata retrieval. The following example may serve to illustrate these principles. Task is to ''inspect three coverages M1, M2, and M3; for each one, deliver the pixelwise difference of red and near-infrared (nir) channel; return the result encoded in HDF5'': for $c in ( M1, M2, M3 ) return encode( abs( $c.red - $c.nir ), "hdf5" ) This will return three coverages, that is: three HDF5 files. Next, we are interested only in those coverages where nir exceeds 127 somewhere: for $c in ( M1, M2, M3 ) where some( $c.nir > 127 ) return encode( abs( $c.red - $c.nir ), "hdf5" ) The result might be only two coverages that pass the filter. Finally, we want to constrain the filter predicate through a pixel mask acting as filter: for $c in ( M1, M2, M3 ), $r in ( R ) where some( $c.nir > 127 and $r ) return encode( abs( $c.red - $c.nir ), "hdf5" ) The evaluation procedure can be thought of as a nested loop. In general, the language allows to express a range of imaging, signal processing, and statistics operations. The limit is given because the language is ''safe in evaluation'', that is: every request is guaranteed to terminate after a finite number of steps. This excludes recursion. Still, algorithms like classification, filter kernels and general convolutions, histograms, and Discrete Fourier Transform are expressible.


See also

*
Open Geospatial Consortium The Open Geospatial Consortium (OGC), an international voluntary consensus standards organization for geospatial content and location-based services, sensor web and Internet of Things, GIS data processing and data sharing. It originated in 1994 ...
*
Web Map Service A Web Map Service (WMS) is a standard protocol developed by the Open Geospatial Consortium in 1999 for serving georeferenced map images over the Internet. These images are typically produced by a map server from data provided by a GIS database. ...
(WMS) *
Web Coverage Service The Open Geospatial Consortium Web Coverage Service Interface Standard (WCS) defines Web-based retrieval of coverages – that is, digital geospatial information representing space/time-varying phenomena. Overview A WCS provides access to cov ...
(WCS) *
Rasdaman rasdaman ("raster data manager") is an Array DBMS, that is: a Database Management System which adds capabilities for storage and retrieval of massive multi-dimensional arrays, such as sensor, image, simulation, and statistics data. A frequently u ...


References

{{Reflist


External links


OGC public wiki pages for coverage-related specifications (including working drafts), also containing WCPS

The WCPS reference implementation
(
rasdaman rasdaman ("raster data manager") is an Array DBMS, that is: a Database Management System which adds capabilities for storage and retrieval of massive multi-dimensional arrays, such as sensor, image, simulation, and statistics data. A frequently u ...
), available in open source.
A demo showcase for 1-D through 4-D coverage query examples
Open Geospatial Consortium Web Map Services Query languages