Client Server Interaction OGC® Sensor Planning Service Implementation Standard
Co After the client learned about the tasking parameters, it can choose to either submit a
tasking request Submit operation or to perform a feasibility check GetFeasibility operation – see Figure 4. Both operations create – if valid and accepted – a SPS
assigment called task. Other operations allow to reserve and update a task, which will be discussed later on.
Figure 4 — client server interaction part 2
Note: Before being accepted, each tasking request is checked for feasibility by the service. Even though a tasking request has been reported previously as feasible, it does not mean that this task is still feasible at the
time of submitting the task. The façaded asset might have been tasked by someone else in the meantime or became unavailable see clause 6.3.4 for further details.
The GetFeasibilityResponse contains a StatusReport, which indicates that the tasking request is or is not feasible. Optionally, the report lists alternative sets of tasking
parameters that might help the client in formulating a tasking request that is feasible and that satisfies his information needs.
pyright © 2011 Open Geospatial Consortium 13
14 Co Independent of a prior GetFeasibility request, clients always send SubmitReserve tasking
requests with all required tasking parameters to the service. There is no option to use the identifier of a previous GetFeasibility tasking request in a subsequent SubmitReserve
tasking request. This lifts the burden from the service to store all GetFeasibility request payloads.
1
If a task defined by the client is submitted to the service and is feasible, it is executed by the service.
A client may reserve a task using the Reserve operation. All resources required to execute the task are blocked by the service but execution does not start until the client explicitly
confirms it via the Confirm operation – see Figure 5.
Figure 5 — client server interaction part 3
A reservation expires at a defined point in time at which a service can reclaim all resources blocked by the reservation.
Once a task is submittedreserved, the client can Update or Cancel it. If a service cannot reserveexecute a request as provided by the client, it can provide a list of alternative
parameter settings. A client can always ask for the current status of a task tasking request via the GetStatus operation – see Figure 6.
1
However, such behavior can be defined in an extension of this specification.
pyright © 2011 Open Geospatial Consortium
Co
Figure 6 — client server interaction part 4
The SPS responds to DescribeResultAccess requests with references to all data that was produced for a given task, even if the task was cancelled or has failed. Clients can explore
the references and retrieve the data gathered for this task.
The SPS service can also send notifications including StatusReports to inform interested clients about specific events, for example that new data has been published for a task, that
a task was completed or has failed. See clause 8 for further details on asynchronous notification behavior.