EPSG:1077

Wellbore local to projected (GNL)

Attributes

Data source: OGP

Information source: IOGP GN7-2.

Revision date: 2019-02-17

Remarks: For wellbore survey.

MapTiler banner

Export

Definition: OGP XML

<div class="syntax"><pre><span class="cp">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span> <span class="nt">&lt;gml:OperationMethod</span> <span class="na">xmlns:epsg=</span><span class="s">&quot;urn:x-ogp:spec:schema-xsd:EPSG:1.0:dataset&quot;</span> <span class="na">xmlns:gml=</span><span class="s">&quot;http://www.opengis.net/gml/3.2&quot;</span> <span class="na">xmlns:xlink=</span><span class="s">&quot;http://www.w3.org/1999/xlink&quot;</span> <span class="na">gml:id=</span><span class="s">&quot;iogp-method-1077&quot;</span><span class="nt">&gt;</span> <span class="nt">&lt;gml:metaDataProperty&gt;</span> <span class="nt">&lt;epsg:CommonMetaData&gt;</span> <span class="nt">&lt;epsg:alias</span> <span class="na">alias=</span><span class="s">&quot;Grid North Local&quot;</span> <span class="na">code=</span><span class="s">&quot;7913&quot;</span> <span class="na">codeSpace=</span><span class="s">&quot;urn:ogc:def:naming-system:EPSG::7301&quot;</span> <span class="nt">/&gt;</span> <span class="nt">&lt;epsg:alias</span> <span class="na">alias=</span><span class="s">&quot;GNL&quot;</span> <span class="na">code=</span><span class="s">&quot;7921&quot;</span> <span class="na">codeSpace=</span><span class="s">&quot;urn:ogc:def:naming-system:EPSG::7302&quot;</span> <span class="nt">/&gt;</span> <span class="nt">&lt;epsg:informationSource&gt;</span>IOGP GN7-2.<span class="nt">&lt;/epsg:informationSource&gt;</span> <span class="nt">&lt;epsg:revisionDate&gt;</span>2019-02-17<span class="nt">&lt;/epsg:revisionDate&gt;</span> <span class="nt">&lt;epsg:changes&gt;</span> <span class="nt">&lt;epsg:changeID</span> <span class="na">xlink:href=</span><span class="s">&quot;urn:ogc:def:change-request:EPSG::2017.040&quot;</span> <span class="nt">/&gt;</span> <span class="nt">&lt;/epsg:changes&gt;</span> <span class="nt">&lt;epsg:show&gt;</span>true<span class="nt">&lt;/epsg:show&gt;</span> <span class="nt">&lt;epsg:isDeprecated&gt;</span>false<span class="nt">&lt;/epsg:isDeprecated&gt;</span> <span class="nt">&lt;/epsg:CommonMetaData&gt;</span> <span class="nt">&lt;/gml:metaDataProperty&gt;</span> <span class="nt">&lt;gml:metaDataProperty&gt;</span> <span class="nt">&lt;epsg:CoordinateOperationMethodMetaData&gt;</span> <span class="nt">&lt;epsg:isOperationReversible&gt;</span>true<span class="nt">&lt;/epsg:isOperationReversible&gt;</span> <span class="nt">&lt;epsg:signReversal</span> <span class="na">changeSign=</span><span class="s">&quot;false&quot;</span> <span class="na">xlink:href=</span><span class="s">&quot;urn:ogc:def:parameter:EPSG::1059&quot;</span> <span class="nt">/&gt;</span> <span class="nt">&lt;epsg:signReversal</span> <span class="na">changeSign=</span><span class="s">&quot;false&quot;</span> <span class="na">xlink:href=</span><span class="s">&quot;urn:ogc:def:parameter:EPSG::1060&quot;</span> <span class="nt">/&gt;</span> <span class="nt">&lt;epsg:example&gt;</span>The example here is not a realistic wellbore survey but demonstrates the magnitude of differences in computed coordinates when different corrections are applied. A straight path is modelled to a bottom hole at 5 km depth, approximately 14 km away from the surface location, using a constant inclination 70.54002°, bearing 51.3178° from grid north, and survey stations every 30.0167 metre. Forward calculation for a well with surface coordinates in WGS 84 / UTM zone 25N, EPSG CRS code 32625. Since this is a conformal map projection, psf_E = psf_N. Easting of Well Reference Point WRP_E = 800,000 m Northing of Well Reference Point WRP_N = 1,000,000 m Point scale factor at WRP psf_E = psf_N = 1.00071 Zero Depth Point MSL height H = 25 m (not used in equations) Local axes n and e are aligned with grid north and grid east, respectively. Initialisation: E[0] = 800,000 m; N[0] = 1,000,000 m. psf_flag=0;dcf_flag=0 psf_flag=1;dcf_flag=0 psf_flag=2;dcf_flag=2 i D(m) n(m) e(m) psfE=psfN dcf E(m) N(m) E(m) N(m) E(m) N(m) 1 0.00 0.00 0.00 1.000714 1.000000 800000.00 1000000.00 800000.00 1000000.00 800000.00 1000000.00 2 10.00 15.00 24.00 1.000714 1.000002 800000.00 1000000.00 800000.00 1000000.00 800000.00 1000000.00 3 20.00 30.00 48.00 1.000714 1.000003 800024.00 1000015.00 800024.02 1000015.01 800024.02 1000015.01 4 30.00 45.00 72.00 1.000714 1.000005 800048.00 1000030.00 800048.03 1000030.02 800048.03 1000030.02 5 40.00 60.00 96.00 1.000715 1.000006 800072.00 1000045.00 800072.05 1000045.03 800072.05 1000045.03 … 497 4960.00 7440.00 11904.00 1.000804 1.000779 811904.00 1007440.00 811912.50 1007445.31 811917.68 1007448.55 498 4970.00 7455.00 11928.00 1.000804 1.000781 811928.00 1007455.00 811936.52 1007460.32 811941.72 1007463.57 499 4980.00 7470.00 11952.00 1.000804 1.000782 811952.00 1007470.00 811960.53 1007475.33 811965.76 1007478.60 500 4990.00 7485.00 11976.00 1.000804 1.000784 811976.00 1007485.00 811984.55 1007490.34 811989.79 1007493.62 501 5000.00 7500.00 12000.00 1.000804 1.000785 812000.00 1007500.00 812008.57 1007505.35 812013.83 1007508.65<span class="nt">&lt;/epsg:example&gt;</span> <span class="nt">&lt;/epsg:CoordinateOperationMethodMetaData&gt;</span> <span class="nt">&lt;/gml:metaDataProperty&gt;</span> <span class="nt">&lt;gml:identifier</span> <span class="na">codeSpace=</span><span class="s">&quot;IOGP&quot;</span><span class="nt">&gt;</span>urn:ogc:def:method:EPSG::1077<span class="nt">&lt;/gml:identifier&gt;</span> <span class="nt">&lt;gml:name&gt;</span>Wellbore local to projected (GNL)<span class="nt">&lt;/gml:name&gt;</span> <span class="nt">&lt;gml:remarks&gt;</span>For wellbore survey.<span class="nt">&lt;/gml:remarks&gt;</span> <span class="nt">&lt;gml:formula&gt;</span>Note: These formulas have been transcribed from EPSG Guidance Note #7-2. Users are encouraged to use that document rather than the text which follows as reference because limitations in the transcription will be avoided. The method has options for the application of two corrections: i) point scale factor (psf) is used to scale horizontal offsets to the local scale for the projected CRS, resolved into east and north components (when a conformal map projection is used, psf_E = psf_N): (i) no psf correction is applied, (ii) the point scale factor at the well reference point is applied to the complete wellbore, and (iii) the point scale factor at each point along the wellbore is applied. ii) depth correction factor (dcf) is used to scale horizontal offsets according to the depth of the point in the wellbore: (i) no dcf correction is applied, or (ii) a dcf correction is applied at each point along the wellbore. The inputs are: WRP_E : Easting of the Well Reference Point in the target projected CRS; WRP_N : Northing of the Well Reference Point in the target projected CRS; psf flag : 0 for none; 1 for constant at first point; 2 to apply a variable point scale factor; dcf flag : 0 for none; 2 to apply a variable depth correction factor along the path; n[] : Array of length num_points containing local northing coordinates, oriented to Grid North of the target projected CRS; e[] : Array of length num_points containing local easting coordinates, oriented to Grid East of the target projected CRS; D[] : Array of length num_points containing depths below the Vertical Reference Surface at survey stations down the wellbore. Care must be taken to convert local easting and northing to the same unit as used by the target projected CRS before applying the following equations. If psf flag=0 and dcf flag=0 then the target coordinates are computed using a simple 2D translation: E = WRP_E + e N = WRP_N + n If psf flag=1 and dcf flag=0 then the target coordinates are computed using a scaled offset as: E = WRP_E + e * psf_E N = WRP_N + n * psf_N If psf flag=2 and dcf flag=2 then an iterative method is needed to compute the variable point scale factor and depth correction factor along the wellbore. The LMP method is recommended in this situation, but if the GNL method is used then map convergence should also be calculated variable along-hole to reference the local coordinates to grid north. Output arrays E and N of length num_points are computed as follows: For i=1:num_points for psf_E and psf_N, compute_psf(E[i-1], N[i-1]) dcf = R / (R – D[i]) E[i] = E[i-1] + (e[i] – e[i-1]) * psf_E * dcf N[i] = N[i-1] + (n[i] – n[i-1]) * psf_N * dcf where for i=1, for the first station: E[0] = WRP_E; N[0] = WRP_N; e[0] = 0; n[0] = 0, and: compute_psf() is a function that returns the local point scale factors in easting and northing directions at the given location; R = 6371000 m. Note: Using a constant rather than the ellipsoidal local radii of curvature for the depth correction factors in easting and northing directions at the given location results in an insignificantly small error (e.g., for a lateral of 10 km at 10 km depth the worst case difference is 8 centimetres: 6371/(6371-10)=1.001572 vs. 6340/(6340-10)=1.001580). Reverse case: to compute (n,e) from given (E,N): For psf_flag=0 and dcf_flag=0: n = N – WRP_N e = E – WRP_E For psf_flag=1 and dcf_flag=0: n = (N – WRP_N / psf_N e = (E – WRP_E) / psf_E For psf_flag=2 and dcf_flag=2 (additionally requiring D as input): For i=1:num_points for psf_E and psf_N, compute_psf(E[i-1], N[i-1]) dcf = R / (R – D[i]) n[i] = n[i-1] + (N[i] – N[i-1]) / (psf_N * dcf_N) e[i] = e[i-1] + (E[i] – E[i-1]) / (psf_E * dcf_E) where for the first station i=0 is initialised as in the forward case.<span class="nt">&lt;/gml:formula&gt;</span> <span class="nt">&lt;gml:generalOperationParameter</span> <span class="na">xlink:href=</span><span class="s">&quot;urn:ogc:def:parameter:EPSG::1059&quot;</span> <span class="nt">/&gt;</span> <span class="nt">&lt;gml:generalOperationParameter</span> <span class="na">xlink:href=</span><span class="s">&quot;urn:ogc:def:parameter:EPSG::1060&quot;</span> <span class="nt">/&gt;</span> <span class="nt">&lt;/gml:OperationMethod&gt;</span> </pre></div>
<?xml version="1.0" encoding="UTF-8"?>
 <gml:OperationMethod xmlns:epsg="urn:x-ogp:spec:schema-xsd:EPSG:1.0:dataset" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" gml:id="iogp-method-1077">
   <gml:metaDataProperty>
      <epsg:CommonMetaData>
         <epsg:alias alias="Grid North Local" code="7913" codeSpace="urn:ogc:def:naming-system:EPSG::7301" />
         <epsg:alias alias="GNL" code="7921" codeSpace="urn:ogc:def:naming-system:EPSG::7302" />
         <epsg:informationSource>IOGP GN7-2.</epsg:informationSource>
         <epsg:revisionDate>2019-02-17</epsg:revisionDate>
         <epsg:changes>
            <epsg:changeID xlink:href="urn:ogc:def:change-request:EPSG::2017.040" />
         </epsg:changes>
         <epsg:show>true</epsg:show>
         <epsg:isDeprecated>false</epsg:isDeprecated>
      </epsg:CommonMetaData>
   </gml:metaDataProperty>
   <gml:metaDataProperty>
      <epsg:CoordinateOperationMethodMetaData>
         <epsg:isOperationReversible>true</epsg:isOperationReversible>
         <epsg:signReversal changeSign="false" xlink:href="urn:ogc:def:parameter:EPSG::1059" />
         <epsg:signReversal changeSign="false" xlink:href="urn:ogc:def:parameter:EPSG::1060" />
         <epsg:example>The example here is not a realistic wellbore survey but demonstrates the magnitude of differences in computed coordinates when different corrections are applied. A straight path is modelled to a bottom hole at 5 km depth, approximately 14 km away from the surface location, using a constant inclination 70.54002°, bearing 51.3178° from grid north, and survey stations every 30.0167 metre.

