~ubuntu-branches/ubuntu/raring/mtkbabel/raring

« back to all changes in this revision

Viewing changes to MtkExtensionsv1.xsd

  • Committer: Bazaar Package Importer
  • Author(s): Uwe Hermann
  • Date: 2008-02-08 21:52:33 UTC
  • Revision ID: james.westby@ubuntu.com-20080208215233-5hto58no3w1vx7uk
Tags: upstream-0.6
ImportĀ upstreamĀ versionĀ 0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<schema xmlns="http://www.w3.org/2001/XMLSchema"
 
3
        xmlns:mtk="http://www.rigacci.org/gpx/MtkExtensions/v1"
 
4
        targetNamespace="http://www.rigacci.org/gpx/MtkExtensions/v1"
 
5
        elementFormDefault="qualified"
 
6
        attributeFormDefault="unqualified">
 
7
 
 
8
  <annotation><documentation>
 
9
  This schema defines an extension to be used with the GPX 1.1 schema; it
 
10
  accomodates extra fields logged by GPS devices based un the MediaTek (MTK)
 
11
  chip. The root elements defined by this schema are intended to be used as
 
12
  child elements of the "extensions" elements in the GPX 1.1 schema. The GPX
 
13
  1.1 schema is available at http://www.topografix.com/GPX/1/1/gpx.xsd.
 
14
  </documentation></annotation>
 
15
 
 
16
  <element name="wptExtension" type="mtk:wptExtensionType" />
 
17
 
 
18
  <complexType name="wptExtensionType">
 
19
    <annotation><documentation>
 
20
    This type contains data fields available in MTK waypoints that cannot
 
21
    be represented in waypoints instances of GPX 1.1 schema.
 
22
    </documentation></annotation>
 
23
    <sequence>
 
24
      <element name="valid"      type="mtk:validFixType"   minOccurs="0" />
 
25
      <element name="speed"      type="float"              minOccurs="0" />
 
26
      <element name="heading"    type="float"              minOccurs="0" />
 
27
      <element name="satinview"  type="nonNegativeInteger" minOccurs="0" />
 
28
      <element name="satdata"    type="mtk:satdataType"    minOccurs="0" maxOccurs="unbounded"/>
 
29
      <element name="msec"       type="mtk:msecType"       minOccurs="0" />
 
30
      <element name="distance"   type="double"             minOccurs="0" />
 
31
      <element name="extensions" type="mtk:extensionsType" minOccurs="0" />
 
32
    </sequence>
 
33
  </complexType>
 
34
 
 
35
  <simpleType name="validFixType">
 
36
    <annotation><documentation>
 
37
    Type of GPS fix. nofix = the GPS device had no fix. sps = Standard
 
38
    Positioning Service; before May 2000 it was affected by Selective
 
39
    Availability degradation. dgps = Differential GPS; fix aided by
 
40
    ground-based station corrections. pps = Precise Positioning Service;
 
41
    accuracy not affected by Selective Availability, provided encrypted.
 
42
    rtk = Real Time Kinematic with fixed integers. frtk = Real Time
 
43
    Kinematic with floating integers. estimated = Estimated mode (dead
 
44
    reckoning). manual = fix was entered manually. simulator = the GPS
 
45
    device is operating in simulation mode, it had no real GPS fix.
 
46
    </documentation></annotation>
 
47
    <restriction base="string">
 
48
      <enumeration value="nofix" />
 
49
      <enumeration value="sps" />
 
50
      <enumeration value="dgps" />
 
51
      <enumeration value="pps" />
 
52
      <enumeration value="rtk" />
 
53
      <enumeration value="frtk" />
 
54
      <enumeration value="estimated" />
 
55
      <enumeration value="manual" />
 
56
      <enumeration value="simulator" />
 
57
    </restriction>
 
58
  </simpleType>
 
59
 
 
60
  <complexType name="satdataType">
 
61
    <annotation><documentation>
 
62
    Satellite information. If satellite information is logged, "sid"
 
63
    (Station ID) and "inuse" (if the station was used to compute the fix)
 
64
    are always logged. elevation = elevation above the horizon of the
 
65
    satellite, in degrees. azimuth = the angle between true north and the
 
66
    satellite, in degrees. snr = signal to noise ratio.
 
67
    </documentation></annotation>
 
68
    <sequence>
 
69
      <element name="elevation" type="mtk:elevationType" minOccurs="0" />
 
70
      <element name="azimuth"   type="mtk:azimuthType"   minOccurs="0" />
 
71
      <element name="snr"       type="integer"           minOccurs="0" />
 
72
    </sequence>
 
73
    <attribute name="sid"       type="unsignedByte"      use="required" />
 
74
    <attribute name="inuse"     type="boolean"           use="required" />
 
75
  </complexType>
 
76
 
 
77
  <simpleType name="elevationType">
 
78
    <restriction base="decimal">
 
79
      <minInclusive value="-90.0"/>
 
80
      <maxInclusive value="90.0"/>
 
81
    </restriction>
 
82
  </simpleType>
 
83
 
 
84
  <simpleType name="azimuthType">
 
85
    <restriction base="decimal">
 
86
      <minInclusive value="0.0"/>
 
87
      <maxExclusive value="360.0"/>
 
88
    </restriction>
 
89
  </simpleType>
 
90
 
 
91
  <simpleType name="msecType">
 
92
    <restriction base="nonNegativeInteger">
 
93
      <maxInclusive value="999" />
 
94
    </restriction>
 
95
  </simpleType>
 
96
 
 
97
  <complexType name="extensionsType">
 
98
    <sequence>
 
99
      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
 
100
      </any>
 
101
    </sequence>
 
102
  </complexType>
 
103
 
 
104
</schema>