The Use Case:

Creating a d-dimensional coverage with non-grid index CRS (e.g. EPSG:4326) for some d≥1.

OGC WCPS 1.1 adds coverage constructor syntax particularly streamlined with the modern coverage standard OGC CIS 1.1 aka ISO 19123-2. This WCPS enhancement, which is also adopted into ISO 19123-3 and OGC Abstract Topic 6.3, One can see this constructor as a textual, human readable description of a coverage "without the encoding garbage". The so-called xWcps constructor allows defining an n-D coverage by customizing domain set, range type, range set, and metadata through expressions.

The service:

Below we present some examples showing xWcps in action.

Example 1 - The expression below computes a 256-bucket histogram over band b of some coverage $c of unknown domain extent and dimension


Example 2 - The expression below creates a 2D geo-referenced coverage decoded() from an input TIFF file submitted as a positional parameter in WCPS query. The demo will download the tiff file from this link and submit it along with the WCPS example query when you click on the "Run Query" button.


Example 3 - The expression below creates a 1-D temporal coverage; for each timeslice it contains the summary of values (calculated by general condenser) from the original coverage $c corresponding to that timeslice


Example 4 - The expression below applies a 3x3 matrix (created as a coverage constant) as a Sobel filter on a 2-D grid-indexed coverage.