# Code-Point with Polygons Documentation

Code-Point with Polygons is a dataset that contains the notional area of postcode units in Great Britain, 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&#x26;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="Benefits" %}
**Visualise postcode extents**

Code-Point with Polygons provides notional extents for every postcode unit in Great Britain 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.

**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="Use Cases" %}
You can use the product to:

* Analyse geographically based information or statistics by postcode
* Display information that has been analysed or sorted by postcode
  {% endtab %}

{% tab title="Summary" %}

* **Access:** Download via the [OS Data Hub](https://osdatahub.os.uk/)
* **Data theme:** Administrative and Statistical Units
* **Data structure:** Vector – Polygons
* **Coverage:** Great Britain
* **Scale:** 1:1 250 to 1:10 000
* **Format:** Shapefile, MapInfo MID / MIF, MapInfo TAB, vector tiles (MBTiles), GeoPackage (GPKG)
* **Ordering area:** All of Great Britain
* **Publication months:** January, April, July, October
  {% 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 PSGA (Public Sector Geospatial Agreement) Members. You can [check if your organisation is a member of the PSGA on the OS website](https://www.ordnancesurvey.co.uk/customers/public-sector/psga-member-finder).

The [Code-Point with Polygons product page on the OS website](https://www.ordnancesurvey.co.uk/products/code-point-polygons#get) has advice on how to get the product for businesses, developers, OS Partners and PSGA Members (i.e. government and the public sector).

## Sample data

### Download Code-Point with Polygons sample data <a href="#download-os-egs-sample-data" id="download-os-egs-sample-data"></a>

You can download sample data for the product for free from the [OS Data Hub](https://osdatahub.os.uk/data/downloads/sample/CodePointWithPolygons). The sample data are available in ESRI Shapefile, MIF and TAB formats and cover three areas (Exeter, Newport and Inverness).

### Visualise Code-Point with Polygons sample data online

This product is available to try out free 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="image">Cover image</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 OS MasterMap Generation data</td><td></td><td data-object-fit="cover" data-alt="Example image showing OS VectorMap Local product data over an urban area."><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&#x26;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>

## What's next?

To access documentation and resources relating to this product, please refer to the following:

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><p><strong>Overview</strong></p><p>The overview introduces Code-Point with Polygons, giving context for all users – highlighting key features, providing examples of uses, and listing details such as file sizes, supply formats, etc.</p></td><td></td><td data-object-fit="cover" data-alt="Example image showing Code-Point with Polygons product data over a background map."><a href="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FsIYoSAELHE0RXL7fTYgF%2FCode-Point-Polygons-1.png?alt=media&#x26;token=8adcd6a0-27df-4e47-bd2c-3ea5db56834c">Code-Point-Polygons-1.png</a></td><td><a href="code-point-with-polygons/code-point-with-polygons-overview">code-point-with-polygons-overview</a></td></tr><tr><td><p><strong>Getting Started Guide</strong></p><p>The getting started guide provides instructions for using Code-Point with Polygons in different software applications. Users with limited technical knowledge will be able to follow this guide.</p></td><td></td><td data-object-fit="cover" data-alt="Example image showing Code-Point with Polygons product data over a background map."><a href="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FzIDQ0Ab7SzhHhaRehUiT%2FCode-Point-Polygons-4.png?alt=media&#x26;token=0c698d9d-c76e-40bf-8dd8-cd82a3d966ad">Code-Point-Polygons-4.png</a></td><td><a href="code-point-with-polygons/code-point-with-polygons-getting-started-guide">code-point-with-polygons-getting-started-guide</a></td></tr><tr><td><p><strong>Technical Specification</strong></p><p>The technical specification provides detailed technical information about Code-Point with Polygons. It is targeted at technical users and software developers.</p></td><td></td><td data-object-fit="cover" data-alt="Example image showing Code-Point with Polygons product data over a background map."><a href="https://1897589978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNpJpLP8RROUaWVQo5ea%2Fuploads%2FzafRnG4fw0E5nO30ZW6b%2FCode-Point-Polygons-5.png?alt=media&#x26;token=ec8cee09-702d-4862-a9e1-4ca0ed0a6eff">Code-Point-Polygons-5.png</a></td><td><a href="code-point-with-polygons/code-point-with-polygons-technical-specification">code-point-with-polygons-technical-specification</a></td></tr><tr><td><strong>Ordnance Survey Website</strong></td><td>View Code-Point with Polygons product information and find out how to get this product on the OS website.</td><td></td><td><a href="https://www.ordnancesurvey.co.uk/products/code-point-polygons">https://www.ordnancesurvey.co.uk/products/code-point-polygons</a></td></tr></tbody></table>

{% hint style="info" %}
New users should start with the Overview to gain high-level insight into the product. The Getting Started Guide will help you to begin using product data in different software systems. The Technical Specification contains detailed technical insights.
{% endhint %}
