All Downloads are FREE. Search and download functionalities are using the official Maven repository.

om.2.0.0.examples.spatial_observation1.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<!-- Observation example for sampling geometry extension for observations as defined in SOS extension TBD -->
<om:OM_Observation
	gml:id="obsTest1"
	xmlns:om="http://www.opengis.net/om/2.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	xmlns:gml="http://www.opengis.net/gml/3.2"
	xsi:schemaLocation="http://www.opengis.net/om/2.0 http://schemas.opengis.net/om/2.0/observation.xsd">

	<!-- optional description of observation -->
	<gml:description>Spatial observation test instance: water level</gml:description>

	<!-- optional name of observation -->
	<gml:name>Spatial observation test 1</gml:name>

	<!-- phenomenon time of observation -->
	<om:phenomenonTime>
		<gml:TimeInstant
			gml:id="pt1">
			<gml:timePosition>2010-03-08T16:22:25.00</gml:timePosition>
		</gml:TimeInstant>
	</om:phenomenonTime>

	<!-- result time is same as phenomenon time of observation -->
	<om:resultTime
		xlink:href="#pt1"/>

	<!-- link to DescribeSensor operation of SOS which is providing the sensor description -->
	<om:procedure
		xlink:href="http://mySOSURL?service=SOS&amp;request=DescribeSensor&amp;version=2.0.0&amp;procedureIdentifier=&quot;procedure1"/>

	<!-- parameter containing samplingPoint as defined in SOS 2.0 Extension - Data Encoding Restriction-->
	<om:parameter>
		<om:NamedValue>
			<om:name
				xlink:href="http://www.opengis.net/req/omxml/2.0/data/samplingGeometry"/>
			<om:value>
				<gml:Point
					gml:id="SamplingPoint">
					<gml:pos
						srsName="urn:ogc:def:crs:EPSG:4326">52.9 7.52</gml:pos>
				</gml:Point>
			</om:value>
		</om:NamedValue>
	</om:parameter>

	<!-- a notional URN identifying the observed property -->
	<om:observedProperty
		xlink:href="http://sweet.jpl.nasa.gov/2.0/hydroSurface.owl#WaterHeight"/>

	<!-- a notional WFS call identifying the object regarding which the observation was made -->
	<om:featureOfInterest
		xlink:href="http://wfs.example.org?request=getFeature&amp;featureid=river1 "/>

	<!-- The XML Schema type of the result is indicated using the value of the xsi:type attribute -->
	<om:result
		xsi:type="gml:MeasureType"
		uom="cm">28</om:result>

</om:OM_Observation>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy