-- CarstenPriess - 28 Jul 2006

CommonObservation Generator

This generator offers an extension that allows the WPS to generate an output of the specific lattice, provided by the Inverse Distance Weighting Process, to an O&M CommonObservation Document, which is a strongly-typed alternative for complex observations, using the “Data” components from the SWECommon schema [SensorML] for its result type and resultDefinition. This is a specific implementation of a record/recordSchema encoding, in which the result is a list of tuples representing values of the components of an observedProperty, and then ordered according to capture time. To use this generator with other processes, they have to use the IField Interface of the Inverse Distance Weighting Process or the generator has to be modified to fit to other inputs.

Detailed information about the Common Observation can be found in OGC Observation and Measurements 0.13.0 Section 6.6.2.6 .

Installation and Configuration

This generator is shipped with the Inverse Distance Weighting Process. Please refer to Inverse Distance Weighting Process how to install it and come back again for configuration. Following the configuration manual at 52n Web Geoprocessing Service, you have to add the generator implementation (org.n52.wps.xml.OandMGenerator) in the comma-seperated list at the registeredGenerators property in the wps.properties file to enable this generator.

Usage

Refer to the how to use section at 52nWebProcessingService-IDWExtension. The RequestIdentifier for this generator is "CommonObservation".

Example request

The Sample-LTERM.xml can be found here

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Execute service="WPS" version="0.4.0" store="true" status="false" xmlns="http://www.opengeospatial.net/wps" xmlns:ows="http://www.opengeospatial.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengeospatial.net/wps 
..\wpsExecute.xsd" xmlns:om="http://www.opengis.net/om" xmlns:gml="http://www.opengis.net/gml">
   <ows:Identifier>org.n52.wps.server.algorithm.IDWAlgorithm</ows:Identifier>
   <DataInputs>
      <Input>
         <ows:Identifier>OBSERVATIONS</ows:Identifier>
         <ows:Title>input</ows:Title>
         <ComplexValueReference ows:reference="http://localhost:8080/wps/Sample-LTERM.xml" schema="http://www.opengeospatial.org/om.xsd"/>
      </Input>
      <Input>
         <ows:Identifier>NumberOfROWS</ows:Identifier>
         <ows:Title>Number of rows</ows:Title>
         <LiteralValue dataType="xs:int">
            196
         </LiteralValue>
      </Input>
      <Input>
         <ows:Identifier>NumberOfCOLS</ows:Identifier>
         <ows:Title>Number of cols</ows:Title>
         <LiteralValue dataType="xs:int">
            175
         </LiteralValue>      
      </Input>
      <Input>
         <ows:Identifier>ANCHOR</ows:Identifier>
         <ows:Title>ANCHOR</ows:Title>
         <ComplexValue schema="http://www.opengeospatial.org/gml.xsd">
            <gml:Point srsName="EPSG:31467">
                  <gml:coordinates>2506670 5778925</gml:coordinates>
               </gml:Point>
         </ComplexValue>
      </Input>
      <Input>
         <ows:Identifier>Resolution</ows:Identifier>
         <ows:Title>Resolution</ows:Title>
         <LiteralValue dataType="xs:double" uom="meters">
            1000
         </LiteralValue>      
      </Input>
      <Input>
         <ows:Identifier>DecimalPlaces</ows:Identifier>
         <ows:Title>DecimalPlaces</ows:Title>
         <LiteralValue dataType="xs:int">
            2
         </LiteralValue>      
      </Input>
   </DataInputs>
   <OutputDefinitions>
      <Output>
         <ows:Identifier>CommonObservation</ows:Identifier>
         <ows:Title>Test Output</ows:Title>
         <ows:Abstract>.</ows:Abstract>
      </Output>
   </OutputDefinitions>
</Execute>
Topic revision: r2 - 28 Jan 2014, EikeJuerrens
Legal Notice | Privacy Statement


This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback