1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"
|
3
|
version="3.1.1.2">
|
4
|
<annotation>
|
5
|
<appinfo source="urn:opengis:specification:gml:schema-xsd:direction:3.1.1">direction.xsd</appinfo>
|
6
|
<documentation>This schema defines "direction" element and type.
|
7
|
|
8
|
GML is an OGC Standard.
|
9
|
Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
|
10
|
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
|
11
|
</documentation>
|
12
|
</annotation>
|
13
|
<!-- ==============================================================
|
14
|
includes and imports
|
15
|
============================================================== -->
|
16
|
<include schemaLocation="gml.xsd"/>
|
17
|
<include schemaLocation="geometryBasic0d1d.xsd"/>
|
18
|
<!-- ============================================================== -->
|
19
|
<!--=================================================================== -->
|
20
|
<element name="direction" type="gml:DirectionPropertyType"/>
|
21
|
<!--=================================================================== -->
|
22
|
<complexType name="DirectionPropertyType">
|
23
|
<annotation>
|
24
|
<documentation/>
|
25
|
</annotation>
|
26
|
<choice>
|
27
|
<element ref="gml:DirectionVector"/>
|
28
|
<element ref="gml:CompassPoint"/>
|
29
|
<element name="DirectionKeyword" type="gml:CodeType"/>
|
30
|
<element name="DirectionString" type="gml:StringOrRefType"/>
|
31
|
</choice>
|
32
|
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
33
|
</complexType>
|
34
|
<!--=================================================================== -->
|
35
|
<element name="DirectionVector" type="gml:DirectionVectorType"/>
|
36
|
<!--=================================================================== -->
|
37
|
<complexType name="DirectionVectorType">
|
38
|
<annotation>
|
39
|
<documentation>Direction expressed as a vector, either using components, or using angles.</documentation>
|
40
|
</annotation>
|
41
|
<choice>
|
42
|
<element ref="gml:vector"/>
|
43
|
<sequence>
|
44
|
<element name="horizontalAngle" type="gml:AngleType"/>
|
45
|
<element name="verticalAngle" type="gml:AngleType"/>
|
46
|
</sequence>
|
47
|
</choice>
|
48
|
</complexType>
|
49
|
<!--=================================================================== -->
|
50
|
<element name="CompassPoint" type="gml:CompassPointEnumeration"/>
|
51
|
<!--=================================================================== -->
|
52
|
<simpleType name="CompassPointEnumeration">
|
53
|
<restriction base="string">
|
54
|
<enumeration value="N"/>
|
55
|
<enumeration value="NNE"/>
|
56
|
<enumeration value="NE"/>
|
57
|
<enumeration value="ENE"/>
|
58
|
<enumeration value="E"/>
|
59
|
<enumeration value="ESE"/>
|
60
|
<enumeration value="SE"/>
|
61
|
<enumeration value="SSE"/>
|
62
|
<enumeration value="S"/>
|
63
|
<enumeration value="SSW"/>
|
64
|
<enumeration value="SW"/>
|
65
|
<enumeration value="WSW"/>
|
66
|
<enumeration value="W"/>
|
67
|
<enumeration value="WNW"/>
|
68
|
<enumeration value="NW"/>
|
69
|
<enumeration value="NNW"/>
|
70
|
</restriction>
|
71
|
</simpleType>
|
72
|
<!--=================================================================== -->
|
73
|
</schema>
|