Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema targetNamespace="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.2.1.2">
3
	<annotation>
4
		<appinfo source="urn:x-ogc:specification:gml:schema-xsd:direction:3.2.1">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.
7

    
8
GML is an OGC Standard.
9
Copyright (c) 2007,2010 Open Geospatial Consortium.
10
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
11
		</documentation>
12
	</annotation>
13
	<include schemaLocation="gml.xsd"/>
14
	<include schemaLocation="geometryBasic0d1d.xsd"/>
15
	<element name="direction" type="gml:DirectionPropertyType">
16
		<annotation>
17
			<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>
18
		</annotation>
19
	</element>
20
	<complexType name="DirectionPropertyType">
21
		<choice minOccurs="0">
22
			<element name="DirectionVector" type="gml:DirectionVectorType"/>
23
			<element name="DirectionDescription" type="gml:DirectionDescriptionType"/>
24
			<element name="CompassPoint" type="gml:CompassPointEnumeration"/>
25
			<element name="DirectionKeyword" type="gml:CodeType"/>
26
			<element name="DirectionString" type="gml:StringOrRefType"/>
27
		</choice>
28
		<attributeGroup ref="gml:OwnershipAttributeGroup"/>
29
		<attributeGroup ref="gml:AssociationAttributeGroup"/>
30
	</complexType>
31
	<complexType name="DirectionVectorType">
32
		<annotation>
33
			<documentation>Direction vectors are specified by providing components of a vector.</documentation>
34
		</annotation>
35
		<choice>
36
			<element ref="gml:vector"/>
37
			<sequence>
38
				<annotation>
39
					<appinfo>deprecated</appinfo>
40
				</annotation>
41
				<element name="horizontalAngle" type="gml:AngleType"/>
42
				<element name="verticalAngle" type="gml:AngleType"/>
43
			</sequence>
44
		</choice>
45
	</complexType>
46
	<complexType name="DirectionDescriptionType">
47
		<annotation>
48
			<documentation>direction descriptions are specified by a compass point code, a keyword, a textual description or a reference to a description.
49
A gml:compassPoint is specified by a simple enumeration.  	
50
In addition, thre elements to contain text-based descriptions of direction are provided.  
51
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. 
52
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>
53
		</annotation>
54
		<choice>
55
			<element name="compassPoint" type="gml:CompassPointEnumeration"/>
56
			<element name="keyword" type="gml:CodeType"/>
57
			<element name="description" type="string"/>
58
			<element name="reference" type="gml:ReferenceType"/>
59
		</choice>
60
	</complexType>
61
	<simpleType name="CompassPointEnumeration">
62
		<annotation>
63
			<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>
64
		</annotation>
65
		<restriction base="string">
66
			<enumeration value="N"/>
67
			<enumeration value="NNE"/>
68
			<enumeration value="NE"/>
69
			<enumeration value="ENE"/>
70
			<enumeration value="E"/>
71
			<enumeration value="ESE"/>
72
			<enumeration value="SE"/>
73
			<enumeration value="SSE"/>
74
			<enumeration value="S"/>
75
			<enumeration value="SSW"/>
76
			<enumeration value="SW"/>
77
			<enumeration value="WSW"/>
78
			<enumeration value="W"/>
79
			<enumeration value="WNW"/>
80
			<enumeration value="NW"/>
81
			<enumeration value="NNW"/>
82
		</restriction>
83
	</simpleType>
84
</schema>
(11-11/30)