Mit dem DescribeTaskingRequestResponse gibt der Dienst Auskunft über die einstellbaren Parameter. Dies beinhaltet die Parameter-ID, die Einheit der Parameter und die gültigen Wertebereiche.
Parameter
Vorgeschriebene Parameter für diese Antwort:
- taskingDescriptor – beinhaltet alle nötigen Informationen, um einen Sensor zu parametrieren
Dieses Beispiel eines DescribeTaskingRequestResponse ist vom
OpenGIS® Sensor Planning Service Implementation Specification, Dokument 07-014r3
übernommen. Es geht um die einstellbaren Parameter einer Kamera, die über das Internet angesteuert werden kann.
<?xml version="1.0" encoding="UTF-8"?> <DescribeTaskingRequestResponse xsi:schemaLocation="http://www.opengis.net/sps ../spsAll.xsd" xmlns="http://www.opengis.net/sps" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xmlns:swe="http://www.opengis.net/swe/" xmlns:gml="http://www.opengis.net/gml"> <taskingDescriptor> <sensorID>urn:x-ogc:object:sensor:IFGI:AXISPTZ_C:1:ifgicam01</sensorID> <InputDescriptor parameterID="task-start-time" updateable="false" use="required"> <gml:description>Give the start-time of your task as one dateTime-instance encoded as ISO8601.</gml:description> <definition> <commonData> <swe:Time definition="urn:x-ogc:def:parameter:OGC:task-start-time"> <swe:uom code="urn:x-ogc:def:uom:OGC:iso8601"/> </swe:Time> </commonData> </definition> </InputDescriptor> <InputDescriptor parameterID="zoom" updateable="true" use="optional"> <gml:description>Zooms the device n steps.</gml:description> <definition> <commonData> <swe:Count definition="urn:x-ogc:def:parameter:IFGI:Camera:AbsoluteZoom"> <swe:uom code="urn:x-ogc:def:uom:IFGI:Camera:Steps"/> <swe:constraint> <swe:AllowedValues> <swe:min>1</swe:min> <swe:max>9999</swe:max> </swe:AllowedValues> </swe:constraint> </swe:Count> </commonData> </definition> </InputDescriptor> <InputDescriptor parameterID="pan" updateable="true" use="optional"> <gml:description>Pans the device relative to the (0,0) position.</gml:description> <definition> <commonData> <swe:Quantity definition="urn:x-ogc:def:parameter:IFGI:Camera:AbsolutePan"> <swe:uom code="urn:x-ogc:def:uom:OGC:degree"/> <swe:constraint> <swe:AllowedValues> <swe:min>-169</swe:min> <swe:max>169</swe:max> </swe:AllowedValues> </swe:constraint> </swe:Quantity> </commonData> </definition> </InputDescriptor> <InputDescriptor parameterID="tilt" updateable="true" use="optional"> <gml:description>Tilts the device relative to the (0,0) position.</gml:description> <definition> <commonData> <swe:Quantity definition="urn:x-ogc:def:parameter:IFGI:Camera:AbsoluteTilt"> <swe:uom code="urn:x-ogc:def:uom:OGC:degree"/> <swe:constraint> <swe:AllowedValues> <swe:min>-90</swe:min> <swe:max>10</swe:max> </swe:AllowedValues> </swe:constraint> </swe:Quantity> </commonData> </definition> </InputDescriptor> <InputDescriptor parameterID="rzoom" updateable="true" use="optional"> <gml:description>Zooms the device n steps relative to the current position. Positive values mean zoom in, negative values mean zoom out.</gml:description> <definition> <commonData> <swe:Count definition="urn:x-ogc:def:parameter:IFGI:Camera:RelativeZoom"> <swe:uom code="urn:x-ogc:def:uom:IFGI:Camera:Steps"/> <swe:constraint> <swe:AllowedValues> <swe:min>-9999</swe:min> <swe:max>9999</swe:max> </swe:AllowedValues> </swe:constraint> </swe:Count> </definition> </InputDescriptor> </taskingDescriptor> </DescribeTaskingRequestResponse>
Teilen:
Add comment