Update

With the update request, you can assign new values to an already processed task.

Every task accepted by the SPS is assigned to a unique ID – the taskID. This ID remains valid for a time even after the execution. So if a task needs to be processed again, but with different values, it is enough to send the new values with the taskID in an Update-Request to the service.

Parameters

Mandatory parameters for this request:

  • service – set to SPS
  • request – set to Update
  • version – for this SPS-version set to “1.0.0″
  • taskID – the unique ID that was assigned to this task
  • parameters – The new parameters for the task

Optional parameters for this request:

  • notificationTarget

  • Example of an Update-Request:

    <?xml version="1.0" encoding="UTF-8"?>
    <Update 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">
        <taskID>23</taskID>
        <parameters>
            <InputParameter parameterID="PARAMETER-ID1">
                <value>
                    <swe:Quantity>
                        <swe:value>25</swe:value>
                    </swe:Quantity>
                </value>
            </InputParameter>
            <InputParameter parameterID="PARAMETER-ID1">
                <value>
                    <swe:Quantity>
                        <swe:value>30</swe:value>
                    </swe:Quantity>
                </value>
            </InputParameter>
        </parameters>
    </Update>
    

    The service responds to this request with an UpdateRequestResponse

Schreibe einen Kommentar