# Comparison of OS MasterMap Greenspace Layer and OS NGD

{% hint style="warning" %}
The OS MasterMap Greenspace Layer product will become End of Life on 31 March 2027. As of this date, Ordnance Survey will cease to maintain or publish updates, and access to the product will be removed from the OS Data Hub, OS Features API and OS Vector Tile API.

For the latest updates and information on this and other products, please refer to our [strategic product roadmap](https://www.ordnancesurvey.co.uk/products/roadmap) and [End of Life Product Notice](https://docs.os.uk/os-downloads/resources/product-resources/end-of-life-product-notices/end-of-life-notice-os-mastermap-greenspace-layer) pages.
{% endhint %}

## Overview

The purpose of this page is to provide a technical summary of things to consider when migrating from OS MasterMap Greenspace Layer to the corresponding four feature types (Land, Rail, Road Track Or Path, and Water) within the OS National Geographic Database (OS NGD). The information currently provided in OS MasterMap Greenspace Layer is contained within the following OS NGD collections: the OS Land Features, OS Transport Features and OS Water Features Collections.

This page covers data supply and formats, as well as a comparison of the attribution of the two products.

## Key features

The [OS MasterMap Greenspace Layer](https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer) product includes the following key attribution:

* Primary Form and Secondary Form – describing land cover
* Primary Function and Secondary Function – describing land use

OS NGD data offers the following improvements:

* Full coverage of Great Britain, as opposed to coverage being limited to urban areas only for OS MasterMap Greenspace Layer; the coverage comparison maps further down the page give a good visual representation of greenspace data coverage differences between the products.
* Land cover (Primary and Secondary Form are the equivalents in OS MasterMap Greenspace Layer) is presented as a hierarchy with more than 100 values, compared to 6 values in OS MasterMap Greenspace Layer.
* Land use (Primary and Secondary Function are the equivalents in OS MasterMap Greenspace Layer) is presented as a hierarchy with more than 50 values, compared to 18 values in OS MasterMap Greenspace Layer.
* Alternative land cover and land use classifications are available in the OS NGD:
  * Land cover
    * European Nature Information System (EUNIS) classification scheme
    * UK Biodiversity Action Plan (BAP) Broad Habitats classification scheme
  * Land use
    * National Land Use Database (NLUD)
    * Address (BS7666)
* Data in the three OS NGD collections is updated up-to-daily (updates are 6-monthly for OS MasterMap Greenspace Layer).
* Every area feature in the OS NGD has a code assigned that indicates the local authority it lies within – Government Statistical Service (GSS) codes – allowing summaries of land use and land cover.
* Richer change metadata at attribute level is available in the OS NGD to improve the analysis of change over time.
* The three OS NGD collections contain a link to the [Site Feature Type](https://docs.os.uk/osngd/data-structure/land-use/land-use-features/site) in the OS Land Use Features Collection, allowing features to be grouped where they lie within a common occupied extent, such as a park or residential property.

{% hint style="info" %}

### OS NGD greenspace recipe guide now available <a href="#greenspace-recipe-guide-now-available" id="greenspace-recipe-guide-now-available"></a>

There's no like-for-like replacement download product for OS MasterMap Greenspace Layer, but you can create a recipe in OS Select+Build to download the equivalent greenspace data from the OS NGD.&#x20;

The [greenspace recipe guide](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/getting-started-with-os-recommended-recipes/greenspace-recipe-guide) is available on the OS NGD documentation site; it provides detailed step-by-step instructions outlining how you can combine and filter the four OS NGD feature types to create a greenspace recipe.

You can adapt the suggested greenspace recipe at the recipe creation or editing stage so that it fully meets your needs.
{% endhint %}

## Feature types

OS MasterMap Greenspace Layer has one feature type:

* Greenspace Area

In the OS NGD, there are four corresponding feature types:

* [Land](https://docs.os.uk/osngd/data-structure/land/land-features/land) (in the OS Land Features Collection)
* [Rail](https://docs.os.uk/osngd/data-structure/transport/transport-features/rail) (in the OS Transport Features Collection)
* [Road Track Or Path](https://docs.os.uk/osngd/data-structure/transport/transport-features/road-track-or-path) (in the OS Transport Features Collection)
* [Water](https://docs.os.uk/osngd/data-structure/water/water-features/water) (in the OS Water Features Collection)

## Comparison maps

### Coverage comparison maps

Below are two maps showing the greenspace coverage for Great Britain provided by OS MasterMap Greenspace Layer and by OS NGD data using the [greenspace recipe](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/getting-started-with-os-recommended-recipes/greenspace-recipe-guide):

<figure><img src="/files/TQqxe9UJoyK2tuNN5LK9" alt="Maps comparing the greenspace coverage of Great Britain provided by OS MasterMap Greenspace Layer vs. OS NGD data. The map for OS MasterMap Greenspace Layer shows that there is only greenspace coverage provided in urban areas, whereas the map for OS NGD data shows full Great Britain coverage for green spaces."><figcaption><p>Maps comparing the greenspace coverage of Great Britain provided by OS MasterMap Greenspace Layer vs. OS NGD data.</p></figcaption></figure>

### Attribution comparison maps

Below is a pair of interactive maps over Exeter showing the similarities between the OS MasterMap Greenspace Layer (top) and the OS NGD feature types (bottom); clicking on a feature in either map will open a pop-up displaying the shared attributes:

{% embed url="<https://osonline.maps.arcgis.com/apps/instant/compare/index.html?appid=c8e984fdecb74e19ab40f24760a83b6b>" %}

## Currency

OS MasterMap Greenspace Layer has an update frequency of six monthly (April and October), whereas the OS NGD has an update frequency of up-to-daily for the three collections.

## Data supply

### File formats

OS MasterMap Greenspace Layer is available in:

* ESRI Shapefile
* GML
* GeoPackage
* Vector tiles

It is also currently supplied in the [OS Features API](https://docs.os.uk/os-apis/accessing-os-apis/os-features-api) and the [OS Vector Tile API](https://docs.os.uk/os-apis/accessing-os-apis/os-vector-tile-api) (although access to the product will be removed from both APIs in March 2027).

The OS Land Features, OS Transport Features and OS Water Features Collections of the OS NGD are available in:

* GeoPackage
* CSV (comma-separated values)
* GeoJSON
* Vector tiles

The download service of OS Select+Build supplies GeoPackage and CSV formats, while [OS NGD API – Features](https://docs.os.uk/osngd/getting-started/access-the-os-ngd-api/os-ngd-api-features) supplies GeoJSON, and [OS NGD API – Tiles](https://docs.os.uk/osngd/getting-started/access-the-os-ngd-api/os-ngd-api-tiles) supplies vector tiles.

{% hint style="info" %}
The [OS NGD Documentation site](https://docs.os.uk/osngd) contains further guidance on the differing formats and APIs available:

* [OS NGD file formats and naming](https://docs.os.uk/osngd/getting-started/os-ngd-fundamentals/file-formats-and-naming)
* [Getting Started with OS NGD API – Features](https://docs.os.uk/osngd/getting-started/access-the-os-ngd-api/os-ngd-api-features/getting-started)
* [Getting Started with OS NGD API – Tiles](https://docs.os.uk/osngd/getting-started/access-the-os-ngd-api/os-ngd-api-tiles/getting-started)
  {% endhint %}

### Data ordering

Through the [OS Data Hub](https://osdatahub.os.uk/), it's currently possible to order OS MasterMap Greenspace Layer for all of Great Britain or a customisable area (5km² tiles) in the following formats:

* Geography Markup Language (GML)
* ESRI Shapefile
* GeoPackage
* Vector tiles

All OS NGD download data is supplied through OS Select+Build in the [OS Data Hub](https://osdatahub.os.uk/). OS Select+Build offers a much more tailored experience to ordering and downloading OS data, with an improved range of options, including:

* True areas of interest are supplied, as opposed to 5km² tiles, removing need to deduplicate adjoining 'hairy' tiles.
* In addition to updates being delivered as full refreshes, it is also possible to take Change-Only Updates (COUs) in CSV format for full Great Britain coverage, so you'll receive only the updated features.

With OS Select+Build, it is also possible to filter your supply so you receive only the features that you require. For example, [OS Land Cover Tier A](https://docs.os.uk/osngd/code-lists/code-lists-overview/landcovertieravalue) and [OS Land Use Tier A](https://docs.os.uk/osngd/code-lists/code-lists-overview/landusetieravalue).

{% hint style="info" %}
The [OS NGD Documentation site](https://docs.os.uk/osngd) contains guidance on downloading with OS Select+Build and using and loading OS NGD data in both CSV and GeoPackage formats:

* The [greenspace recipe guide](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/getting-started-with-os-recommended-recipes/greenspace-recipe-guide) provides detailed step-by-step instructions outlining how you can combine and filter the four OS NGD feature types to create a greenspace recipe in OS Select+Build.
* [Downloading with OS Select+Build](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build)
* [Getting Started with CSV](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/getting-started-with-csv)
* [Getting Started with GeoPackage](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/getting-started-with-geopackage)
  {% endhint %}

## Unique identifiers

In OS MasterMap Greenspace Layer, persistent managed identifiers are supplied called TOIDs (Topographic Identifiers). TOIDs are strings of up to 20 characters, starting with 'osgb'; the remaining characters are digits (0 to 9). As OS MasterMap Greenspace Layer contains a subset of features from [OS MasterMap Topography Layer](https://docs.os.uk/os-downloads/products/maps-and-imagery-portfolio/os-mastermap-topography-layer), the TOIDs provided in OS MasterMap Greenspace Layer are the same identifiers as for the corresponding features in OS MasterMap Topography Layer.

The OS NGD uses a new identifier called the OSID (OS Identifier) to uniquely identify features. The OSID is a Globally Unique Identifier (GUID) and requires no centralised authority to ensure uniqueness.

The Land, Rail, Road Track Or Path, and Water Feature Types in the OS NGD contain a TOID attribute, which allows linking back to OS MasterMap Greenspace Layer.

## Attribution comparison

OS NGD data contains richer information on land use and land cover, and is structured to be simple to navigate and query.&#x20;

The attribution comparison maps further up the page show the similarities between OS MasterMap Greenspace Layer data and the four OS NGD feature types, and the extra attribution available through the latter.&#x20;

The table below compares the attribution available for the two products:

<table data-full-width="true"><thead><tr><th valign="top">OS MasterMap Greenspace Layer Attribute</th><th valign="top">Purpose</th><th valign="top">OS NGD Attribute</th><th valign="top">Purpose</th></tr></thead><tbody><tr><td valign="top"><a href="https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/feature-types/greenspace-area#toid"><code>toid</code></a></td><td valign="top">The unique reference number of the feature in OS MasterMap Topography Layer.</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#toid"><code>toid</code></a></td><td valign="top">The TOID is provided in the OS NGD to enable migration. The <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#osid">OSID</a> is the primary identifier for the OS NGD.</td></tr><tr><td valign="top"><a href="https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/feature-types/greenspace-area#version"><code>version</code></a></td><td valign="top">The version number of the feature in OS MasterMap Topography Layer. This identifies the specific version of Topography Layer feature this dataset was created from.</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#versiondate"><code>versiondate</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#versionavailablefromdate"><code>versionavailablefromdate</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#versionavailabletodate"><code>versionavailabletodate</code></a></td><td valign="top">Date on which the version was last updated; the date on which this version of the feature became the latest version; the date on which this version of the feature was superseded by an update or ceased to exist.</td></tr><tr><td valign="top"><a href="https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/feature-types/greenspace-area#primaryfunction"><code>primaryFunction</code></a></td><td valign="top">The main function of the greenspace area.</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#oslandusetiera"><code>oslandusetiera</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#oslandusetierb"><code>oslandusetierb</code></a></td><td valign="top">Classifications of land use provided at a high level (Tier A) and in more detail (Tier B).</td></tr><tr><td valign="top"><a href="https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/feature-types/greenspace-area#secondaryfunction"><code>secondaryFunction</code></a></td><td valign="top">Where a polygon has more than one greenspace function present, this field will be populated with the second function.</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#oslandusetiera"><code>oslandusetiera</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#oslandusetierb"><code>oslandusetierb</code></a></td><td valign="top">Classifications of land use provided at a high level (Tier A) and in more detail (Tier B).</td></tr><tr><td valign="top"><a href="https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/feature-types/greenspace-area#primaryform"><code>primaryForm</code></a></td><td valign="top">The main form of the greenspace area.</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#oslandcovertiera"><code>oslandcovertiera</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#oslandcovertierb"><code>oslandcovertierb</code></a></td><td valign="top">Classifications of land cover provided at a high level (Tier A) and in more detail (Tier B).</td></tr><tr><td valign="top"><a href="https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/feature-types/greenspace-area#secondaryform"><code>secondaryForm</code></a></td><td valign="top">Where a polygon has more than one greenspace form present, this field will be populated with the second form.</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#oslandcovertiera"><code>oslandcovertiera</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#oslandcovertierb"><code>oslandcovertierb</code></a></td><td valign="top">Classifications of land cover provided at a high level (Tier A) and in more detail (Tier B).</td></tr></tbody></table>

All the OS MasterMap Greenspace Layer attributes above use the names from the GML format; please see the [Attribute mapping](https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/attribute-mapping#id-8.1-greenspace-area) page for the ESRI Shapefile, GeoPackage and vector tiles equivalents.

### Additional attribution available for OS NGD data

The OS NGD also provides additional information beneficial to greenspace use cases:

<table data-full-width="true"><thead><tr><th valign="top">OS NGD Information</th><th valign="top">Attribute</th><th valign="top">Purpose</th></tr></thead><tbody><tr><td valign="top">Description</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#description"><code>description</code></a></td><td valign="top">A single descriptive value intended for a quick understanding of what the feature represents.</td></tr><tr><td valign="top">Change metadata</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#firstdigitalcapturedate"><code>firstdigitalcapturedate</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#changetype"><code>changetype</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#geometry_evidencedate"><code>geometry_evidencedate</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#geometry_updatedate"><code>geometry_updatedate</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#geometry_source"><code>geometry_source</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#geometry_capturemethod"><code>geometry_capturemethod</code></a></td><td valign="top">Information explaining data changes.</td></tr><tr><td valign="top">Link to Sites</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newsmallestsite_siteid"><code>smallestsite_siteid</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newsmallestsite_landusetiera"><code>smallestsite_landusetiera</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newsmallestsite_landusetierb"><code>smallestsite_landusetierb</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newlargestsite_landusetiera"><code>largestsite_landusetiera</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newlargestsite_landusetierb"><code>largestsite_landusetierb</code></a></td><td valign="top">References to OS NGD Land Use Theme data for more land use information.</td></tr><tr><td valign="top">NLUD classification</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newnlud_code"><code>nlud_code</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newnlud_orderdescription"><code>nlud_orderdescription</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newnlud_groupdescription"><code>nlud_groupdescription</code></a></td><td valign="top">An alternative land use classification that uses a code defined in the NLUD schema.</td></tr><tr><td valign="top">Address classification</td><td valign="top"><p><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newaddress_classificationcode"><code>address_classificationcode</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newaddress_primarydescription"><code>address_primarydescription</code></a>,</p><p><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newaddress_secondarydescription"><code>address_secondarydescription</code></a></p></td><td valign="top">An alternative land use classification that uses a code defined in the Address / BS7666 schema.</td></tr><tr><td valign="top">GSS code</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newlowertierlocalauthority_gsscode"><code>lowertierlocalauthority_gsscode</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#newlowertierlocalauthority_count"><code>lowertierlocalauthority_count</code></a></td><td valign="top">The unique identifier of the Lower Tier Local Authority administrative area provided by the Office for National Statistics that the feature lies within.</td></tr><tr><td valign="top">Habitat information</td><td valign="top"><a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#scheme"><code>scheme</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#habitatcode"><code>habitatcode</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#habitatdescription"><code>habitatdescription</code></a>, <a href="https://docs.os.uk/osngd/data-structure/land/land-features/land#percentage"><code>percentage</code></a></td><td valign="top">Habitat classifications for natural topographic features mapped to the EUNIS and UK BAP classification schemes.</td></tr></tbody></table>

## Help and support

### Supporting links

The [OS NGD Documentation](https://docs.os.uk/osngd) site has further information that you may find useful. Some particularly relevant sections that may aid you with migration are:

* [Greenspace recipe guide](https://docs.os.uk/osngd/getting-started/downloading-with-os-select+build/getting-started-with-os-recommended-recipes/greenspace-recipe-guide)
* [OS NGD Fundamentals](https://docs.os.uk/osngd/getting-started/os-ngd-fundamentals)
* [OS Land Features Collection](https://docs.os.uk/osngd/data-structure/land/land-features)
* [OS Transport Features Collection](https://docs.os.uk/osngd/data-structure/transport/transport-features)
* [OS Water Features Collection](https://docs.os.uk/osngd/data-structure/water/water-features)

### Contact us

If you have any questions, need assistance, or want to provide feedback, please don't hesitate to reach out to us at [os.uk/contact-us](https://os.uk/contact-us).


---

# Agent Instructions: 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:

```
GET https://docs.os.uk/more-than-maps/os-ngd-migration/comparison-of-os-mastermap-greenspace-layer-and-os-ngd.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
