ShapeCommon.xid.xml
5.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="UTF-8" ?>
<specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
identity="ShapeCommon.xid.xml">
<title>Common Shape Definitions</title>
<import ref="https://xid.location.studio/GeoSpatial/V1.0/Shape.xid.xml" local="Shape.xid.xml" />
<namespace name="GeoSpatial">
<using namespace="Tensor"/>
<struct name="Point2D" type="Shape" rttkey="GeoSpatial.ShapeType.Point2D">
<comment>Defines a 2D (lat, lon) point in WGS84 coordinates.</comment>
<elem name="lat" type="float64" multiplicity="1">
<tag name="unit" value="degrees"/>
<tag name="reference" value="WGS84"/>
</elem>
<elem name="lon" type="float64" multiplicity="1">
<tag name="unit" value="degrees"/>
<tag name="reference" value="WGS84"/>
</elem>
</struct>
<struct name="Circle" type="Point2D" rttkey="GeoSpatial.ShapeType.Circle">
<comment>In an Estimate, the shape is the uncertainty area.</comment>
<elem name="radius" type="float32" multiplicity="1">
<tag name="unit" value="meters"/>
<comment>
In an estimate, radius is the horizontal uncertainty.\n
0 <= radius
</comment>
</elem>
</struct>
<struct name="Ellipse" type="Point2D" rttkey="GeoSpatial.ShapeType.Ellipse">
<comment>In an Estimate, the shape is the uncertainty area.</comment>
<elem name="major" type="float32" multiplicity="1">
<tag name="unit" value="meters"/>
<comment>major axis horizontal radius</comment>
</elem>
<elem name="minor" type="float32" multiplicity="1">
<tag name="unit" value="meters"/>
<comment>minor axis horizontal radius</comment>
</elem>
<elem name="orient" type="float32" multiplicity="1">
<tag name="unit" value="degrees"/>
<comment>
Angle between north and major axis.\n
0 <= orient < 180.
</comment>
</elem>
</struct>
<struct name="Point3D" type="Point2D" rttkey="GeoSpatial.ShapeType.Point3D">
<comment>Defines a 3D (lat, lon, alt) point in WGS84 coordinates.</comment>
<elem name="alt" type="float64" multiplicity="1">
<tag name="unit" value="meters"/>
<tag name="reference" value="WGS84"/>
</elem>
</struct>
<struct name="Spheroid" type="Point3D" rttkey="GeoSpatial.ShapeType.Spheroid">
<comment>
Spheroid is the shape of a circular "pill".\n
In an Estimate, the shape is the uncertainty area.
</comment>
<elem name="radius" type="float32" multiplicity="1">
<tag name="unit" value="meters"/>
<comment>
In an estimate, radius is the horizontal uncertainty.\n
0 <= radius
</comment>
</elem>
<elem name="vert" type="float32" multiplicity="1">
<tag name="unit" value="meters"/>
<comment>
In an estimate, vert is the vertical uncertainty.\n
0 <= vert
</comment>
</elem>
</struct>
<struct name="Ellipsoid" type="Point3D" rttkey="GeoSpatial.ShapeType.Ellipsoid">
<comment>
Ellipsoid is the shape of an oblong "pill" at an orientation.\n
In an Estimate, the shape is the uncertainty area.
</comment>
<elem name="major" type="float32" multiplicity="1">
<tag name="unit" value="meters"/>
<comment>major axis radius/distance/reach</comment>
</elem>
<elem name="minor" type="float32" multiplicity="1">
<tag name="unit" value="meters"/>
<comment>minor axis radius/distance/reach</comment>
</elem>
<elem name="orient" type="float32" multiplicity="1">
<tag name="unit" value="degrees"/>
<comment>
angle between north and major axis.\n
0 <= orient < 180.
</comment>
</elem>
<elem name="vert" type="float32" multiplicity="1">
<tag name="unit" value="meters"/>
<comment>
In an estimate, vert is the vertical uncertainty.\n
0 <= vert
</comment>
</elem>
</struct>
</namespace>
</specification>