Forward calculation for a well with surface coordinates in WGS 84 / UTM zone 25N, EPSG CRS code 32625. Since this is a conformal map projection, psf_E = psf_N.

Easting of Well Reference Point 	WRP_E 	= 800,000 m
Northing of Well Reference Point 	WRP_N 	= 1,000,000 m
Point scale factor at WRP 	psf_E = psf_N	= 1.00071
Zero Depth Point MSL height		    H 	= 25 m (not used in equations)

Local axes n and e are aligned with grid north and grid east, respectively.

Initialisation: E[0] = 800,000 m;  N[0] = 1,000,000 m.

     psf_flag=0;dcf_flag=0 psf_flag=1;dcf_flag=0 psf_flag=2;dcf_flag=2
i D(m) n(m) e(m) psfE=psfN dcf E(m) N(m) E(m) N(m) E(m) N(m)
1 0.00 0.00 0.00 1.000714 1.000000 800000.00 1000000.00 800000.00 1000000.00 800000.00 1000000.00
2 10.00 15.00 24.00 1.000714 1.000002 800000.00 1000000.00 800000.00 1000000.00 800000.00 1000000.00
3 20.00 30.00 48.00 1.000714 1.000003 800024.00 1000015.00 800024.02 1000015.01 800024.02 1000015.01
4 30.00 45.00 72.00 1.000714 1.000005 800048.00 1000030.00 800048.03 1000030.02 800048.03 1000030.02
5 40.00 60.00 96.00 1.000715 1.000006 800072.00 1000045.00 800072.05 1000045.03 800072.05 1000045.03
…
497 4960.00 7440.00 11904.00 1.000804 1.000779 811904.00 1007440.00 811912.50 1007445.31 811917.68 1007448.55
498 4970.00 7455.00 11928.00 1.000804 1.000781 811928.00 1007455.00 811936.52 1007460.32 811941.72 1007463.57
499 4980.00 7470.00 11952.00 1.000804 1.000782 811952.00 1007470.00 811960.53 1007475.33 811965.76 1007478.60
500 4990.00 7485.00 11976.00 1.000804 1.000784 811976.00 1007485.00 811984.55 1007490.34 811989.79 1007493.62
501 5000.00 7500.00 12000.00 1.000804 1.000785 812000.00 1007500.00 812008.57 1007505.35 812013.83 1007508.65</epsg:example>
      </epsg:CoordinateOperationMethodMetaData>
   </gml:metaDataProperty>
   <gml:identifier codeSpace="IOGP">urn:ogc:def:method:EPSG::1077</gml:identifier>
   <gml:name>Wellbore local to projected (GNL)</gml:name>
   <gml:remarks>For wellbore survey.</gml:remarks>
   <gml:formula>Note: These formulas have been transcribed from EPSG Guidance Note #7-2. Users
