> For the complete documentation index, see [llms.txt](https://docs.os.uk/os-downloads/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/os-downloads/products/transport-network-portfolio/os-detailed-path-network/os-detailed-path-network-overview/coordinate-reference-system.md).

# Coordinate reference system

Coordinates in the OS DPN product are provided in three dimensions.

The Geography Markup Language (GML) and GeoPackage product formats enable the use of the British National Grid (BNG) coordinate reference system for the planimetric element of the geometry. The BNG spatial reference system uses the OSGB36 geodetic datum and a single Transverse Mercator projection for the whole of Great Britain. Positions on this projection are described using easting and northing coordinates in units of metres. The BNG is a horizontal spatial reference system only; it does not include a vertical (height) reference system.

The height element is provided using the same datum (i.e. Ordnance Datum Newlyn) used for other Ordnance Survey products that contain height.

In the GML data, this combination of BNG and Ordnance Datum Newlyn is represented by reference to its entry in the EPSG registry, as [https://epsg.io/7405.](https://epsg.io/7405)

The vector tiles product format is in the Web Mercator (EPSG:3857) projection. This projection is a global coordinate reference system.

## Using the data with GPS devices <a href="#bookmark20" id="bookmark20"></a>

GPS devices may only provide coordinates using the WGS84 coordinate reference system (EPSG code 4979, although 4326 is often used also). The OS DPN data is supplied using a combination of coordinates in the OSGB36 BNG system and heights relative to Ordnance Datum Newlyn (EPSG code 7405) for both the GML and GeoPackage formats.

To allow the data to be used with positions from GPS devices, a transformation is required. The transformation can be applied to the OS DPN data (to move it on to WGS84) or to the GPS coordinates (to provide positions in OSGB36 BNG). The choice may depend on the coordinate systems of any other datasets in use.

Given the difference that can ensue from using the incorrect coordinate reference system, care must be taken to use the appropriate transformation. A recommended transformation is the seven parameter one published in [A Guide to Coordinate Systems in Great Britain on our more than maps platform](https://docs.os.uk/more-than-maps/deep-dive/a-guide-to-coordinate-systems-in-great-britain). This transformation is EPSG code 1314.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.os.uk/os-downloads/products/transport-network-portfolio/os-detailed-path-network/os-detailed-path-network-overview/coordinate-reference-system.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
