1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
Execute operation request assuming use of default formats.
Equivalent GET request (without the BufferZoneWidth) is:
http://foo.bar/foo?
service=WPS&
version=1.0.0&
language=en-CA&
request=Execute&
identifier=Buffer&
datainputs=[InputPolygon=@xlink:href=http%3A%2F%2Ffoo.bar%2Fsome_WFS_request.xml;BufferDistance=400]&
responsedocument=[BufferedPolygon=@asReference=true]&
storeexecuteresponse=true
-->
<wps:Execute service="WPS" version="1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wps="http://www.opengis.net/wps/1.0.0" 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/wpsExecute_request.xsd">
<ows:Identifier>Buffer</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>InputPolygon</ows:Identifier>
<ows:Title>Playground area</ows:Title>
<wps:Reference xlink:href="http://foo.bar/some_WFS_request.xml"/>
</wps:Input>
<wps:Input>
<ows:Identifier>BufferDistance</ows:Identifier>
<ows:Title>Distance which people will walk to get to a playground .</ows:Title>
<wps:Data>
<wps:LiteralData>400</wps:LiteralData>
</wps:Data>
</wps:Input>
<wps:Input>
<ows:Identifier>BufferZoneWidth</ows:Identifier>
<ows:Title>Defining buffer zone width</ows:Title>
<wps:Data>
<wps:ComplexData encoding="UTF-8" mimeType="text/xml" schema="http://foo.bar/MyComplexValueSchema.xsd">
<BufferZones>
<Zone>
<ows:Range ows:rangeClosure="closed">
<ows:MinimumValue>0</ows:MinimumValue>
<ows:MaximumValue>100</ows:MaximumValue>
</ows:Range>
</Zone>
<Zone>
<ows:Range ows:rangeClosure="open-closed">
<ows:MinimumValue>100</ows:MinimumValue>
<ows:MaximumValue>400</ows:MaximumValue>
</ows:Range>
</Zone>
</BufferZones>
</wps:ComplexData>
</wps:Data>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:ResponseDocument storeExecuteResponse="true">
<wps:Output asReference="true">
<ows:Identifier>BufferedPolygon</ows:Identifier>
<ows:Title>Area serviced by playground.</ows:Title>
<ows:Abstract>Area within which most users of this playground will live plus the buffer.</ows:Abstract>
</wps:Output>
</wps:ResponseDocument>
</wps:ResponseForm>
</wps:Execute>
|