XML Encoding Requirements Class: GetSensorAvailability Operation
OGC 10-135 EO Satellite Tasking Extension for SPS
complexType element
sequence extension
complexContent complexType
Requirement http:www.opengis.netspecEOSPS2.0reqgsarequest-valid
Req 41. The XML message encoding a GetSensorAvailability request shall be valid
with respect to the getSensorAvailability.xsd XML schema. The server shall correctly
reject an invalid request by returning the proper correctly formatted exception as
defined in [OGC 06‐121] and [OGC 09‐001].
The following XML schema snippet normalizes the XML encoding of the GetSensorAvailabilityResponse class.
element name
= GetSensorAvailabilityResponse
type =
eosps:GetSensorAvailabilityResponseType complexType
name =
GetSensorAvailabilityResponseType complexContent
extension base
= swes:ExtensibleResponseType
sequence element
name =
responsePeriod complexType
sequence element
ref =
gml:TimePeriod sequence
complexType element
element name
= availabilityPeriod
minOccurs =
maxOccurs =
unbounded complexType
sequence element
ref =
gml:TimePeriod sequence
complexType element
sequence extension
complexContent complexType
Requirement http:www.opengis.netspecEOSPS2.0reqgsaresponse-valid
Req 42. The XML message encoding a GetSensorAvailabilityResponse shall be valid
with respect to the getSensorAvailability.xsd XML schema.
Below is an example GetSensorAvailability request along with the corresponding response:
GetSensorAvailability service
= EOSPS
version =
2.0 xmlns
= http:www.opengis.neteosps2.0
xmlns:gml =
http:www.opengis.netgml3.2
80 Copyright
© 2011
Open Geospatial
Consortium
EO Satellite Tasking Extension for SPS OGC 10-135
sensor http:ws.spotimage.comspssensorsSPOT-Constellation
sensor requestPeriod
gml:TimePeriod gml:id
= PERIOD
gml:beginPosition 2010-06-01
gml:beginPosition gml:endPosition
2010-08-31 gml:endPosition
gml:TimePeriod requestPeriod
GetSensorAvailability GetSensorAvailabilityResponse
xmlns =
http:www.opengis.neteosps2.0 xmlns:gml
= http:www.opengis.netgml3.2
responsePeriod gml:TimePeriod
gml:id =
PERIOD gml:beginPosition
2010-06-01 gml:beginPosition
gml:endPosition 2010-08-31
gml:endPosition gml:TimePeriod
responsePeriod availabilityPeriod
gml:TimePeriod gml:id
= A1
gml:beginPosition 2010-06-21
gml:beginPosition gml:endPosition
2010-07-04 gml:endPosition
gml:TimePeriod availabilityPeriod
availabilityPeriod gml:TimePeriod
gml:id =
A2 gml:beginPosition
2010-08-21 gml:beginPosition
gml:endPosition 2010-08-28
gml:endPosition gml:TimePeriod
availabilityPeriod GetSensorAvailabilityResponse