are encouraged to use that document rather than the text which follows as reference
because limitations in the transcription will be avoided.

The method has options for the application of two corrections:

i) point scale factor (psf) is used to scale horizontal offsets to the local scale for the projected CRS, resolved into east and north components (when a conformal map projection is used, psf_E = psf_N): (i) no psf correction is applied, (ii) the point scale factor at the well reference point is applied to the complete wellbore, and (iii) the point scale factor at each point along the wellbore is applied.

ii) depth correction factor (dcf) is used to scale horizontal offsets according to the depth of the point in the wellbore: (i) no dcf correction is applied, or (ii) a dcf correction is applied at each point along the wellbore. 

The inputs are:

WRP_E : Easting of the Well Reference Point in the target projected CRS;
WRP_N : Northing of the Well Reference Point in the target projected CRS;
psf flag :  0 for none; 1 for constant at first point; 2 to apply a variable point scale factor;
dcf flag : 0 for none; 2 to apply a variable depth correction factor along the path;
n[] : Array of length num_points containing local northing coordinates, oriented to Grid North of the target projected CRS;
e[] : Array of length num_points containing local easting coordinates, oriented to Grid East of the target projected CRS;
D[] : Array of length num_points containing depths below the Vertical Reference Surface at survey stations down the wellbore.

