Closed pindge closed 3 years ago
link: https://ows.dev.dea.ga.gov.au/wps/?service=WPS&request=Execute
payload
<?xml version="1.0" encoding="UTF-8"?> <wps:Execute version="1.0.0" service="WPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd"> <ows:Identifier>Mangrove Cover Drill</ows:Identifier> <wps:DataInputs> <wps:Input> <ows:Identifier>geometry</ows:Identifier> <wps:Data> <wps:ComplexData>{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[131.05694540239242,-22.940947339292997],[131.06571974861512,-22.987921818114476],[131.18075485311704,-22.968077394908853],[131.19391434311478,-22.900307699971076],[131.05694540239242,-22.940947339292997]]]}}]}</wps:ComplexData> </wps:Data> </wps:Input> <wps:Input> <ows:Identifier>start</ows:Identifier> <wps:Data> <wps:ComplexData>{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","date-time":"2019-11-13T00:00"}}}</wps:ComplexData> </wps:Data> </wps:Input> <wps:Input> <ows:Identifier>end</ows:Identifier> <wps:Data> <wps:ComplexData>{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","date-time":"2020-04-24T00:00"}}}</wps:ComplexData> </wps:Data> </wps:Input> </wps:DataInputs> <wps:ResponseForm> <wps:ResponseDocument storeExecuteResponse="true" status="true"/> </wps:ResponseForm> </wps:Execute>
result:
<?xml version="1.0" encoding="UTF-8"?> <wps:ExecuteResponse 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 ../wpsExecute_response.xsd" service="WPS" version="1.0.0" xml:lang="en-US" serviceInstance="https://ows.dev.dea.ga.gov.au/wps/?request=GetCapabilities&amp;service=WPS" statusLocation="https://s3.ap-southeast-2.amazonaws.com/dea-wps-results/dde66256-85fc-11ea-a79c-760ac908e99e.xml"> <wps:Process wps:processVersion="0.2"> <ows:Identifier>Mangrove Cover Drill</ows:Identifier> <ows:Title>Mangrove Cover</ows:Title> <ows:Abstract>Performs Mangrove Polygon Drill</ows:Abstract> </wps:Process> <wps:Status creationTime="2020-04-24T07:26:10Z"> <wps:ProcessFailed> <wps:ExceptionReport> <ows:Exception exceptionCode="NoApplicableCode" locator="None"> <ows:ExceptionText>Process failed, please check server error log</ows:ExceptionText> </ows:Exception> </wps:ExceptionReport> </wps:ProcessFailed> </wps:Status> </wps:ExecuteResponse>
Mangrove is alive and well. This query fails because there's no mangrove forests in the middle of the desert. The error message is better now too.
link: https://ows.dev.dea.ga.gov.au/wps/?service=WPS&request=Execute
payload
result: