root / trunk / libraries / libGPE-GML / testdata / schemas / 3.1.1 / base / observation.xsd @ 11160
History | View | Annotate | Download (4.26 KB)
1 |
<?xml version="1.0" encoding="UTF-8"?> |
---|---|
2 |
<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1"> |
3 |
<annotation> |
4 |
<appinfo source="urn:opengis:specification:gml:schema-xsd:observation:3.1.1">observation.xsd</appinfo> |
5 |
<documentation>Observation schema for GML 3.1 |
6 |
Copyright (c) 2002-2005 OGC, All Rights Reserved. |
7 |
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation> |
8 |
</annotation> |
9 |
<!-- =================================================================== --> |
10 |
<!-- === includes and imports ============================================ --> |
11 |
<include schemaLocation="feature.xsd"/> |
12 |
<include schemaLocation="direction.xsd"/> |
13 |
<include schemaLocation="valueObjects.xsd"/> |
14 |
<!-- =================================================================== --> |
15 |
<!-- =================== properties =================================== --> |
16 |
<element name="using" type="gml:FeaturePropertyType"> |
17 |
<annotation> |
18 |
<documentation>This element contains or points to a description of a sensor, instrument or procedure used for the observation</documentation> |
19 |
</annotation> |
20 |
</element> |
21 |
<!-- =================================================================== --> |
22 |
<element name="target" type="gml:TargetPropertyType"> |
23 |
<annotation> |
24 |
<documentation>This element contains or points to the specimen, region or station which is the object of the observation</documentation> |
25 |
</annotation> |
26 |
</element> |
27 |
<!-- =================================================================== --> |
28 |
<element name="subject" type="gml:TargetPropertyType" substitutionGroup="gml:target"> |
29 |
<annotation> |
30 |
<documentation>Synonym for target - common word used for photographs</documentation> |
31 |
</annotation> |
32 |
</element> |
33 |
<!-- =================================================================== --> |
34 |
<complexType name="TargetPropertyType"> |
35 |
<annotation> |
36 |
<documentation>Container for an object representing the target or subject of an observation.</documentation> |
37 |
</annotation> |
38 |
<sequence minOccurs="0"> |
39 |
<choice> |
40 |
<element ref="gml:_Feature"/> |
41 |
<element ref="gml:_Geometry"/> |
42 |
</choice> |
43 |
</sequence> |
44 |
<attributeGroup ref="gml:AssociationAttributeGroup"/> |
45 |
</complexType> |
46 |
<!-- =================================================================== --> |
47 |
<element name="resultOf" type="gml:AssociationType"> |
48 |
<annotation> |
49 |
<documentation>The result of the observation: an image, external object, etc</documentation> |
50 |
</annotation> |
51 |
</element> |
52 |
<!-- =================================================================== --> |
53 |
<!-- ===================== Features =========================== --> |
54 |
<element name="Observation" type="gml:ObservationType" substitutionGroup="gml:_Feature"/> |
55 |
<!-- =========================================================== --> |
56 |
<complexType name="ObservationType"> |
57 |
<complexContent> |
58 |
<extension base="gml:AbstractFeatureType"> |
59 |
<sequence> |
60 |
<element ref="gml:validTime"/> |
61 |
<element ref="gml:using" minOccurs="0"/> |
62 |
<element ref="gml:target" minOccurs="0"/> |
63 |
<element ref="gml:resultOf"/> |
64 |
</sequence> |
65 |
</extension> |
66 |
</complexContent> |
67 |
</complexType> |
68 |
<!-- =========================================================== --> |
69 |
<element name="DirectedObservation" type="gml:DirectedObservationType" substitutionGroup="gml:Observation"/> |
70 |
<!-- =========================================================== --> |
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 |
<!-- =========================================================== --> |
81 |
<element name="DirectedObservationAtDistance" type="gml:DirectedObservationAtDistanceType" substitutionGroup="gml:DirectedObservation"/> |
82 |
<!-- =========================================================== --> |
83 |
<complexType name="DirectedObservationAtDistanceType"> |
84 |
<complexContent> |
85 |
<extension base="gml:DirectedObservationType"> |
86 |
<sequence> |
87 |
<element name="distance" type="gml:MeasureType"/> |
88 |
</sequence> |
89 |
</extension> |
90 |
</complexContent> |
91 |
</complexType> |
92 |
<!-- =========================================================== --> |
93 |
</schema> |