wps/src/main/webapp/requests/r.math_request.xml

25 lines
1.4 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- GRASS 7 backend has to be enabled. Math addon has to be enabled.-->
<wps:Execute service="WPS" version="1.0.0" 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/wpsExecute_request.xsd">
<ows:Identifier>r.math</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier xmlns:ns1="http://www.opengis.net/ows/1.1">a</ows:Identifier>
<wps:Reference xlink:href="http://geoprocessing.demo.52north.org:8080/xyz/basin_50K_nc.tif" mimeType="image/tiff" />
</wps:Input>
<wps:Input>
<ows:Identifier xmlns:ns1="http://www.opengis.net/ows/1.1">b</ows:Identifier>
<wps:Reference xlink:href="http://geoprocessing.demo.52north.org:8080/xyz/basin_50K_nc.tif" mimeType="image/tiff" />
</wps:Input>
<wps:Input>
<ows:Identifier xmlns:ns1="http://www.opengis.net/ows/1.1">math</ows:Identifier>
<wps:Reference xlink:href="http://geoprocessing.demo.52north.org:8080/xyz/r.math_expressions.txt" mimeType="text/plain" />
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput mimeType="image/tiff">
<ows:Identifier>output</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>