cs_location.xsd
7.16 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
elementFormDefault="qualified"
attributeFormDefault="unqualified"
targetNamespace="http://www.witsml.org/schemas/131/addendum/combo"
xmlns:witsml="http://www.witsml.org/schemas/131/addendum/combo"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
version="1.3.1">
<!-- -->
<!-- POSC License Agreement
This file is distributed under the POSC License Agreement at
http://www.posc.org/about/license.shtml.
Use of this file constitutes agreement with the POSC License Agreement.
-->
<!-- -->
<xsd:include schemaLocation="typ_dataTypes.xsd"/>
<xsd:include schemaLocation="attgrp_uid.xsd"/>
<!-- -->
<xsd:complexType name="cs_location">
<xsd:annotation>
<xsd:documentation>WITSML Location Component Schema
This is a location that is expressed in terms of 2D coordinates.
In order that the location be understood, the coordinate reference system (CRS)
must be known.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="wellCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A pointer to the wellCRS that defines the CRS for the coordinates.
While optional, it is strongly recommended that this be specified.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The survey location is given by a pair of tagged values.
The pairs may be:
(1) latitude/longitude,
(2) easting/northing,
(3) westing/southing,
(4) projectedX/projectedY, or
(5) localX/localY.
The appropriate pair must be chosen for the data.</xsd:documentation>
</xsd:annotation>
<xsd:sequence minOccurs="0" maxOccurs="1">
<xsd:element name="latitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The latitude with north being positive.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="longitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The longitude with east being positive.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:sequence minOccurs="0" maxOccurs="1">
<xsd:element name="easting" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The projected coordinate with east being positive.
This is the most common type of projected coordinates.
UTM coordinates are expressed in Easting and Northing.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="northing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The projected coordinate with north being positive.
This is the most common type of projected coordinates.
UTM coordinates are expressed in Easting and Northing.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:sequence minOccurs="0" maxOccurs="1">
<xsd:element name="westing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The projected coordinate with west being positive.
The positive directions are reversed from the usual Easting and Northing values.
These values are generally located in the southern hemisphere,
most notably in South Africa and Australia.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="southing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The projected coordinate with south being positive.
The positive directions are reversed from the usual Easting and Northing values.
These values are generally located in the southern hemisphere,
most notably in South Africa and Australia.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:sequence minOccurs="0" maxOccurs="1">
<xsd:element name="projectedX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The projected X coordinate with the positive direction unknown.
ProjectedX and ProjectedY are used when it is not
known what the meaning of the coordinates is. If the meaning is known,
the Easting/Northing or Westing/Southing should be used. Use of this pair
implies a lack of knowledge on the part of the sender.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="projectedY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The projected Y coordinate with the positive direction unknown.
ProjectedX and ProjectedY are used when it is not
known what the meaning of the coordinates is. If the meaning is known,
the Easting/Northing or Westing/Southing should be used. Use of this pair
implies a lack of knowledge on the part of the sender.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:sequence minOccurs="0" maxOccurs="1">
<xsd:element name="localX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The local (engineering) X coordinate.
The CRS will define the orientation of the axis.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="localY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The local (engineering) Y coordinate.
The CRS will define the orientation of the axis.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:choice>
<xsd:element name="original" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Flag indicating (if "true" or "1") that this pair of values was
the original data given for the location. If the pair of values was
calculated from an original pair of values, this flag should be "false" (or "0"),
or not present.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A Comment, generally given to help the reader
interpret the coordinates if the CRS and the chosen pair do not make them clear.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="witsml:attgrp_uid">
<xsd:annotation>
<xsd:documentation>The unique identifier of the location.</xsd:documentation>
</xsd:annotation>
</xsd:attributeGroup>
</xsd:complexType>
</xsd:schema>