This section describes how to use Nasa WPS services

Request

This operation is a GET request. The request parameter represents the identifier the JobId retrieved from the Execute Response.

curl -X GET "https://api.maap.xyz/api/dps/job/1c050cab-d87e-4325-ac98-6296214f298c" -H "accept: application/xml"

​​​​​​​

Response

The GetResult response represents a list of outputs and the http url from which we can download the output.

Example of response:

- List of Job Outputs (abstract) :

 <wps:Result xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:schemaLocation="http://schemas.opengis.net/wps/2.0/wps.xsd" xmlns:wps="http://www.opengis.net/wps/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wps:JobID>1c050cab-d87e-4325-ac98-6296214f298c</wps:JobID><wps:Output id="result"> <wps:Products><wps:Product><wps:ProductName>output-2019-09-05_13-11-36 </wps:ProductName> <wps:Locations><wps:Location> http://maapdev.s3.amazonaws.com/products/plot/v1.0/2019/09/05/output-2019-09-05_13-11-36 </wps:Location> <wps:Location>s3://s3.amazonaws.com:80/maapdev/products/plot/v1.0/2019/09/05/output-2019-09-05_13-11-36</wps:Location><wps:Location>https://s3.console.aws.amazon.com/s3/buckets/maapdev/products/plot/v1.0/2019/09/05/output-2019-09-05_13-11-36/?region=us-east-1&amp;tab=overview</wps:Location></wps:Locations> </wps:Product> </wps:Products></wps:Output></wps:Result> 
42 Views
Average (0 Votes)

Child Pages (5)

  • GetCapabilities

    GetCapabilities Request This operation is a get request which is easily available from your browser or though a curl command. Via Browser: https://api.maap.xyz/api/dps/job Via curl command: curl -X...

  • NASA WPS - DescribeProcess Operation

    This section explains how to use Nasa DescribeProcess Operation Launch a GetCapabilities Operation with NASA endpoint (see GetCapabilities Section) Option one :  On the Contents section, get the...

  • NASA WPS - Execute Operation

    Request This operation is a POST request. The request body represents an Execute request where the identifier represents a process identifier as found in the GetCapabilities response in Contents...

  • NASA WPS - GetResult Operation

    This section explains how to use Nasa GetResult Operation

  • NASA WPS -GetStatus Operation

    This section explains how to use Nasa GetStatus Operation This operation is a Get request. The request parameter represents the job identifier returned from the previously launched execution...