root / trunk / libraries / libGPE-GML / testdata / schemas / 3.1.1 / base / direction.xsd @ 11160
History | View | Annotate | Download (3 KB)
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"> |
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 |
Copyright (c) 2002-2005 OGC, All Rights Reserved. |
8 |
For conditions, see OGC Software Notice http://www.opengeospatial.org/about/?page=ipr</documentation> |
9 |
</annotation> |
10 |
<!-- ============================================================== |
11 |
includes and imports |
12 |
============================================================== --> |
13 |
<include schemaLocation="geometryBasic0d1d.xsd"/> |
14 |
<!-- ============================================================== --> |
15 |
<!--=================================================================== --> |
16 |
<element name="direction" type="gml:DirectionPropertyType"/> |
17 |
<!--=================================================================== --> |
18 |
<complexType name="DirectionPropertyType"> |
19 |
<annotation> |
20 |
<documentation/> |
21 |
</annotation> |
22 |
<choice> |
23 |
<element ref="gml:DirectionVector"/> |
24 |
<element ref="gml:CompassPoint"/> |
25 |
<element name="DirectionKeyword" type="gml:CodeType"/> |
26 |
<element name="DirectionString" type="gml:StringOrRefType"/> |
27 |
</choice> |
28 |
<attributeGroup ref="gml:AssociationAttributeGroup"/> |
29 |
</complexType> |
30 |
<!--=================================================================== --> |
31 |
<element name="DirectionVector" type="gml:DirectionVectorType"/> |
32 |
<!--=================================================================== --> |
33 |
<complexType name="DirectionVectorType"> |
34 |
<annotation> |
35 |
<documentation>Direction expressed as a vector, either using components, or using angles.</documentation> |
36 |
</annotation> |
37 |
<choice> |
38 |
<element ref="gml:vector"/> |
39 |
<sequence> |
40 |
<element name="horizontalAngle" type="gml:AngleType"/> |
41 |
<element name="verticalAngle" type="gml:AngleType"/> |
42 |
</sequence> |
43 |
</choice> |
44 |
</complexType> |
45 |
<!--=================================================================== --> |
46 |
<element name="CompassPoint" type="gml:CompassPointEnumeration"/> |
47 |
<!--=================================================================== --> |
48 |
<simpleType name="CompassPointEnumeration"> |
49 |
<restriction base="string"> |
50 |
<enumeration value="N"/> |
51 |
<enumeration value="NNE"/> |
52 |
<enumeration value="NE"/> |
53 |
<enumeration value="ENE"/> |
54 |
<enumeration value="E"/> |
55 |
<enumeration value="ESE"/> |
56 |
<enumeration value="SE"/> |
57 |
<enumeration value="SSE"/> |
58 |
<enumeration value="S"/> |
59 |
<enumeration value="SSW"/> |
60 |
<enumeration value="SW"/> |
61 |
<enumeration value="WSW"/> |
62 |
<enumeration value="W"/> |
63 |
<enumeration value="WNW"/> |
64 |
<enumeration value="NW"/> |
65 |
<enumeration value="NNW"/> |
66 |
</restriction> |
67 |
</simpleType> |
68 |
<!--=================================================================== --> |
69 |
</schema> |