SPS Events OGC® Sensor Planning Service Implementation Standard

Copyright © 2011 Open Geospatial Consortium 135 stExpired red 65 DataPublished InExecution Æ InExecution DataPublished see Table 66 mandatory ReservationE xpired Reserved Æ Final see Table 66 conditional implement if Reserve operation is realized TaskCancelle d Scheduled Reserved or InExecution Æ Final TaskCancelled see Table 66 conditional implement if Cancel operation is realized TaskComplete d InExecution Æ Final TaskCompleted see Table 66 mandatory TaskConfirme d Reserved Æ InExecution see Table 66 conditional implement if Confirm operation is realized TaskUpdated InExecution Æ InExecution TaskUpdated | Reserved Æ Reserved TaskUpdated see Table 66 conditional implement if Update operation is realized TaskFailed Scheduled Reserved or InExecution Æ Final TaskFailed see Table 66 mandatory a Although some values listed in the column appear to contain spaces, they shall not contain spaces. 136 Copyright © 2011 Open Geospatial Consortium Table 65 – StatusReport encoding for notification of tasking request state transition Transition from Æ to StatusReport encoding and property usage for notification of state transition for GetFeasibility request Reserve request Submit request Update request State Transitions Initial Æ Pending as defined for according state transition in Table 57 as defined for according state transition in Table 52 as defined for accordin g state transitio n in Table 31 as defined for according state transition in Table 60 Initial | Pending Æ Rejected Pending Æ Rejected TaskingRequestExpired Initial | Pending Æ Accepted NA = not applicable Table 66 – StatusReport encoding for notification of scheduled task state transition Transition from Æ to StatusReport encoding and property usage for notification of state transition State Transitions Reserved Æ Reserved TaskUpdated as defined for according state transition in Table 36 and Table 37 but without provision of taskingParameters InExecution Æ InExecution TaskUpdated Reserved Æ InExecution TaskConfirmed Reserved Æ Final ReservationExpired InExecution Æ InExecution DataPublished InExecution Æ Final TaskCompleted Scheduled Reserved or InExecution Æ Final TaskFailed Scheduled Reserved or InExecution Æ Final TaskCancelled NA = not applicable Clause 9.6 provides example XML instances for notificatios of some of the SPS events.

8.3 Channel based filteringSPS notification topics

When using channel based filtering, it is imperative to define which channels can be used and which notifications are sent on each channel. The definitions of events recognized by this standard are listed in Table 64. Each event is given by its name and definition. Copyright © 2011 Open Geospatial Consortium 137 The OASIS WS-Topics standard defines the TopicNamespace type as a mean to group and describe channelstopics that belong to a specific target namespace. The topic namespace of this standard is defined through Listing 9 and Table 67. Listing 9 – SPS Topic Namespace wstop:TopicNamespace xmlns:wstop=http:docs.oasis- open.orgwsnt-1 xmlns:sps=http:www.opengis.netsps2.0 name=SPS-Topic-Namespace targetNamespace=http:www.opengis.netsps2.0 final=true wstop:Topic name=TaskEvent wstop:Topic name=TaskFailure messageTypes=sps:StatusReport wstop:Topic name=TaskCancellation messageTypes=sps:StatusReport wstop:Topic name=TaskCompletion messageTypes=sps:StatusReport wstop:Topic name=TaskConfirmation messageTypes=sps:StatusReport wstop:Topic name=TaskUpdate messageTypes=sps:StatusReport wstop:Topic name=DataPublication messageTypes=sps:StatusReport wstop:Topic name=TaskReservation messageTypes=sps:ReservationReport wstop:Topic name=TaskSubmission messageTypes=sps:StatusReport wstop:Topic name=”ReservationExpiration” messageTypes=”sps:ReservationReport” wstop:Topic wstop:Topic name=”TaskingRequestEvent” wstop:Topic name=”TaskingRequestExpiration” messageTypes=”sps:StatusReport” wstop:Topic name=”TaskingRequestRejection” messageTypes=”sps:StatusReport” wstop:Topic name=”TaskingRequestAcceptance” messageTypes=”sps:StatusReport” wstop:Topic name=”TaskingRequestPending” messageTypes=”sps:StatusReport” wstop:Topic wstop:TopicNamespace The following table defines which events are published on which topics. The events and their encoding are defined in Table 64.