Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.2.0">
3
	<annotation>
4
		<appinfo source="urn:ogc:specification:gml:schema-xsd:direction:3.2.0">direction.xsd</appinfo>
5
		<documentation>See ISO/DIS 19136 Clause 18.
6
The direction schema components provide the GML Application Schema developer with a standard property element to describe direction, and associated objects that may be used to express orientation, direction, heading, bearing or other directional aspects of geographic features. </documentation>
7
	</annotation>
8
	<include schemaLocation="geometryBasic0d1d.xsd"/>
9
	<element name="direction" type="gml:DirectionPropertyType">
10
		<annotation>
11
			<documentation>The property gml:direction is intended as a pre-defined property expressing a direction to be assigned to features defined in a GML application schema.</documentation>
12
		</annotation>
13
	</element>
14
	<complexType name="DirectionPropertyType">
15
		<sequence minOccurs="0">
16
			<choice>
17
				<element name="DirectionVector" type="gml:DirectionVectorType"/>
18
				<element name="DirectionDescription" type="gml:DirectionDescriptionType"/>
19
				<element name="CompassPoint" type="gml:CompassPointEnumeration"/>
20
				<element name="DirectionKeyword" type="gml:CodeType"/>
21
				<element name="DirectionString" type="gml:StringOrRefType"/>
22
			</choice>
23
		</sequence>
24
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
25
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
26
	</complexType>
27
	<complexType name="DirectionVectorType">
28
		<annotation>
29
			<documentation>Direction vectors are specified by providing components of a vector.</documentation>
30
		</annotation>
31
		<choice>
32
			<element ref="gml:vector"/>
33
			<sequence>
34
				<annotation>
35
					<appinfo>deprecated</appinfo>
36
				</annotation>
37
				<element name="horizontalAngle" type="gml:AngleType"/>
38
				<element name="verticalAngle" type="gml:AngleType"/>
39
			</sequence>
40
		</choice>
41
	</complexType>
42
	<complexType name="DirectionDescriptionType">
43
		<annotation>
44
			<documentation>direction descriptions are specified by a compass point code, a keyword, a textual description or a reference to a description.
45
A gml:compassPoint is specified by a simple enumeration.  	
46
In addition, thre elements to contain text-based descriptions of direction are provided.  
47
If the direction is specified using a term from a list, gml:keyword should be used, and the list indicated using the value of the codeSpace attribute. 
48
if the direction is decribed in prose, gml:direction or gml:reference should be used, allowing the value to be included inline or by reference.</documentation>
49
		</annotation>
50
		<choice>
51
			<element name="compassPoint" type="gml:CompassPointEnumeration"/>
52
			<element name="keyword" type="gml:CodeType"/>
53
			<element name="description" type="string"/>
54
			<element name="reference" type="gml:ReferenceType"/>
55
		</choice>
56
	</complexType>
57
	<simpleType name="CompassPointEnumeration">
58
		<annotation>
59
			<documentation>These directions are necessarily approximate, giving direction with a precision of 22.5°. It is thus generally unnecessary to specify the reference frame, though this may be detailed in the definition of a GML application language.</documentation>
60
		</annotation>
61
		<restriction base="string">
62
			<enumeration value="N"/>
63
			<enumeration value="NNE"/>
64
			<enumeration value="NE"/>
65
			<enumeration value="ENE"/>
66
			<enumeration value="E"/>
67
			<enumeration value="ESE"/>
68
			<enumeration value="SE"/>
69
			<enumeration value="SSE"/>
70
			<enumeration value="S"/>
71
			<enumeration value="SSW"/>
72
			<enumeration value="SW"/>
73
			<enumeration value="WSW"/>
74
			<enumeration value="W"/>
75
			<enumeration value="WNW"/>
76
			<enumeration value="NW"/>
77
			<enumeration value="NNW"/>
78
		</restriction>
79
	</simpleType>
80
</schema>
(13-13/54)