Exceptions Requirements Class: Validate Operation

EO Satellite Tasking Extension for SPS OGC 10-135 Requirement http:www.opengis.netspecEOSPS2.0reqvaltask-id-valid Req 47. The task parameter of a Validate request shall contain the identifier of an existing task. If this is not the case, the server shall return an exception with the code “InvalidParameterValue” as specified in [OGC 06‐121]. An InvalidParameterValue exception shall be returned when segment identifiers listed in the request do not correspond to the ones listed in the progress report of the task, or when these IDs correspond to segments with a status different than ‘ACQUIRED’. Requirement http:www.opengis.netspecEOSPS2.0reqvalsegment-id-valid Req 48. The segmentID parameter of a Validate request shall contain the identifier of an acquired segment listed in the status report of the selected task. If this is not the case, the server shall return an exception with the code “InvalidParameterValue” as specified in [OGC 06‐121].

8.2.5 ManualValidation request extension element

8.2.5.1 Description

The ManualValidation tag can be inserted within a Submit or Reserve request to indicate that the client will manually validate newly acquired segments for his task. When the value of this parameter is ‘false’ or when it is completely omitted, the provider is responsible for validating the acquired segment when their characteristics match the specified validation criteria. The client thus does not need to act when new segments are received and their status will automatically switch to ‘VALIDATED’ if the acquired image is acceptable. When the value of this parameter is ‘true’, the client is responsible for calling the Validate operation see section §0 to explicitly validate each newly acquired imagery segment. The programming service will usually not attempt to cover the area again until the client calls the operation.

8.2.5.2 XML encoding

The following schema snippet shows the global element declaration that normalizes the encoding of this parameter in XML: element name = ManualValidation type = boolean Copyright © 2011 Open Geospatial Consortium 87 OGC 10-135 EO Satellite Tasking Extension for SPS This parameter shall be encapsulated in an extension slot of a Submit or Reserve request as show below: sps:Submit service = SPS version = 2.0 xmlns:sps = http:www.opengis.netsps2.0 xmlns:swes = http:www.opengis.netswes2.0 xmlns:eosps = http:www.opengis.neteosps2.0 swes:extension eosps:ManualValidation true eosps:ManualValidation swes:extension ... sps:Submit Requirement http:www.opengis.netspecEOSPS2.0reqvalmanual-validation-valid Req 49. The ManualValidation XML element shall be valid with respect to the spsRequestExtensions.xsd schema and inserted within an extension element of the Submit or Reserve XML request. 88 Copyright © 2011 Open Geospatial Consortium