> 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-with-polygons.md).

# Code-Point with Polygons

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

Code-Point with Polygons is a dataset that contains the notional area of postcode units, designed to allow customers to display and analyse any data collected at the postcode level. Polygons within this product are derived from georeferenced Royal Mail Postal Address File (PAF) delivery addresses and processed using a Thiessen process to create mathematically consistent boundaries between distinct postcode groups as a notional boundary set.

{% hint style="info" %}
**This product is updated quarterly in January, April, July and October.**
{% endhint %}

<figure><img src="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FCYJbH1jcMUWcVS6nnTfR%2Fimage.png?alt=media&amp;token=6d42dec5-84d9-4a80-b1ce-16c2be30f811" alt="Representation of Code-Point wiith Polygons data showing postcodes extents visualised against a background map" width="563"><figcaption><p>Representation of Code-Point with Polygons data showing postcodes extents visualised against a background map.</p></figcaption></figure>

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

#### **Visualise postcode extents**

Codepoint with Polygons provides notional extents for every postcode unit in GB for easy visualisation and analysis at a national scale.

#### **Vertical Street polygons**

Vertical street polygons allow easy identification of multiple postcodes within the same building.

#### **Precise polygon data**

Postcode polygons created using the addresses we can locate the most precisely creating high confidence in the accuracy of the polygon data.
{% endtab %}

{% tab title="Use Cases" %}

#### **Manage your risks better**

Display postcode boundaries on a map, then add contours and your own claims data. This is a great way to identify low-lying postcodes, so you can quote for insurance at a price that reflects higher flood risks.
{% endtab %}

{% tab title="Summary" %}

* **Access:** Download
* **Data theme:** Administrative and Statistical Units
* **Data structure:** Vector – Polygons
* **Coverage:** Great Britain
* **Scale:** 1:1 250 to 1:10 000
* **Format:** MapInfo MID / MIF, MapInfo TAB
* **Ordering area:** All of Great Britain
* **Publication months:** January, April, July, October
* **OS Data Hub plan:** Public Sector Plan, Premium Plan, Energy & Infrastructure Plan
  {% endtab %}

{% tab title="Additional Information" %}

#### **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 we have any 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.
{% 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 download a sample of Code-Point with Polygons data by accessing the [Code-Point with Polygons product page on the OS website](https://www.ordnancesurvey.co.uk/products/code-point-polygons#get), which has links to all of the relevant resources. Alternatively, you can try out the full product by applying for [a Data Exploration license](https://www.ordnancesurvey.co.uk/licensing/data-exploration-licence).

## Visualise Code-Point with Polygons 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-with-polygons.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.
