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