Personal tools
You are here: Home Old Content - To be removed SOS Perl Cookbook Version 0.1 OOS Tethsys SOS CGI Files GetCapibilites XML Template

GetCapibilites XML Template

sosGetCapabilities.xml — Extensible Markup Language (XML), 3Kb

File contents

<?xml version="1.0" encoding="UTF-8"?>
<sos:Capabilities version="0.0.31" xmlns:gml="http://www.opengis.net/gml"
	xmlns:om="http://www.opengis.net/om" xmlns:ows="http://www.opengeospatial.net/ows"
	xmlns:sos="http://www.opengeospatial.net/sos" xmlns:swe="http://www.opengis.net/swe"
	xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.opengeospatial.net/sos ../ogc/sos/0.0.31/sosGetCapabilities.xsd">
	<!--~~~~~~~~~~~~~~~~~~~~~~~~-->
	<!-- Service Identification -->
	<!--~~~~~~~~~~~~~~~~~~~~~~~~-->
	<ows:ServiceIdentification>
		<ows:Title></ows:Title>
		<ows:ServiceType codeSpace="http://opengeospatial.net">OGC:SOS</ows:ServiceType>
		<ows:ServiceTypeVersion>0.0.31</ows:ServiceTypeVersion>
	</ows:ServiceIdentification>
	<!--~~~~~~~~~~~~~~~~~~~~~~-->
	<!-- Provider Description -->
	<!--~~~~~~~~~~~~~~~~~~~~~~-->
	<ows:ServiceProvider>
		<ows:ProviderName></ows:ProviderName>
		<ows:ProviderSite />
		<ows:ServiceContact>
			<ows:IndividualName></ows:IndividualName>
			<ows:ContactInfo>
				<ows:Address>
					<ows:ElectronicMailAddress></ows:ElectronicMailAddress>
				</ows:Address>
			</ows:ContactInfo>
		</ows:ServiceContact>
	</ows:ServiceProvider>
	<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
	<!-- operations Metadata Section -->
	<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
	<ows:OperationsMetadata>
		<ows:Operation name="GetCapabilities">
			<ows:DCP>
				<ows:HTTP>
					<ows:Get />
					<ows:Post />
				</ows:HTTP>
			</ows:DCP>
			<ows:Parameter name="service" use="required">
				<ows:Value>SOS</ows:Value>
			</ows:Parameter>
			<ows:Parameter name="version" use="required">
				<ows:Value>0.0.31</ows:Value>
			</ows:Parameter>
		</ows:Operation>
		<ows:Operation name="GetObservation">
			<ows:DCP>
				<ows:HTTP>
					<ows:Get />
					<ows:Post />
				</ows:HTTP>
			</ows:DCP>
			<!--  the parameter -->
			<ows:Parameter name="offering" use="required">
				<!-- Data by platforms and feature of interest -->
				<ows:Value></ows:Value>
			</ows:Parameter>
			<ows:Parameter name="observedProperty" use="required"> </ows:Parameter>
			<ows:Parameter name="eventTime" use="optional"> </ows:Parameter>
		</ows:Operation>
		<ows:Operation name="DescribeSensor">
			<ows:DCP>
				<ows:HTTP>
					<ows:Get />
					<ows:Post />
				</ows:HTTP>
			</ows:DCP>
			<ows:Parameter name="sensorId" use="required">
				<ows:Value></ows:Value>
			</ows:Parameter>
		</ows:Operation>
	</ows:OperationsMetadata>
	<!--~~~~~~~~~~~~~~~~~~~~~~~-->
	<sos:Contents>
		<sos:ObservationOfferingList>
			<sos:ObservationOffering >
				<gml:name></gml:name>
				<gml:boundedBy>
					<!-- bounding box of the data available by the data provider-->
					<gml:Envelope>
						<gml:lowerCorner srsName="urn:ogc:crs:epsg4326"></gml:lowerCorner>
						<gml:upperCorner srsName="urn:ogc:crs:epsg4326"></gml:upperCorner>
					</gml:Envelope>
				</gml:boundedBy>
				<sos:eventTime>
					<gml:TimePeriod>
						<!-- time period of the data available by the data provider -->
						<gml:beginPosition></gml:beginPosition>
						<gml:endPosition></gml:endPosition>
					</gml:TimePeriod>
				</sos:eventTime>
				<!-- this is the platform -->
				<sos:procedure />
				<!-- what is being measured -->
				<sos:observedProperty gml:id="salinity">
					<gml:name>http://marinemetadata.org/cf#sea_water_salinity</gml:name>
				</sos:observedProperty>
				<sos:observedProperty gml:id="conductivity">
					<gml:name>http://marinemetadata.org/cf#conductivity</gml:name>
				</sos:observedProperty>
				<sos:featureOfInterest xlink:href="urn:something:bodyOfWater"/>
				<sos:resultFormat>application/com-xml</sos:resultFormat>
			</sos:ObservationOffering>
		</sos:ObservationOfferingList>
	</sos:Contents>
	<!-- similar for other platforms (or systems) -->
</sos:Capabilities>
Document Actions