[ZOO-Discuss] GRASS WPS Process Description
Markus Neteler
markus.neteler at iasma.it
Fri Nov 27 13:12:03 PST 2009
Hi all,
yes, it's there now!
GRASS 7: new WPS process description can be automatically
generated thanks to Soeren
http://grass.osgeo.org/wiki/WPS
On Fri, Nov 27, 2009 at 09:14, rldhont <rldhont at gmail.com> wrote:
...
> Well Gérald, What do you think about it ? Do you have to create a GRASS
> Provider, like C or Python ? How to re-use this capability ?
Would be great! The new direct support in GRASS should make things
finally easier.
Markus
PS:
Example:
r.external --wps-process-description
<?xml version="1.0" encoding="UTF-8"?>
<wps:process_descriptions xmlns:wps="http://www.opengis.net/wps/1.0.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsDescribeProcess_response.xsd"
service="WPS" version="1.0.0" xml:lang="en-US">
<process_description wps:processVersion="1"
storeSupported="true" statusSupported="true">
<ows:Identifier>r.external</ows:Identifier>
<ows:Title>Link GDAL supported raster
file to a binary raster map layer.</ows:Title>
<ows:Abstract>Link GDAL supported
raster file to a binary raster map layer.</ows:Abstract>
<ows:Metadata xlink:title="raster" />
<ows:Metadata xlink:title="import" />
<data_inputs>
<Input minOccurs="0" maxOccurs="1">
<ows:Identifier>input</ows:Identifier>
<ows:Title>Raster file to be linked</ows:Title>
<ows:Abstract>Raster file to be
linked</ows:Abstract>
<LiteralData>
<ows:DataType
ows:reference="xs:string">string</ows:DataType>
<ows:AnyValue/>
</LiteralData>
</Input>
<Input minOccurs="0" maxOccurs="1">
[...]
<Format>
<MimeType>application/grass-raster-binary</MimeType>
</Format>
</Supported>
</ComplexOutput>
</Output>
</process_outputs>
</process_description>
</wps:process_descriptions>
More information about the Zoo-discuss
mailing list