-- CarstenPriess - 28 Jul 2006

GeoTiff Generator

The GeoTiff-Generator ist not working at the moment. ArcGis refuses to open the generated file with the message: "invalid raster dataset. Failed to create raster layer". However, tools like QGis don't have problems opening the file.

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 GeoTiff encapsulated in an Rectified GridCoverage, which is a discrete point coverage based on a GML rectified grid. 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 rectified grid coverage can be found in OGC Geography Markup Language (GML) v. 3.1.0 – section 19.3.21 Detailed information about the GeoTiff-format can be found at http://www.remotesensing.org/geotiff/geotiff.html .

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.GeoTiffGenerator) 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 "GeoTiff".

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>GeoTiff</ows:Identifier>
         <ows:Title>Test Output</ows:Title>
         <ows:Abstract>.</ows:Abstract>
      </Output>
   </OutputDefinitions>
</Execute>
Topic revision: r3 - 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