[16] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <xsd:schema |
---|
| 3 | elementFormDefault="qualified" |
---|
| 4 | attributeFormDefault="unqualified" |
---|
| 5 | targetNamespace="http://www.witsml.org/schemas/131" |
---|
| 6 | xmlns:witsml="http://www.witsml.org/schemas/131" |
---|
| 7 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
---|
| 8 | version="1.3.1"> |
---|
| 9 | <!-- --> |
---|
| 10 | <!-- POSC License Agreement |
---|
| 11 | This file is distributed under the POSC License Agreement at |
---|
| 12 | http://www.posc.org/about/license.shtml. |
---|
| 13 | Use of this file constitutes agreement with the POSC License Agreement. |
---|
| 14 | --> |
---|
| 15 | <!-- --> |
---|
| 16 | <xsd:include schemaLocation="typ_dataTypes.xsd"/> |
---|
| 17 | <xsd:include schemaLocation="attgrp_uid.xsd"/> |
---|
| 18 | <!-- --> |
---|
| 19 | <xsd:complexType name="cs_location"> |
---|
| 20 | <xsd:annotation> |
---|
| 21 | <xsd:documentation>WITSML Location Component Schema |
---|
| 22 | This is a location that is expressed in terms of 2D coordinates. |
---|
| 23 | In order that the location be understood, the coordinate reference system (CRS) |
---|
| 24 | must be known.</xsd:documentation> |
---|
| 25 | </xsd:annotation> |
---|
| 26 | <xsd:sequence> |
---|
| 27 | <xsd:element name="wellCRS" type="witsml:refNameString" minOccurs="0" maxOccurs="1"> |
---|
| 28 | <xsd:annotation> |
---|
| 29 | <xsd:documentation>A pointer to the wellCRS that defines the CRS for the coordinates. |
---|
| 30 | While optional, it is strongly recommended that this be specified.</xsd:documentation> |
---|
| 31 | </xsd:annotation> |
---|
| 32 | </xsd:element> |
---|
| 33 | <xsd:choice minOccurs="0" maxOccurs="1"> |
---|
| 34 | <xsd:annotation> |
---|
| 35 | <xsd:documentation>The survey location is given by a pair of tagged values. |
---|
| 36 | The pairs may be: |
---|
| 37 | (1) latitude/longitude, |
---|
| 38 | (2) easting/northing, |
---|
| 39 | (3) westing/southing, |
---|
| 40 | (4) projectedX/projectedY, or |
---|
| 41 | (5) localX/localY. |
---|
| 42 | The appropriate pair must be chosen for the data.</xsd:documentation> |
---|
| 43 | </xsd:annotation> |
---|
| 44 | <xsd:sequence minOccurs="0" maxOccurs="1"> |
---|
| 45 | <xsd:element name="latitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 46 | <xsd:annotation> |
---|
| 47 | <xsd:documentation>The latitude with north being positive.</xsd:documentation> |
---|
| 48 | </xsd:annotation> |
---|
| 49 | </xsd:element> |
---|
| 50 | <xsd:element name="longitude" type="witsml:planeAngleMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 51 | <xsd:annotation> |
---|
| 52 | <xsd:documentation>The longitude with east being positive.</xsd:documentation> |
---|
| 53 | </xsd:annotation> |
---|
| 54 | </xsd:element> |
---|
| 55 | </xsd:sequence> |
---|
| 56 | <xsd:sequence minOccurs="0" maxOccurs="1"> |
---|
| 57 | <xsd:element name="easting" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 58 | <xsd:annotation> |
---|
| 59 | <xsd:documentation>The projected coordinate with east being positive. |
---|
| 60 | This is the most common type of projected coordinates. |
---|
| 61 | UTM coordinates are expressed in Easting and Northing.</xsd:documentation> |
---|
| 62 | </xsd:annotation> |
---|
| 63 | </xsd:element> |
---|
| 64 | <xsd:element name="northing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 65 | <xsd:annotation> |
---|
| 66 | <xsd:documentation>The projected coordinate with north being positive. |
---|
| 67 | This is the most common type of projected coordinates. |
---|
| 68 | UTM coordinates are expressed in Easting and Northing.</xsd:documentation> |
---|
| 69 | </xsd:annotation> |
---|
| 70 | </xsd:element> |
---|
| 71 | </xsd:sequence> |
---|
| 72 | <xsd:sequence minOccurs="0" maxOccurs="1"> |
---|
| 73 | <xsd:element name="westing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 74 | <xsd:annotation> |
---|
| 75 | <xsd:documentation>The projected coordinate with west being positive. |
---|
| 76 | The positive directions are reversed from the usual Easting and Northing values. |
---|
| 77 | These values are generally located in the southern hemisphere, |
---|
| 78 | most notably in South Africa and Australia.</xsd:documentation> |
---|
| 79 | </xsd:annotation> |
---|
| 80 | </xsd:element> |
---|
| 81 | <xsd:element name="southing" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 82 | <xsd:annotation> |
---|
| 83 | <xsd:documentation>The projected coordinate with south being positive. |
---|
| 84 | The positive directions are reversed from the usual Easting and Northing values. |
---|
| 85 | These values are generally located in the southern hemisphere, |
---|
| 86 | most notably in South Africa and Australia.</xsd:documentation> |
---|
| 87 | </xsd:annotation> |
---|
| 88 | </xsd:element> |
---|
| 89 | </xsd:sequence> |
---|
| 90 | <xsd:sequence minOccurs="0" maxOccurs="1"> |
---|
| 91 | <xsd:element name="projectedX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 92 | <xsd:annotation> |
---|
| 93 | <xsd:documentation>The projected X coordinate with the positive direction unknown. |
---|
| 94 | ProjectedX and ProjectedY are used when it is not |
---|
| 95 | known what the meaning of the coordinates is. If the meaning is known, |
---|
| 96 | the Easting/Northing or Westing/Southing should be used. Use of this pair |
---|
| 97 | implies a lack of knowledge on the part of the sender.</xsd:documentation> |
---|
| 98 | </xsd:annotation> |
---|
| 99 | </xsd:element> |
---|
| 100 | <xsd:element name="projectedY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 101 | <xsd:annotation> |
---|
| 102 | <xsd:documentation>The projected Y coordinate with the positive direction unknown. |
---|
| 103 | ProjectedX and ProjectedY are used when it is not |
---|
| 104 | known what the meaning of the coordinates is. If the meaning is known, |
---|
| 105 | the Easting/Northing or Westing/Southing should be used. Use of this pair |
---|
| 106 | implies a lack of knowledge on the part of the sender.</xsd:documentation> |
---|
| 107 | </xsd:annotation> |
---|
| 108 | </xsd:element> |
---|
| 109 | </xsd:sequence> |
---|
| 110 | <xsd:sequence minOccurs="0" maxOccurs="1"> |
---|
| 111 | <xsd:element name="localX" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 112 | <xsd:annotation> |
---|
| 113 | <xsd:documentation>The local (engineering) X coordinate. |
---|
| 114 | The CRS will define the orientation of the axis.</xsd:documentation> |
---|
| 115 | </xsd:annotation> |
---|
| 116 | </xsd:element> |
---|
| 117 | <xsd:element name="localY" type="witsml:lengthMeasure" minOccurs="1" maxOccurs="1"> |
---|
| 118 | <xsd:annotation> |
---|
| 119 | <xsd:documentation>The local (engineering) Y coordinate. |
---|
| 120 | The CRS will define the orientation of the axis.</xsd:documentation> |
---|
| 121 | </xsd:annotation> |
---|
| 122 | </xsd:element> |
---|
| 123 | </xsd:sequence> |
---|
| 124 | </xsd:choice> |
---|
| 125 | <xsd:element name="original" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> |
---|
| 126 | <xsd:annotation> |
---|
| 127 | <xsd:documentation>Flag indicating (if "true" or "1") that this pair of values was |
---|
| 128 | the original data given for the location. If the pair of values was |
---|
| 129 | calculated from an original pair of values, this flag should be "false" (or "0"), |
---|
| 130 | or not present.</xsd:documentation> |
---|
| 131 | </xsd:annotation> |
---|
| 132 | </xsd:element> |
---|
| 133 | <xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1"> |
---|
| 134 | <xsd:annotation> |
---|
| 135 | <xsd:documentation>A Comment, generally given to help the reader |
---|
| 136 | interpret the coordinates if the CRS and the chosen pair do not make them clear.</xsd:documentation> |
---|
| 137 | </xsd:annotation> |
---|
| 138 | </xsd:element> |
---|
| 139 | </xsd:sequence> |
---|
| 140 | <xsd:attributeGroup ref="witsml:attgrp_uid"> |
---|
| 141 | <xsd:annotation> |
---|
| 142 | <xsd:documentation>The unique identifier of the location.</xsd:documentation> |
---|
| 143 | </xsd:annotation> |
---|
| 144 | </xsd:attributeGroup> |
---|
| 145 | </xsd:complexType> |
---|
| 146 | </xsd:schema> |
---|