> 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/~/changes/AJZwzCsyrD9hiTbOxIbO/addressing-and-location/code-point.md).

# Code-Point

{% embed url="<https://www.ordnancesurvey.co.uk/products/code-point>" %}

Code-Point is a postcode locator that locates over 1.7 million postcode units in Great Britain and Northern Ireland. Code-point provides users with information about delivery points within the postcode, positional quality, type, and district codes amongst other key points of postcode-level data.&#x20;

{% hint style="info" %}
**This product is updated quarterly in February, May, August and November.**
{% endhint %}

<figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2F5J1WSCWtHCgSgOhgFy6q%2Fimage.png?alt=media&amp;token=d8afec35-94cf-4fbe-96e2-764b7553329c" alt="Representation of Code-Point data showing a series of postcode units located on a background map of Great Britain" width="563"><figcaption><p>Representation of Code-Point data</p></figcaption></figure>

{% tabs %}
{% tab title="Features" %}

#### **Authoritative data**

Coverage of over 1.7 million postcodes in Great Britain and Northern Ireland updated quarterly – accurate depiction of all live postcodes in Great Britain and Northern Ireland.

#### **Get more from your postcode data**

Understand the split of residential and commercial delivery points within a postcode area for a greater depth of analysis.

#### **Interoperable data**

Combine your statistical and health datasets with postcode data by linking to ONS administrative codes and Health Authority codes provided with Code-Point.

#### **Code-Point data provides:**

* Information about the number and type of postal delivery points in the postcode
* A positional quality indicator (PQI), indicating the quality of the data underlying the Code-Point location coordinate (CPLC)
* The country indicator (either England, Scotland, Wales or Northern Ireland)
* The postcode type
* The National Health Service region and area codes
* The local government county, district and ward codes
  {% endtab %}

{% tab title="Use Cases" %}
Code-Point has been widely used in a variety of applications, including:

* Site location
* Enabling web searches
* Market analysis and profiling
* Health and epidemiology
* Resource allocation
* End-to-end journey route planning
* Socio-economic profiling
* Sales targeting
  {% endtab %}

{% tab title="Summary" %}

* **Access:** Download
* **Data theme:** Postcodes
* **Data structure:** Vector – Points
* **Coverage:** Great Britain
* **Scale:** 1:1 250 to 1:10 000
* **Format**: GeoPackage, CSV
* **Ordering area**: All of Great Britain
* **Publication months:** February, May, August, November
* **OS Data Hub plan:** Public Sector Plan, Premium Plan, Energy & Infrastructure Plan
  {% endtab %}

{% tab title="Additional Information" %}

#### **Code-Point postcode coverage**

Code-Point includes 121 postcode areas in England, Scotland, Wales and Northern Ireland, but does not include the Isle of Man or the Channel Islands.

#### **It can take some time for a new postcode to work its way through the system into Code-Point**

Until our surveyors have visited the area to complete the very precise large-scale mapping, we allocate a calculated map reference to the postcode that, depending on the level of development in the area, can be somewhat inaccurate. When this has been done, a positional quality indicator in the Code-Point record makes it clear that the coordinates provided are temporary, and will be improved to a full quality match as soon as possible.

#### **Code-Point accuracy and resolution**

Code-Point is created by taking the average of the coordinates of all the individual addresses in a postcode (provided they are of sufficient quality), then snapping to the nearest of those addresses. Code-Point then delivers the coordinates of that address, as representative of the whole postcode, to a resolution of 1metre.

The accuracy of a Code-Point Open record could be expressed as, that the coordinated position will always be within the notional geographical extent of the postcode. The accuracy of each postcode unit coordinate pair is defined by the positional quality indicator (PQI) which provides a quality statement of a Code-Point record.

#### **Code-Point contains five admin ward codes for postcodes on the Isles of Scilly**

These have been issued by ONS for statistical purposes only, because there are no wards on the Isles of Scilly. The Codelist.xls file supplied with Code-Point is generated from Boundary-Line. Boundary-Line does not contain these ward codes as they do not exist for political purposes. Therefore, these codes are not available in the Codelist.xls file supplied in the Doc folder with Code-Point. All other ward codes should exist in both Code-Point and the Codelist.xls file.

#### **What administrative and NHS codes are included in each Administrative and NHS field?**

| Column                        | Object definition                                                                                                                                |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Administrative County         | <ul><li>Counties</li></ul>                                                                                                                       |
| Administrative District       | <ul><li>Unitary Authorities</li><li>Metropolitan and Non-Metropolitan Districts</li><li>London Boroughs</li><li>Scottish Council Areas</li></ul> |
| Administrative Ward           | <ul><li>Electoral Wards/Divisions</li></ul>                                                                                                      |
| NHS Regional Health Authority | <ul><li>English Pan Strategic Health Authorities</li></ul>                                                                                       |
| NHS Health Authority          | <ul><li>English Strategic Health Authorities</li><li>Scottish Health Board areas</li></ul>                                                       |
| {% endtab %}                  |                                                                                                                                                  |
| {% endtabs %}                 |                                                                                                                                                  |

## How to get this product

Access to this product is free for Public Sector Geospatial Agreement (PSGA) Members. Find out if you are a PSGA Member or find other ways to access Code-Point data by visiting the [Code-Point product page on the OS website](https://www.ordnancesurvey.co.uk/products/code-point#get), which has links to all of the relevant resources.

## Visualise Code-Point data online

This product is available to try out online using one of our three sets of sample data (Exeter, Newport and Inverness) through the OS MasterMap Product Viewer:

<table data-view="cards" data-full-width="false"><thead><tr><th></th><th></th><th data-hidden></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>OS MasterMap Product Viewer</strong></td><td>Interactive demonstrator of <mark style="color:purple;">OS MasterMap Generation</mark> data</td><td></td><td><a href="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2Fuld7V42IKrB8ovpC1JXB%2FVectorMap-Local-1.png?alt=media&amp;token=cb3e8ae9-d669-4bc9-b7a7-5f479d780447">VectorMap-Local-1.png</a></td><td><a href="https://experience.arcgis.com/experience/20981dabcb14402687dccb437a4a78fb/">https://experience.arcgis.com/experience/20981dabcb14402687dccb437a4a78fb/</a></td></tr></tbody></table>


---

# 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/os-downloads/~/changes/AJZwzCsyrD9hiTbOxIbO/addressing-and-location/code-point.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.
