> For the complete documentation index, see [llms.txt](https://docs.os.uk/more-than-maps/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.os.uk/more-than-maps/a-guide-to-coordinate-systems-in-great-britain/helmert-transformation-worked-example.md).

# Helmert transformation worked example

All the transformation functions are coded into a spreadsheet available from the OS website.

Transform ETRS89/WGS84 coordinates to OSGB36.

*XA* = 3790644.900 m\
\&#xNAN;*YA* = -110149.210 m\
\&#xNAN;*ZA* = 5111482.970 m

| tX(m)     | tY(m)     | tZ(m)     | s (ppm)   | rX(sec)  | rY(sec)  | rZ(sec)  |
| --------- | --------- | --------- | --------- | -------- | -------- | -------- |
| - 446.448 | + 125.157 | - 542.060 | + 20.4894 | - 0.1502 | - 0.2470 | - 0.8421 |

Coordinate matrix for system “A” (ETRS89):

#### D1

$$\begin{bmatrix} 3790644.900 \ -110149.210 \ 5111482.970 \end{bmatrix}$$

Rotation & scale matrix. Diagonal scale elements = 1+(scale ppm \* 0.000001); rotation elements are rotation parameters converted from seconds to radians:

#### D2

$$
\begin{bmatrix}
1.0000204894 & 4.08261601 \times 10^{-6} & -1.19748979 \times 10^{-6} \\
-4.08261601 \times 10^{-6} & 1.0000204894 & 7.28190149 \times 10^{-7} \\
1.19748979 \times 10^{-6} & -7.28190149 \times 10^{-7} & 1.0000204894
\end{bmatrix}
$$

Coordinate translations matrix:

#### D3

$$
\begin{bmatrix}
-446.448 \\
125.157 \\
-542.060
\end{bmatrix}
$$

#### (D2) \* (D1):

$$
\begin{bmatrix}
3790715.9974 & \\-110163.2205 & \5111592.3207
\end{bmatrix}
$$

#### (D3) + (D4):

$$
\begin{bmatrix}
3790269.549 &\ -110038.064 &\ 5111050.261
\end{bmatrix}
$$

So system “B” (OSGB36) coordinates are:\\

$$
x\_B = 3790269.549 m\\
y\_B = -110038.064 m\\
z\_B = 5111050.261 m
$$

The above OSGB36 XYZ coordinates can be converted to latitude, longitude, height using the equations in '[Converting between 3D Cartesian and ellipsoidal latitude, longitude and height coordinates](/more-than-maps/a-guide-to-coordinate-systems-in-great-britain/converting-between-3d-cartesian-and-ellipsoidal-latitude-longitude-and-height-coordinates.md)'. Remember that the height in this case approximates a height above ODN and not above the Airy 1830 ellipsoid. The latitude and longitude can also be projected to eastings and northings using the equations in '[Converting between grid eastings and northings and ellipsoidal latitude and longitude](/more-than-maps/a-guide-to-coordinate-systems-in-great-britain/converting-between-grid-eastings-and-northings-and-ellipsoidal-latitude-and-longitude.md)'.

53° 36’ 42.2972” N, 001° 39’ 46.5416” W, 249.950 m

422297.792 mE, 412878.741 mN


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.os.uk/more-than-maps/a-guide-to-coordinate-systems-in-great-britain/helmert-transformation-worked-example.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
