152 Copyright © 2011 Open Geospatial Consortium
xmlns:swes=http:www.opengis.netswes2.0 xmlns:xlink=http:www.w3.org1999xlink xmlns:xsi=http:www.w3.org2001XMLSchema-instance
sps:taskingParameters name=CameraTask swe:DataRecord
swe:field name=taskTimeFrame swe:TimeRange definition=http:www.opengis.netdefpropertyOGC-
SPS0TaskTimeFrame referenceFrame=http:www.opengis.netdeftrsBIPM0UTC optional=false updatable=false
swe:labelTask Timeframeswe:label swe:descriptionDesired start and end time for tasking the
sensorswe:description swe:uom xlink:href=http:www.opengis.netdefuomISO-86010Gregorian
swe:TimeRange swe:field
swe:field name=positioningChoice swe:DataChoice optional=true
swe:item name=pointToLookAt swe:Vector definition=http:www.opengis.netdefpropertyOGC-SPS-X-
CAM0PointToLookAt referenceFrame=http:www.opengis.netdefcrsEPSG04979 swe:labelLook Pointerswe:label
swe:description3D location where the camera should look atswe:description
swe:coordinate name=lat swe:Quantity
definition=http:sweet.jpl.nasa.gov2.0spaceCoordinates.owlLatitude axisID=Lat swe:labelGeodetic latitudeswe:label
swe:uom xlink:href=deg swe:Quantity
swe:coordinate swe:coordinate name=long
swe:Quantity definition=http:sweet.jpl.nasa.gov2.0spaceCoordinates.owlLongitude axisID=Long
swe:labelGeodetic longitudeswe:label swe:uom code=deg
swe:Quantity swe:coordinate
swe:coordinate name=h swe:Quantity
definition=http:sweet.jpl.nasa.gov2.0spaceCoordinates.owlVertical axisID=h swe:labelEllipsoidal heightswe:label
swe:uom code=m swe:value0swe:value
swe:Quantity swe:coordinate
swe:Vector swe:item
swe:item name=relativePositioning swe:DataRecord definition=http:www.opengis.netdefpropertyOGC-SPS-X-
CAM0RelativePan swe:labelRelative Positioningswe:label
swe:descriptionCamera movement relative to the current positionswe:description
swe:field name=relativeHorizontalPan swe:Quantity definition=http:www.opengis.netdefpropertyOGC-SPS-X-
CAM0RelativeHorizontalPan optional=true swe:uom code=deg
swe:constraint swe:AllowedValues
swe:interval-180 180swe:interval swe:AllowedValues
swe:constraint swe:Quantity
swe:field swe:field name=relativeVerticalPan
swe:Quantity definition=http:www.opengis.netdefpropertyOGC-SPS-X- CAM0RelativeVerticalPan optional=true
swe:uom code=deg swe:constraint
swe:AllowedValues swe:interval-90 90swe:interval
swe:AllowedValues swe:constraint
Copyright © 2011 Open Geospatial Consortium 153
swe:Quantity swe:field
swe:DataRecord swe:item
swe:DataChoice swe:field
swe:field name=focalLength swe:Quantity definition=http:www.opengis.netdefpropertyOGC-SPS-X-
CAM0FocalLength optional=true swe:labelFocal lengthswe:label
swe:descriptionFocal length of the camera. Controls the cameras zoom level.swe:description
swe:uom code=mm swe:constraint
swe:AllowedValues swe:interval3.5 10swe:interval
swe:AllowedValues swe:constraint
swe:Quantity swe:field
swe:DataRecord sps:taskingParameters
sps:DescribeTaskingResponse
9.6.4 Determining the Feasibility of a Tasking Request
2010-08-20T11:10:00+02:00 - Satisfied with the information the client got about the procedure, the client sends a GetFeasibility request to check if the time frame from 2010-
08-20T12:15:00+02:00 to 2010-08-20T14:45:00+02:00 would be a feasible task. The latest response time is set to 2010-08-20T11:15:00+02:00.
Listing 16 – GetFeasibility request example
sps:GetFeasibility service
= SPS
version =
2.0.0 xmlns:sps
= http:www.opengis.netsps2.0
xmlns:swe =
http:www.opengis.netswe2.0 xmlns:xsi
= http:www.w3.org2001XMLSchema-instance
sps:procedure http:www.ogc.orgprocedurecamera1
sps:procedure sps:taskingParameters
sps:ParameterData sps:encoding
swe:TextEncoding tokenSeparator
= ,
blockSeparator =
sps:encoding sps:values
2010-08-20T12:15:00+02:00,2010-08-20T14:45:00+02:00,N,N sps:values
sps:ParameterData sps:taskingParameters
sps:latestResponseTime 2010-08-20T11:15:00+02:00
sps:latestResponseTime sps:GetFeasibility
2010-08-20T11:10:12+02:00 – The service sends a response indicating that the requested task is not feasible. But it provides two alternatives in the response:
a First alternative indicates that time frame from 2010-08-20T12:35:00+02:00 to 2010-08-20T14:30:00+02:00 would be feasible.
b Second alternative indicates that time frame from 2010-08-20T15:10:00+02:00 to 2010-08-20T17:00:00+02:00 would be feasible.
154 Copyright © 2011 Open Geospatial Consortium
Listing 17 – GetFeasibility response example
sps:GetFeasibilityResponse xmlns:sps
= http:www.opengis.netsps2.0
xmlns:xsi =
http:www.w3.org2001XMLSchema-instance xmlns:swe
= http:www.opengis.netswe2.0
sps:latestResponseTime 2010-08-20T12:00:00+02:00
sps:latestResponseTime sps:result
sps:StatusReport sps:task
http:www.ogc.orgprocedurecamera1tasks5 sps:task
sps:procedure http:www.ogc.orgprocedurecamera1
sps:procedure sps:requestStatus
Rejected sps:requestStatus
sps:statusMessage xml:lang
= en
The task was not feasible because the requested time frame is not free
sps:statusMessage sps:updateTime
2010-08-20T11:10:12+02:00 sps:updateTime
sps:alternative sps:Alternative
sps:taskingParameters sps:ParameterData
sps:encoding swe:TextEncoding
tokenSeparator =
, blockSeparator
= sps:encoding
sps:values 2010-08-20T12:35:00+02:00,2010-08-
20T14:30:00+02:00,N,N sps:values
sps:ParameterData sps:taskingParameters
sps:Alternative sps:alternative
sps:alternative sps:Alternative
sps:taskingParameters sps:ParameterData
sps:encoding swe:TextEncoding
tokenSeparator =
, blockSeparator
= sps:encoding
sps:values 2010-08-20T15:10:00+02:00,2010-08-
20T17:00:00+02:00,N,N sps:values
sps:ParameterData sps:taskingParameters
sps:Alternative sps:alternative
sps:StatusReport sps:result
sps:GetFeasibilityResponse
9.6.5 Scheduling a Task Submit Reserve
2010-08-20T11:10:20+02:00 – The client reviews the alternatives and decides to use the first one with slight alteration of the task start time setting it to 2010-08-
20T12:37:00+02:00. The client then adds some more specific parameters to control the camera. It requests that the camera looks at the location [geodetic latitude 51.902112 deg,
geodetic longitude 8.192728 deg, ellipsoidal height 0 meter] and sets the focal length to 3.5mm.
2010-08-20T11:12:00+02:00 – The client schedules the task. This can be done either via directly submitting a task or by reserving it first and then confirming it a bit later on
which is useful for scenarios where multiple sensors need to be tasked together.
9.6.5.1 Task Submission
2010-08-20T11:12:00+02:00 – The client sends a Submit request to the service. The latest response time is not set for this request, so the client is willing to wait however long
the processing of the response is going to take.