Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" version="3.2.1 2010-01-28">
3
	<annotation>
4
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:observation:3.2.1">observation.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 Clause 19.
6
A GML observation models the act of observing, often with a camera, a person or some form of instrument.  An observation feature describes the "metadata" associated with an information capture event, together with a value for the result of the observation.  This covers a broad range of cases, from a tourist photo (not the photo but the act of taking the photo), to images acquired by space borne sensors or the measurement of a temperature 5 meters below the surfaces of a lake.
7
The basic structures introduced in this schema are intended to serve as the foundation for more comprehensive schemas for scientific, technical and engineering measurement schemas.
8

    
9
GML is an OGC Standard.
10
Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
11
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
12
		</documentation>
13
	</annotation>
14
	<include schemaLocation="feature.xsd"/>
15
	<include schemaLocation="direction.xsd"/>
16
	<include schemaLocation="valueObjects.xsd"/>
17
	<element name="Observation" type="gml:ObservationType" substitutionGroup="gml:AbstractFeature">
18
		<annotation>
19
			<documentation>The content model is a straightforward extension of gml:AbstractFeatureType; it automatically has the gml:identifier, gml:description, gml:descriptionReference, gml:name, and gml:boundedBy properties. 
20
The gml:validTime element describes the time of the observation. Note that this may be a time instant or a time period.
21
The gml:using property contains or references a description of a sensor, instrument or procedure used for the observation.
22
The gml:target property contains or references the specimen, region or station which is the object of the observation. This property is particularly useful for remote observations, such as photographs, where a generic location property might apply to the location of the camera or the location of the field of view, and thus may be ambiguous.  
23
The gml:subject element is provided as a convenient synonym for gml:target. This is the term commonly used in phtotography.  
24
The gml:resultOf property indicates the result of the observation.  The value may be inline, or a reference to a value elsewhere.
25
</documentation>
26
		</annotation>
27
	</element>
28
	<complexType name="ObservationType">
29
		<complexContent>
30
			<extension base="gml:AbstractFeatureType">
31
				<sequence>
32
					<element ref="gml:validTime"/>
33
					<element ref="gml:using" minOccurs="0"/>
34
					<element ref="gml:target" minOccurs="0"/>
35
					<element ref="gml:resultOf"/>
36
				</sequence>
37
			</extension>
38
		</complexContent>
39
	</complexType>
40
	<element name="using" type="gml:ProcedurePropertyType"/>
41
	<complexType name="ProcedurePropertyType">
42
		<sequence minOccurs="0">
43
			<element ref="gml:AbstractFeature"/>
44
		</sequence>
45
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
46
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
47
	</complexType>
48
	<element name="target" type="gml:TargetPropertyType"/>
49
	<element name="subject" type="gml:TargetPropertyType" substitutionGroup="gml:target"/>
50
	<complexType name="TargetPropertyType">
51
		<choice minOccurs="0">
52
			<element ref="gml:AbstractFeature"/>
53
			<element ref="gml:AbstractGeometry"/>
54
		</choice>
55
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
56
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
57
	</complexType>
58
	<element name="resultOf" type="gml:ResultType"/>
59
	<complexType name="ResultType">
60
		<sequence minOccurs="0">
61
			<any namespace="##any"/>
62
		</sequence>
63
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
64
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
65
	</complexType>
66
	<element name="DirectedObservation" type="gml:DirectedObservationType" substitutionGroup="gml:Observation">
67
		<annotation>
68
			<documentation>A gml:DirectedObservation is the same as an observation except that it adds an additional gml:direction property. This is the direction in which the observation was acquired. Clearly this applies only to certain types of observations such as visual observations by people, or observations obtained from terrestrial cameras.</documentation>
69
		</annotation>
70
	</element>
71
	<complexType name="DirectedObservationType">
72
		<complexContent>
73
			<extension base="gml:ObservationType">
74
				<sequence>
75
					<element ref="gml:direction"/>
76
				</sequence>
77
			</extension>
78
		</complexContent>
79
	</complexType>
80
	<element name="DirectedObservationAtDistance" type="gml:DirectedObservationAtDistanceType" substitutionGroup="gml:DirectedObservation">
81
		<annotation>
82
			<documentation>gml:DirectedObservationAtDistance adds an additional distance property. This is the distance from the observer to the subject of the observation. Clearly this applies only to certain types of observations such as visual observations by people, or observations obtained from terrestrial cameras.</documentation>
83
		</annotation>
84
	</element>
85
	<complexType name="DirectedObservationAtDistanceType">
86
		<complexContent>
87
			<extension base="gml:DirectedObservationType">
88
				<sequence>
89
					<element name="distance" type="gml:MeasureType"/>
90
				</sequence>
91
			</extension>
92
		</complexContent>
93
	</complexType>
94
</schema>
(23-23/30)