The response to a GetCapabilities request is an XML document with a description of the service. The document is divided into four sections:

  • ServiceIdentification - A section with the name of the SPS, a short abstract, some KeyWords for the content of the service and some specifications
  • ServiceProvider - A section with with information about the service-provider
  • OperationsMetadata - A section with the metadata for the operations. This is, what operations are provided by this service and which parameters are allowed for each operation. In addition, there are also the addresses of the individual operations (usually it's the same address as the service itself) and which request formats (GET/POST) are supported by this service.
  • Contents - Here the offerings of the service are listed. An offering contains information about the programmable sensors, their IDs and what measurements ( Phenomenons ) they provide. Furthermore, Geographic Information abaut the sensors.
  • ul>
    Here is the GetCapabilities output of a SPS from 52┬░North, version 1.0.

<?xml version="1.0" encoding="UTF-8"?>
<Capabilities version="1.0.0" service="SPS" updateSequence="" xmlns="http://www.opengis.net/sps/1.0">
  <ows:ServiceIdentification xmlns:ows="http://www.opengis.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ows:Title>Name of SPS</ows:Title>
    <ows:Abstract>Sensor Planning Service</ows:Abstract>
    <ows:Keywords>
      <ows:Keyword>52North SPS Framework</ows:Keyword>
      <ows:Keyword>OGC: OWS-5</ows:Keyword>
      <ows:Keyword>Release 1.0.0</ows:Keyword>
    </ows:Keywords>
    <ows:ServiceType codeSpace="http://www.opengis.net">OGC:SPS</ows:ServiceType>
    <ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
    <ows:Fees>NONE</ows:Fees>
    <ows:AccessConstraints>NONE</ows:AccessConstraints>
  </ows:ServiceIdentification>
  <ows:ServiceProvider xmlns:ows="http://www.opengis.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ows:ProviderName>Name of Provider</ows:ProviderName>
    <ows:ProviderSite xlink:href="http://www.example.org"/>
    <ows:ServiceContact>
      <ows:IndividualName>Name of Contact</ows:IndividualName>
      <ows:PositionName/>
      <ows:ContactInfo>
        <ows:Phone>
          <ows:Voice>Phone Number</ows:Voice>
          <ows:Facsimile>Fax Number</ows:Facsimile>
        </ows:Phone>
        <ows:Address>
          <ows:DeliveryPoint/>
          <ows:City></ows:City>
          <ows:AdministrativeArea></ows:AdministrativeArea>
          <ows:PostalCode></ows:PostalCode>
          <ows:Country></ows:Country>
          <ows:ElectronicMailAddress>Email Adress</ows:ElectronicMailAddress>
        </ows:Address>
      </ows:ContactInfo>
    </ows:ServiceContact>
  </ows:ServiceProvider>
  <ows:OperationsMetadata xmlns:ows="http://www.opengis.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!--##########  MANDATORY OPERATIONS  ########### 
                GetCapabilities, DescribeTasking, Submit, DescribeResultAccess
                #############################################-->
    <ows:Operation name="GetCapabilities">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="http://www.example.org/SPS?"/>
          <ows:Post xlink:href="http://www.example.org/SPS"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="Sections">
        <!--use="optional"-->
        <ows:Value>All</ows:Value>
        <ows:Value>ServiceIdentification</ows:Value>
        <ows:Value>ServiceProvider</ows:Value>
        <ows:Value>OperationsMetadata</ows:Value>
        <ows:Value>Contents</ows:Value>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="DescribeTasking">
      <ows:DCP>
        <ows:HTTP>
          <ows:Post xlink:href="http://www.example.org/SPS"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="notificationTarget">
        <!--use="required"-->
        <ows:Value/>
      </ows:Parameter>
      <ows:Parameter name="sensorID">
        <!--use="optional"-->
        <ows:Value/>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="Submit">
      <ows:DCP>
        <ows:HTTP>
          <ows:Post xlink:href="http://www.example.org/SPS"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="notificationTarget">
        <!--use="required"-->
        <ows:Value/>
      </ows:Parameter>
      <ows:Parameter name="parameters">
        <!--use="optional"-->
        <ows:Value/>
      </ows:Parameter>
      <ows:Parameter name="feasibilityID">
        <!--use="optional"-->
        <ows:Value/>
      </ows:Parameter>
      <ows:Parameter name="timeFrame">
        <!--use="optional"-->
        <ows:Value/>
      </ows:Parameter>
    </ows:Operation>
    <ows:Operation name="DescribeResultAccess">
      <ows:DCP>
        <ows:HTTP>
          <ows:Post xlink:href="http://www.example.org/SPS"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="notificationTarget">
        <!--use="required"-->
        <ows:Value/>
      </ows:Parameter>
      <ows:Parameter name="parameters">
        <!--use="optional"-->
        <ows:Value/>
      </ows:Parameter>
      <ows:Parameter name="feasibilityID">
        <!--use="optional"-->
        <ows:Value/>
      </ows:Parameter>
      <ows:Parameter name="timeFrame">
        <!--use="optional"-->
        <ows:Value/>
      </ows:Parameter>
    </ows:Operation>
    <!--##########  OPTIONAL OPERATIONS  ########### 
                GetFeasibility, Update, GetStatus
                no optional operations
                #############################################-->
  </ows:OperationsMetadata>
  <Contents>
    <SensorOfferingList>
      <SensorOffering>
        <AreaOfService>
          <ows:WGS84BoundingBox xmlns:ows="http://www.opengis.net/ows" xmlns:pm="http://www.52north.org/sps/v1-00/pm">
            <ows:LowerCorner>13.66190 52.503710</ows:LowerCorner>
            <ows:UpperCorner>13.66190 52.503710</ows:UpperCorner>
          </ows:WGS84BoundingBox>
        </AreaOfService>
        <Phenomenon>urn:ogc:phenomenon:WaterSupply</Phenomenon>
        <SensorDefinition>http://www.example.org/SensorML_SENSORID1.html</SensorDefinition>
        <SensorID>urn:ogc:object:feature:Sensor:SENSORID1</SensorID>
      </SensorOffering>
      <SensorOffering>
        <AreaOfService>
          <ows:WGS84BoundingBox xmlns:ows="http://www.opengis.net/ows" xmlns:pm="http://www.52north.org/sps/v1-00/pm">
            <ows:LowerCorner>13.66190 52.503710</ows:LowerCorner>
            <ows:UpperCorner>13.66190 52.503710</ows:UpperCorner>
          </ows:WGS84BoundingBox>
        </AreaOfService>
        <Phenomenon>urn:ogc:phenomenon:WaterSupply</Phenomenon>
        <SensorDefinition>http://www.example.org/SensorML_SENSORID2.html</SensorDefinition>
        <SensorID>urn:ogc:object:feature:Sensor:SENSORID2</SensorID>
      </SensorOffering>
    </SensorOfferingList>
    <PhenomenonOfferingList>
      <PhenomenonOffering>
        <Phenomenon>urn:ogc:phenomenon:WaterSupply</Phenomenon>
        <SensorID>urn:ogc:object:feature:Sensor:SENSORID1</SensorID>
        <SensorID>urn:ogc:object:feature:Sensor:SENSORID2</SensorID>
      </PhenomenonOffering>
    </PhenomenonOfferingList>
  </Contents>
</Capabilities>

Add comment