Care must be taken to convert local easting and northing to the same unit as used by the target projected CRS before applying the following equations.

If psf flag=0 and dcf flag=0 then the target coordinates are computed using a simple 2D translation:
	E = WRP_E + e
	N = WRP_N + n

If psf flag=1 and dcf flag=0 then the target coordinates are computed using a scaled offset as:
	E = WRP_E + e * psf_E
	N = WRP_N + n * psf_N

If psf flag=2 and dcf flag=2 then an iterative method is needed to compute the variable point scale factor and depth correction factor along the wellbore. The LMP method is recommended in this situation, but if the GNL method is used then map convergence should also be calculated variable along-hole to reference the local coordinates to grid north. 

Output arrays E and N of length num_points are computed as follows:
	For i=1:num_points
		for psf_E and psf_N, compute_psf(E[i-1], N[i-1])
                dcf = R / (R – D[i])
		E[i] = E[i-1] + (e[i] – e[i-1]) * psf_E * dcf 
		N[i] = N[i-1] + (n[i] – n[i-1]) * psf_N * dcf 

where for i=1, for the first station: E[0] = WRP_E; N[0] = WRP_N; e[0] = 0; n[0] = 0, and:
compute_psf() is a function that returns the local point scale factors in easting and northing directions at the given location;
R = 6371000 m. Note: Using a constant rather than the ellipsoidal local radii of curvature for the depth correction factors in easting and northing directions at the given location results in an insignificantly small error (e.g., for a lateral of 10 km at 10 km depth the worst case difference is 8 centimetres: 6371/(6371-10)=1.001572 vs. 6340/(6340-10)=1.001580). 

Reverse case: to compute (n,e) from given (E,N):

For psf_flag=0 and dcf_flag=0:
        n = N – WRP_N
	e = E – WRP_E

For psf_flag=1 and dcf_flag=0:
        n = (N – WRP_N / psf_N
	e = (E – WRP_E) / psf_E

For psf_flag=2 and dcf_flag=2 (additionally requiring D as input):
	For i=1:num_points
		for psf_E and psf_N, compute_psf(E[i-1], N[i-1])
		dcf = R / (R – D[i])
                n[i] =  n[i-1] + (N[i] – N[i-1]) / (psf_N * dcf_N)
		e[i] =  e[i-1] + (E[i] – E[i-1]) / (psf_E * dcf_E)
where for the first station i=0 is initialised as in the forward case.</gml:formula>
   <gml:generalOperationParameter xlink:href="urn:ogc:def:parameter:EPSG::1059" />
   <gml:generalOperationParameter xlink:href="urn:ogc:def:parameter:EPSG::1060" />
</gml:OperationMethod>