GetFeasibility

The GetFeasibility request is used to check whether a desired task can be processed from the service in that form with the provided parameters and whether the necessary resources are free and available.

This request lik a simulated Submit-Request.

The GetFeasibility request must be made in the form of a POST-Request .

parameters

Mandatory parameters for this request:

  • service – set to SPS
  • request – set to GetFeasibility
  • version – for this SPS-version set to “1.0.0″
  • notificationTarget
  • sensorID – the unique ID of the sensor that is tasked
  • parameters – The list of parameters to be passed to this sensor

Optional parameters for this request:

  • timeframe – the time for the maximum period of validity for this request. After this date, this request is obsolete.

Example of a GetFeasibility request:

<?xml version="1.0" encoding="UTF-8"?>
<GetFeasibility xmlns="http://www.opengis.net/sps" xmlns:gml="http://www.opengis.net/gml" xmlns:swe="http://www.opengis.net/swe" service="SPS" version="1.0.0">
    <notificationTarget>
        <notificationID>1234</notificationID>
        <notificationURL>http://www.example.org/WNS/wns</notificationURL>
    </notificationTarget>
    <sensorID>urn:x-ogc:object:sensor:SENSORID</sensorID>
    <parameters>
        <InputParameter parameterID="PARAMETER-ID1">
            <value>
                <swe:Quantity>
                    <swe:value>70</swe:value>
                </swe:Quantity>
            </value>
        </InputParameter>
        <InputParameter parameterID="PARAMETER-ID1">
            <value>
                <swe:Quantity>
                    <swe:value>50</swe:value>
                </swe:Quantity>
            </value>
        </InputParameter>
    </parameters>
    <timeFrame>
        <gml:TimeInstant>
            <gml:timePosition>2014-2-10T18:00:00</gml:timePosition>
        </gml:TimeInstant>
    </timeFrame>
</GetFeasibility>

The service responds to this request with a GetFeasibilityRequestResponse

Schreibe einen Kommentar