Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
The following Core Principle pages provide an overview of the OS National Geographic Database (NGD). They cover the core elements of its design, including the format of data you can access, the coordinate reference systems used, and how Change-Only Updates (COUs) will be provided, amongst other topics.
There are three options within OS Select+Build in relation to the geographic extent of your order. These are:
Great Britain: Receive all data for the whole of Great Britain.
Customer Specified Area: Draw an area of interest (AOI) and only receive the data which intersects this area.
Pre-defined Area: Select a pre-defined area, and only receive the data which intersects this area.
When accessing the OS NGD, the following order update options will be available:
One Off Full Supply
Regular Full Supply
Change-Only Update (COU; after an initial Full Supply)
No Update
The following frequencies will be available dependent on the type of order you place:
Daily Supply: This will provide you with the latest updates OS have loaded and verified for publication since the previous day as a COU file.
Monthly Supply: Either a Full Supply or COU Supply of all the changes which have occurred in the previous month.
Annual Supply: A Full Supply of the data to show how the data looked at the end of each year.
Further details about the options available to you can be found further down on this page.
If you choose to receive a COU supply for your CSV data, this can be provided on either a daily or monthly frequency. In both cases, your COU file will contain any changes which have been made to the underlying data within the selected time frequency. If no changes have been made to a selected feature type of your choice, then you will receive a blank COU file.
If you use OS Select+Build to access the OS NGD, then a separate download file will be provided for each feature type you order. For example, if your selected theme has two feature types you will be supplied with two separate files (CSV or GeoPackage) as part of your order.
The following tables summarise the different options available to you dependent on what you specify when ordering your data through OS Select+Build.
For the purposes of the tables below, the following definitions are being used:
Unfiltered means a Great Britain supply with no further attribute filters applied.
Filtered means an order for data which either has a geographic filter applied or an attribute filter applied.
Daily (filtered / unfiltered)
N/A
Monthly (filtered / unfiltered)
Monthly Full Supply
Annual (filtered / unfiltered)
Annual Full Resupply with data from 01 January
Daily (filtered)
N/A
Daily (unfiltered)
Daily COU
Monthly (filtered)
Monthly Full Supply
Monthly (unfiltered)
Monthly COU or Monthly Full Supply
Annual (filtered / unfiltered)
Annual Full Resupply with data from 01 January
Whether accessing OS NGD data through OS Select+Build or OS NGD API – Features, the following currency of the data will apply:
OS NGD Address (*N.B. Not available in OS NGD API – Features)
Both OS NGD Address collections
Daily
OS NGD Administrative and Statistical Units (*N.B. Not available in OS NGD API – Features)
OS NGD Boundaries
Biannual
OS NGD Buildings
OS NGD Buildings Features
Daily
OS NGD Geographical Names
OS NGD Named Features
Daily
OS NGD Land
OS NGD Land Features
Daily
OS NGD Land Use
OS NGD Land Use Features
Daily
OS NGD Structures
OS NGD Structure Features
Daily
OS NGD Transport
OS NGD Transport Features
Daily (apart from the Street Light Feature Type which is updated monthly)
OS NGD Transport Network
Monthly
OS NGD RAMI
Monthly
OS NGD Water
OS NGD Water Features
Daily
OS NGD Water Network
Quarterly
For collections that are not updated daily, the table below provides the date of the last update. It also shows the version of the OS MasterMap product to which the OS NGD data corresponds:
OS NGD Boundaries
10 October 2024
Boundary-Line –
October 2024 publication
OS NGD Transport Features – Street Light Feature Type only
03 April 2025
N/A
OS NGD Transport Network
03 April 2025
OS MasterMap Highways Network – April 2025 publication
OS NGD RAMI
03 April 2025
OS MasterMap Highways Network – April 2025 publication
OS NGD Water Network
29 April 2025
OS MasterMap Water Network – April 2025 publication
Please note:
The OS NGD Address Theme is only available via OS Select+Build and is not available via OS NGD API – Features or OS NGD API – Tiles.
The OS NGD Administrative and Statistical Units Theme is only available via OS Select+Build and OS NGD API – Tiles and is not available via OS NGD API – Features.
Feature types in the Routing and Asset Management Information (RAMI) Collection (of the OS NGD Transport Theme) are only available via OS Select+Build and OS NGD API – Features and are not available via OS NGD API – Tiles.
The Waterbody Catchment and River Basin District Catchment Feature Types (of the Water Features Collection in the OS NGD Water Theme) are not available via OS NGD API – Features but they are available via OS Select+Build and OS NGD API – Tiles.
The key benefits of the OS National Geographic Database (NGD) to customers are as follows:
Increased data update frequency: With the new OS NGD APIs and OS Select+Build you can access themes of data which are updated up to daily.
Choose exactly what data you take: For the first time, you can select and build your own data package/s rather than taking pre-selected OS products. For example, if you're only interested in buildings data, then you just select the OS NGD Buildings Theme. There's no need to take a larger product and spend time filtering out the buildings data from it. You can also select data from different OS NGD collections to build your own bespoke data package/s.
New, easier ways to access data: The download service of OS Select+Build lets you access only the data you need in the format you want. OS NGD API – Features and OS NGD API – Tiles give you online access to the OS NGD to help you quickly request data using the latest OGC API – Features and OGC API – Tiles standards, respectively.
Customer-friendly data formats: OS NGD data is available in four easy-to-use data formats: GeoPackage, CSV (comma-separated values), GeoJSON (via OS NGD API – Features only) and vector tiles (via OS NGD API – Tiles only).
More discoverable data: Improved data structures and metadata within the OS NGD, new and bespoke documentation within OS Select+Build, and a brand new online Documentation Platform mean you'll find the right data and support you need quicker than ever before.
Built with the future in mind: The OS NGD is much more flexible, allowing for changes to the data structure and enhancements to be made when needed to meet evolving customer needs.
Rich attribution: OS NGD data has been enriched with attribution to ensure that it's straightforward to navigate and query. Attribute names have also been simplified to make them easier to understand.
Included in the Public Sector Geospatial Agreement (PSGA): Therefore, OS NGD data is free at point of use for Public Sector organisations. It's also available to OS Partners for commercial resell in your solutions.
To get access to the OS NGD you must first log into the . The OS NGD will be accessible via both the .
You can use the to manage your daily / monthly COU supply of OS NGD data.
*Please see the page for more information on what features are available in this API.
When accessing OS NGD data through OS NGD API – Tiles, the data currency is weekly for the basemap and variable for the three data overlays – please see the for more information on update frequency, available feature types and available attribution for this API.
The OS NGD will primarily use a new identifier called the OSID (OS Identifier) to uniquely identify features. The OSID will be used persistently and will allow the unique identification of records in the OS NGD. It should be noted that the OSID will not be unique across the OS NGD, but rather only unique at a feature type level. The reason for this is, when possible, the same OSID will be used on multiple features when they represent the same geographical feature. For example, a point feature in the OS NGD Geographical Names Theme which represents a water body will have the same OSID as the more detailed water body representation in the OS NGD Water Features Theme.
Other unique identifiers are also present in the OS NGD. These include the UPRN (Unique Property Reference Number) and USRN (Unique Street Reference Number). These will remain the unique identifiers in our data to represent Address and Local Authority Street records respectively.
The TOID (Topographic Identifier) is also present in the OS NGD, but in most instances this is an optional attribute and therefore should not be relied upon to complete data linking or for implementing COUs. The reason for this identifier being optional is the improved currency on which the OS NGD will be published, meaning the TOID which is created in our existing OS product systems will not always be allocated to features as frequently as they will be accessible via the OS NGD.
A theme is a macro grouping of features which all represent similar geographic entities. Themes are the highest level of grouping within the OS NGD, and examples include ‘Buildings’ and ‘Transport’.
Themes allow for quick discovery and navigation when using OS Select+Build or the new OS NGD APIs. They also give you the ability to quickly access all OS data relating to your particular theme of interest.
The nine OS NGD themes are: Address, Administrative and Statistical Units, Buildings, Geographical Names, Land, Land Use, Structures, Transport, and Water.
A collection is a sub-grouping of the OS NGD themes. Collections group together similar types of data within a theme. Examples include ensuring network and routing data is separated from topographic features. For example, in the OS NGD Water Theme, there are two collections: OS NGD Water Features (topographic data) and OS NGD Water Network (network data).
This makes it easier for you to access only the data you require.
A feature type is the most granular level of grouping within the OS NGD. Feature types have their own data model and specifications which are not commonly shared with other feature types. When you order data through OS Select+Build, the data you receive will be provided at a feature type level.
OS Select+Build: A download service which enables you to choose only the data you require and select how you want to receive your data.
OS NGD API – Features: An OGC API – Features service.
OS NGD API – Tiles: A vector tiles service based on OGC API – Tiles.
Welcome to OS NGD documentation! Here you can learn how to get started using OS NGD data via OS Select+Build and the OS NGD APIs.
The OS National Geographic Database (OS NGD) contains authoritative data that describes the geography of Great Britain. It delivers improved data structures, increased currency of data supply and enhanced metadata.
There are two access methods for OS NGD data:
OS NGD data has been categorised to make it easier for you to discover the data you need:
Each theme is made up of one or more collections, which in turn have feature types.
Feature types are the most granular level, with objects grouped by geometry or classification.
Find out more about OS NGD data in the Data Structure pages, which are specifically focussed on the data in different OS NGD themes, collections and feature types:
The GeoPackage and CSV formats accessible via OS Select+Build are available in four different coordinate reference systems dependent on your selection:
British National Grid (BNG: EPSG: 27700)
British National Grid + ODN Height (EPSG: 7405)
European Terrestrial Reference System (ETRS89: EPSG: 4258)
World Geodetic System (WGS84: EPSG: 4326)
The following table outlines the default coordinate reference system used by each OS NGD collection in OS Select+Build:
GB Address
British National Grid (EPSG: 27700).
Islands Address
European Terrestrial Reference System
(EPSG: 4258)
Boundaries
British National Grid (EPSG: 27700).
Building Features
British National Grid (EPSG: 27700).
Named Features
British National Grid (EPSG: 27700).
Land Features
British National Grid (EPSG: 27700).
Land Use Features
British National Grid (EPSG: 27700).
Structure Features
British National Grid (EPSG: 27700).
Routing and Asset Management Information (RAMI)
British National Grid (EPSG: 27700) for all feature types, except the Average And Indicative Speed Feature Type which is British National Grid + ODN Height (EPSG: 7405).
Transport Features
British National Grid (EPSG: 27700).
Transport Network
British National Grid + ODN Height (EPSG: 7405) for most feature types in the collection; British National Grid (EPSG: 27700) for the Ferry Terminal, Path, Road, Road Junction, Street and Pavement Link Feature Types.
Water Features
British National Grid (EPSG: 27700).
Water Network
British National Grid + ODN Height (EPSG: 7405) for the Water Link and Water Node Feature Types; British National Grid (EPSG: 27700) for the Water Link Set Feature Type.
If you don't choose a particular coordinate reference system for your data package, OS Select+Build will automatically select the default coordinate reference systems for the feature types in your data package for you.
The GeoJSON format accessible via OS NGD API – Features is available in four different coordinate reference systems:
British National Grid (BNG: EPSG: 27700).
World Geodetic System (WGS84: EPSG: 4326)
British National Grid + ODN Height (EPSG: 7405)
Web Mercator (EPSG: 3857)
The vector tiles format accessible via OS NGD API – Tiles is available in two different coordinate reference systems:
British National Grid (BNG: EPSG: 27700)
Web Mercator (EPSG: 3857)
British National Grid (BNG: EPSG: 27700)
The British National Grid (BNG) spatial reference system uses the OSGB36 geodetic datum and a single Modified 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.
British National Grid + ODN Height (EPSG: 7405)
The BNG with ODN height reference uses the OSGB36 geodetic datum and a modified Transverse Mercator projection for the whole of Great Britain. Positions in this system are described by easting and northing coordinates plus a height value, all in units of metres. Please note, this will only be available for some OS NGD feature types.
European Terrestrial Reference System (ETRS89: EPSG: 4258)
The European Terrestrial Reference System uses the ETRS89 geodetic reference system which is the EU-recommended frame of reference for European data. Positions on this projection are described using latitude and longitude, and coordinates are provided in degrees. ETRS89 is a horizontal spatial reference system only; it does not specify a vertical (height) reference system. Please note, this coordinate system is only used for the OS NGD Islands Address Collection due to the coverage of this data being Northern Ireland, Isle of Man, and the Channel Islands.
World Geodetic System (WGS84: EPSG: 4326)
The WGS84 spatial reference system uses the WGS84 geodetic datum. Positions on this projection are described as latitude and longitude, and coordinates are provided in decimal degrees. There will also be an option to receive this reference system via CRS 84, meaning the coordinates will be provided as longitude / latitude rather than latitude / longitude.
Web Mercator (EPSG: 3857)
Web Mercator is not a recognised geodetic system, but it is used for many visualisation and web mapping use cases. It uses the WGS84 geodetic datum, and positions on this projection are described as easting and northing, all in units of metres.
On the feature type pages (which are located in the Data Structure section), the following information can be found about each attribute:
Name and Definition: The name of the attribute and what it is describing.
Data Types: The values the attribute can take. For example, a numeric value or a string. This is provided for all three data formats – GeoJSON, GeoPackage, and CSV.
Nullable: A True or False value to denote whether the attribute always has to be populated with a value (False) or can be NULL (True).
Code List Name: The name of the code list used in association with the attribute (if applicable) and a hyperlink to the page displaying that code list.
Max Length: Values are given here to indicate the maximum length that you will find in the attribute, to aid in developing applications.
Multiplicity: Describes how many times this value is expected to be populated in the data.
1: There must be a value.
2: There must be two values.
n: There may be one or more values.
0: Population is optional.
These values may be used in combination.
OS NGD API – Features Filterable: A Yes / No value to denote whether you can refine your query in OS NGD API – Features specifically on this attribute.
OS Select+Build Filterable: A Yes / No value to denote whether you can refine your order in OS Select+Build on this attribute.
Change-Only Updates (COUs) are only available for CSV data supplies of the OS NGD. The benefit of taking COU supplies is that you only receive the features which have changed since your last supply, reducing the overall size of the files you receive.
Upon OS NGD launch, if you choose to receive a COU supply for your CSV data, this can be provided on either a daily or monthly frequency. In both cases, your COU file will contain any changes which have been made to the underlying data within the selected time frequency. If no changes have been made to a selected feature type of your choice, then you will receive a blank COU file.
The key attribution required to use and implement a COU is detailed below:
Unique Identifier: The unique identifier for the feature type you are using is how you will ensure you are updating the correct records in your data holdings. In most instances the unique identifier will be the OSID, but this is not always true, therefore please check the appropriate feature type pages in our documentation.
Version Date: This is the date when the feature was last updated in OS product databases.
Version Available From Date: This is the date when the feature became the latest version and was published to customers.
Version Available To Date: This is the date when the feature was superseded by an update or ceased to exist.
Change Type: This is a code list which gives more information about the type of change which has occurred.
Through the OS NGD, Ordnance Survey aims to iterate and release data enhancements quicker than ever before. We want to be able to do this without disrupting customers who have adopted data schemas and are heavily reliant on a specification remaining the same for a longer period of time. With this in mind, the OS NGD is able to run multiple data schema versions for a single feature type at any given time.
When we release a new data schema version in the OS NGD, the changes will be visible on the feature type pages of this documentation platform. As you can see from the image below, each attribute on a feature type page states which data schema version it is present within, with the Version Date attribute in the example below being present in both data schema versions 1.0 and 2.0:
As new enhancements are made to a given feature type in the OS NGD which require the schema to be uplifted (for example, new attributes being added, resulting in a major schema version increment from 1.0 to 2.0), the new data schema version will become available via the OS NGD access services (i.e. OS Select+Build and the OS NGD APIs).
There are two types of version increments that can be applied:
Minor: A non-breaking change that does not usually impact a customer’s implementation of the data, for example, the addition of an attribute value to a code list.
Major: A significant breaking change that usually impacts a customer’s implementation of the data, for example, the addition or removal of an attribute.
When a data schema undergoes a minor version increment, the previous version will no longer be available. This is because the change is deemed to be so small that there is little to no work involved in customers migrating to the latest version of the data.
When a data schema undergoes a major version increment, the previous version will become known as being in 'maintenance' and the new data schema version will be known as the ‘latest’. This reflects an understanding of the work required for customers to move to a new version and allows time for this to happen.
When using the OS NGD access services, you will be able to choose which data schema version you want to use for feature types when ordering or interacting with the data where more than one major version exists. You can choose from data schema versions which are in the 'latest' or 'maintenance' states.
Older data schema versions (i.e. those in a maintenance state) will remain in the OS NGD for a period of time; it's important to note that these maintenance versions will continue to receive updates. Before any data schema version is retired for a given feature type (i.e. when it no longer receives updates and will be removed from the ordering and selection process), customer communications will be distributed, and a notice period will be issued to allow sufficient time for customers to upgrade to a newer version of a data schema.
Code lists within the OS NGD have only one type of version increment applied: major.
When a code list undergoes a major version increment, all feature types that implement the code list will undergo a minor version increment, reflecting the data change that will occur.
In the worked example below, we demonstrate how a feature type has new major data schema versions released (v2.0 and then v3.0), while maintaining older data schema versions (v1.0 and then v2.0), before the original data schema version (v1.0) moves into end of life and is retired.
In this example, the feature type starts with a single data schema version (v1.0), known as the latest data schema version.
At a point in the future, data enhancements are made which require the data schema version to be uplifted, so a second major data schema version (v2.0) is released. As there can only be one latest data schema version (v2.0), the original data schema version (v1.0) drops down into maintenance – but it still receives updates and is still accessible to customers via the OS NGD access services.
Further again into the future, additional new enhancements are made to the feature type, requiring a third major data schema version (v3.0) to be released. Again, as before, there can only be one latest data schema version for a feature type (v3.0), so the second data schema version (v2.0) drops down into maintenance. Two major data schema versions (v1.0 and v2.0) are now in maintenance, but again, both are still receiving updates and are accessible to customers via the OS NGD access services.
At a future point, and after customer communications have been distributed and a formal notification period has elapsed, it is decided to retire the original data schema version (v1.0). V1.0 moves into the end of life state, where it stops receiving updates and can no longer be accessed by customers via the OS NGD access services. V3.0 remains the latest data schema version and v2.0 remains in maintenance, with both data schema versions receiving updates and being accessible to customers via the OS NGD access services.
If you select an Annual Full Supply frequency for your OS NGD data order in OS Select+Build, we will provide you with the data as it was on 01 January of the current year. This means if a new feature type or a new data schema version of an existing feature type was released after 01 January and you order either of these as part of your Annual Full Supply, you will receive an empty data package for the newly released feature type / new data schema version of an existing feature type. The data for the new feature type / new data schema version of an existing feature type will then be included in your supply on the next 01 January after the release.
For example, the March 2025 OS NGD data enhancements release contained 3 new feature types (Building Access Location, Crowd Sourced Name Point, and Street Light), and 11 new data schema versions (Building v4.0, Building Part v2.1, Land v3.1, Path Link v2.0, Rail v3.1, Road Link v4.0, Road Track Or Path v3.1, Site v2.2, Site Access Location v2.0, Structure v3.1, and Water v3.1). The data for the new feature types and the new data schema versions will not be part of Annual Full Supply orders until 01 January 2026.
OS NGD data is available in four easy-to-use formats: GeoPackage, CSV (comma-separated values), GeoJSON and vector tiles. The download service of OS Select+Build supports GeoPackage and CSV. OS NGD API – Features supports GeoJSON. OS NGD API – Tiles supports vector tiles.
CSV files are delimited text files which use commas to separate each attribute from the next. CSV is one of the file formats available via OS Select+Build. A single record is commonly provided per line, with a new line being started for each new record.
Geometry attribution will be provided as Well-Known Text (WKT).
CSV offers the following benefits:
The single file is familiar to many customers and well used across GIS and data science tools.
It is plug and play with most databases.
The ability to quickly load large datasets using COPY method rather than INSERT.
The following table shows how different attribute types in the OS NGD are delivered when you choose to receive a CSV format. This includes whether to expect quotes, and how NULL values are treated.
Integer
N
"
123
Real
N
"
1.23
Decimal
N
"
1.23
Text
N
"
Some Text
Text (including comma in string)
Y
"
"Some, Text"
Array (code list)
Y
"
"item 1,item 2"
Timestamp
N
"
2022-08-17T00:00:00.000Z
Date
N
"
2022-08-31
GeoPackage (GPKG) is an open standard data format as defined by the Open Geospatial Consortium (OGC). It is one of the file formats available via OS Select+Build. GeoPackage is designed to be a lightweight format that can contain large amounts of varied and complex data in a single, easy to distribute and ready to use file. Please be advised that older versions of GIS software may need updating before being able to display and interact with GeoPackage files.
GeoPackage offers the following benefits:
The single file is easy to transfer and offers the end-user a rich experience.
Attribute names are not limited in length, making it user-friendly.
The file size limit is very large at 140TB, so lots of data can be easily accommodated (please note that a file size limit may be imposed by the file system to which the file is written).
It supports raster, vector and database formats, making it a highly versatile solution.
It is an OGC standard.
In most cases, it is a plug and play format.
GeoJSON is an IETF standard designed to represent simple geographical features and their non-spatial attributes. It is used for encoding geographic data structures using JavaScript Object Notation (JSON). GeoJSON is used by OS NGD API – Features.
Supported geometry types:
Point
LineString
Polygon
Multipart geometries: MultiPoints, MultiLineString, or MultiPolygon features
Vector tiles are clipped tiles, or grid squares, composed of layers of vector features which are optimised for caching, scaling and producing map imagery quickly. They serve in a similar way to raster tiles but have the added functionality of being customisable by users. A client application requests tiles based on a zoom level and extent, and the server responds with binary data representing the vector tiles containing the layers to be visualised on that map.
OS NGD API – Tiles serves vector tiles as raw information which is presented using compressed packets of geographic data using the Protocolbuffer Binary Format (.pbf).
Vector tiles offer the following benefits:
User customisation and styling functionality – customise your map with full and dynamic design control.
Small file size – lightweight tiles that are efficient and quick to render in your client application.
Pixel perfect maps – high-resolution, beautiful mapping for all devices (web and mobile devices).
Snapping ability – due to the data being vector, data can be snapped to and traced.
Smooth zooming and scaling effect – a seamless user experience when zooming in and out of maps.
Advanced features – vector tiles contain geographic data (not just images) which can be interrogated and analysed.
When you place an order for OS NGD data via OS Select+Build, the following file naming convention will be applied to the data you receive:
themeshortcode_collectionshortcode_featuretype
In order to keep file names manageable and not overly long, shortened file names ('short codes') have been used for both the theme and collection. Using short codes in our naming convention also ensures we have consistency in naming between OS Select+Build and the OS NGD APIs.
An example of how these short codes are used is below, with the example showing a file name which would be created for an order of the Built Address Feature Type within the OS NGD GB Address Collection of the OS NGD Address Theme:
add_gb_builtaddress
A full list of the short codes we use in OS Select+Build and the OS NGD APIs is detailed in the following table:
Buildings
bld
Building Features
fts
Water
wtr
Water Features
fts
Water Network
ntwk
Land
lnd
Land Features
fts
Structures
str
Structure Features
fts
Transport
trn
Transport Features
fts
Transport Network
ntwk
RAMI
rami
Administrative and Statistical Units
asu
Boundaries
bdy
Address
add
GB Address
gb
Islands Address
isl
Geographical Names
gnm
Named Features
fts
Accessing GeoPackage data via ArcGIS Pro
ArcGIS Pro (version 1.1 or later)
A GeoPackage dataset
These instructions were created using ArcGIS Pro version 2.5, but versions from 1.1 onwards will support GeoPackage.
The layers added into ArcGIS Pro will appear in the contents pane on the left-hand side of the project.
GeoPackage offers users the following key features and benefits:
The single file is easy to transfer and offers the end-user a rich experience.
Attribute names are not limited in length, making the format user-friendly.
The file size limit is very large at 140 TB, so lots of data can be easily accommodated (please note that a file size limit may be imposed by the file system to which the file is written).
It supports raster, vector and database formats, making it a highly versatile solution.
It is an OGC standard.
In most cases, it is a plug and play format.
Data will be supplied in British National Grid (ESPG:27700), World Geodetic System (WGS84: EPSG: 4326), or British National Grid + ODN Height (EPSG: 7405), depending on your selection when ordering OS NGD data.
The following sub-sections provide step-by-step instructions on how to access GeoPackage data via various GIS software packages, all current versions of these support GeoPackages natively.
It is possible to use Extract, Transform, Load (ETL) tools to convert the data into different formats and to load into databases.
For the first time, you can select and build only the data you require rather than taking off-the shelf OS products. For example, if you're only interested in buildings information, then you just select the OS NGD Buildings Theme and the content you require within that theme. There's no need to take a whole product and spend time filtering out the data you need from it.
You can also take data from different OS NGD collections. For example, you could select the Building Line and Building Part Feature Types (which are both in the Building Features Collection of the Buildings Theme) and the Structure Line Feature Type (which is in the Structure Features Collection of the Structures Theme).
The screenshot below shows what selecting this data would look like using OS Select+Build. The secondary navigation menu on the left-hand side of the screen is where you select the feature types you want from the tree view of the OS NGD themes, collections, and feature types, and where you can apply filters to the feature types (if needed). The right-hand side panel displays the definition for the feature type you've selected and lists all the attributes present within it.
A recipe is a bespoke selection of OS NGD data which is made by a user within OS Select+Build. Recipes allow you to choose the OS NGD data that best fits your requirements.
Every new recipe you create will be stored in your OS NGD Select+Build Recipe Library. This library will be visible to other people in your organisation. It provides a central place for colleagues to view and use recipes.
Before you create a data package to receive your OS NGD data, you'll need to create a recipe.
To create a new recipe:
Select Download from the main menu.
Choose OS Select+Build from the secondary navigation menu.
Click the Create a new recipe button.
Add the following details to your recipe under Create your recipe in the secondary navigation menu:
Give your recipe a name.
Add a description for your recipe.
Select your OS NGD data by choosing the themes, collections and feature types you want to include in your recipe.
If you wish to choose which schema version (where applicable) you'd like to receive the data in for a feature type, click on the feature type name within the tree view in the secondary navigation menu, then choose a data schema version from the drop-down box in the right-hand side panel.
Add filters to the feature types, if needed.
Click the Create recipe button.
Your new recipe will now instantly be available in your OS Select+Build Recipe Library.
Any recipes created by your organisation will be stored in your OS Select+Build Recipe Library in the OS Data Hub.
To find your OS Select+Build Recipe Library:
Select Download from the main menu.
Choose OS Select+Build from the secondary navigation menu.
You will then be taken to your organisation's OS Select+Build Recipe Library.
You can easily check details about any of your organisation's existing recipes, including a recipe's name, description, creation date, author, the filters used (if applicable), and what OS NGD themes, collections and feature types are included in a recipe.
To check what's in an existing recipe:
Select Download from the main menu.
Choose OS Select+Build from the secondary navigation menu.
In your OS NGD Select+Build Recipe Library, scroll or search for the recipe you would like to find out more about.
In this view, you can see the following high-level details about a recipe:
The recipe's name
The recipe's author
The date the recipe was created
A description of the recipe, if one has been added
OS NGD theme tags to show which themes are included in the recipe
In the screenshot below, you can see that the example recipe includes the following OS NGD themes: Land, Buildings, and Structures.
To see what OS NGD themes, collections and feature types are in a recipe, follow the steps above to find a recipe in your OS Select+Build Recipe Library, then:
Click on the name of the recipe you would like to find out more about.
You are now within the Recipe details screen, where you can view detailed information about the recipe, including:
The recipe's name
A description of the recipe, if one has been added
An option to view all of the filters applied to feature types in the recipe (if applicable)
The date the recipe was created
The recipe's author
An option to show the data schema version of each feature type in the recipe
A recipe tree detailing the OS NGD themes, collections, and feature types included in the recipe
A recipe can be deleted within your recipe library. You can do this if you are the author of the recipe or an admin user.
To delete a recipe:
Select Download from the main menu.
Choose OS Select+Build from the secondary navigation menu.
In your organisation's OS Select+Build Recipe Library, scroll or search for the recipe you want to delete.
Click on the name of the recipe to view the recipe details.
In this view, you will be able to see the Recipe actions dropdown
Click the Recipe actions dropdown.
Click the Delete recipe button.
Click on the name of the recipe to view the recipe details.
If there are no data packages associated with the recipe, you will be asked to confirm the deletion of the recipe.
Where there are data packages associated, you will see the following warning:
Click the Delete recipe button.
To edit a recipe's name:
Select Download from the main menu.
Choose OS Select+Build from the secondary navigation menu.
In your organisation's OS Select+Build Recipe Library, scroll or search for the recipe you want to edit.
Click on the name of the recipe to view the recipe details.
Click on the pencil icon next to the recipe name.
Enter the required changes to the recipe name.
To save your changes, simply click away from the edit box.
To edit a recipe's desciption:
Select Download from the main menu.
Choose OS Select+Build from the secondary navigation menu.
In your organisation's OS Select+Build Recipe Library, scroll or search for the recipe you want to edit.
Click on the name of the recipe to view the recipe details.
Click on the pencil icon next to the recipe description.
Enter the required changes to the recipe description.
To save your changes, simply click away from the edit box.
A recipe can be shared with another organisation to enable collaboration.
To share a recipe:
Select Download from the main menu.
Choose OS Select+Build from the secondary navigation menu.
In your organisation's OS Select+Build Recipe Library, scroll or search for the recipe you want to share.
In this view, you will be able to see the Share recipe button; please note that you can only share recipes created by your organisation.
Click the Share recipe button.
The share recipe dialog will appear.
Search for the organisation with whom you wish to share the recipe. To do this, just start to type the organisation's name, then select the correct organisation from the list.
Add a message for the organisation receiving the recipe to provide them with context around why you are sharing the recipe with them.
Click Send.
To accept a shared recipe:
You will see a new notification at the top right of your screen, indicated by a bell button and a number count of any unread notifications.
Click the bell button.
You will then see details of a notification explaining You have been sent a shared recipe, which will include the name of the organisation that shared the recipe with you, along with a message if they added one when sharing the recipe.
Click View recipe details.
The recipe details will be displayed for you to review. If you are happy with the shared recipe:
Click the Accept recipe button.
You will be presented with a dialog box explaining: When you accept a recipe, it is added to your organisation’s recipe library. It will show as 'shared'. You can create data packages from it, but you can’t share the recipe with other organisations.
If another team member in your organisation declines the invitation to accept a shared recipe before you view it, you may no longer have access to the shared recipe.
To reject a shared recipe:
You will see a new notification at the top right of your screen, indicated by a bell button and a number count of any unread notifications.
Click the bell button.
You will then see details of a notification explaining You have been sent a shared recipe, which will include the name of the organisation that shared the recipe with you, along with a message if they added one when sharing the recipe.
Click View recipe details.
The recipe details will be displayed for you to review. If this recipe is not right for you and you want to reject it:
Click the Reject button.
Once a shared recipe is rejected, you will not be able to access it again.
Once you've created a recipe, you'll then need to create a data package against it to receive your OS NGD data.
To create a new OS NGD data package:
Select Download from the main menu.
Choose OS Select+Build from the secondary navigation menu.
In your OS NGD Select+Build Recipe Library, scroll or search for the recipe you wish to create a data package against, select that recipe, then click the Add data package button.
Add the following details to your data package under Add a data package in the secondary navigation menu:
Give your data package a name.
Choose the area you want to receive your data for: Either all of Britain or Predefined Area (this means you receive data and it will not be refined by location) or Draw a polygon / upload a file / use an OS polygon to select a smaller area for your data to be provided for.
Select the updates you want: Either not required or COU (Change-Only Update) frequency. There is also an option to select a one-off snapshot of a current or past date.
Set your initial supply date.
Click the Create data package button.
You will receive an email confirming that your data package is being created and another one when your new data package is ready to download.
All OS NGD, OS OpenData and OS Premium data packages created and ordered by your organisation will be catalogued in your Data packages list in the OS Data Hub.
To find and download an existing data package:
Select Download from the main menu.
Choose Data packages from the secondary navigation menu.
You will be then taken to your Data packages list.
Scroll through the list to find a particular data package or use the search bar to search by data package name, data package number, or product name.
Data packages linked to an OS NGD recipe can be identified by their prefix of 'OS NGD Recipe' against the recipe name in the Product column in the Data packages list:
Once you have found the data package you want from the list, click the Download button in the Status column.
You are now within the Data package summary screen, where you can view and download files. Under 'Individual file downloads' in the bottom left-hand side of your screen, you will see a .zip file for every feature type in your data package order.
Click on a file to download it.
This is also known as a manifest file, a computing file which contains metadata. We provide an Order Summary file for each feature type in your data package. The following file naming convention will be applied to each Order Summary file you receive:
collection_featuretype_orderSummary.jso
For example, the file name for the Building Part Feature Type Order Summary file would look like this:
bld_fts_buildingpart_orderSummary.jso
The example below shows the information an Order Summary file contains:
You can:
Delete a recipe
Edit the name or decription of a recipe
Create multiple data packages from a single recipe.
Delete a data package.
Search through your organisation's recipes in the OS Select+Build Recipe Library using the recipe name, description, or content (i.e. themes, collections, or feature types).
Search through your organisation's data packages in the Data packages list screen using the data package name, data package number, or product name.
Share a recipe with another organisation that has access to OS Select+Build.
You can't:
Edit the data or filtering within recipe once it's been created.
Download the contents of an OS NGD data package using the grouped file function.
The OS NGD is available via the on either the . There are three access methods to choose from once you are on the OS Data Hub:
This self-serve site is where you will find documentation to help you get started using OS NGD data via the download service of OS Select+Build and the two OS NGD APIs. Using the navigation panel on the left-hand-side of the screen, you can select and view pages of interest, including ; getting started information and guides for accessing OS Select+Build and the APIs; ; ; , , , , detailed information about the data structure and , and planned .
OS Select+Build and the OS NGD APIs are available to Public Sector Geospatial Agreement (PSGA) Members and OS Partners. To get access to the OS NGD you must first log into the . The OS NGD will be accessible via both the .
, including the benefits of joining, instructions on how to access OS data, success stories, support, registration process information and instructions, and a PSGA Member finder tool to check if your organisation is already a member.
The data is structured into nine themes of related items: , , , , , , , , and .
The is a great way to explore and visualise OS NGD sample data online for three areas (Exeter, Newport and Inverness) in Great Britain.
When (the Download service for OS NGD), you can choose what coordinate reference system you'd like to receive the data in.
Data Schema Version: The OS NGD schema version the data above applies to. Please note that concurrent schema versions may be available at one time. For more information on how data schema versioning works in the OS NGD, please refer to the .
There are some restrictions on when you can choose to take COUs; these restrictions are dependent on the selections you make when ordering OS NGD data. Please see the for more information.
You can use the to manage your daily / monthly COU supply of OS NGD data.
A code list will undergo a major version change when a new code list value is added to it. Values will never be removed from a code list because this would impact within the OS NGD.
More information about the GeoJSON IETF standard can be found .
GeoPackage (.gpkg) is an open, non-proprietary, platform-independent, and standard data format for geographic information systems (GIS), as (OGC). It is designed to be a lightweight format that can contain large amounts of varied and complex data in a single, easy to distribute and ready to use file. GeoPackage is natively supported by numerous software applications.
The first column is an additional fid
attribute, which is an INTEGER NOT NULL
column. This acts as a primary key and is a requirement of the .
OS Select+Build is our download service that gives you access to OS National Geographic Database (NGD) data. You can use it to choose and download the OS NGD data you need (by ) and select how you want to receive your data.
There are two different file formats options available when you download OS NGD data from OS Select+Build: GeoPackage and CSV. Various are available.
OS Select+Build is available via the .
OS NGD data is structured by ; the main advantage to this data structure is that you can easily find and select individual feature types across different themes and build your own recipes and data package/s containing only the data you are interested in. There's also the option to select all or only a few feature types from a single theme.
Log into your account.
Selecting a data schema version for a feature type is an optional step; if you don't choose a particular data schema version for a feature type, OS Select+Build will always select the latest available data schema version for you by default. See the for more information.
Adding filters to feature types is an optional step for those with advanced OS data knowledge; see the for more information on applying filters and step-by-step instructions.
Log into your account.
Log into your account.
Log into your account.
Log into your account.
Log into your account.
Log into your account.
Log into your account.
Log into your account.
Log into your account.
Select the desired .
Select a file format: or .
Log into your account.
Collect your data package(s) via the or the .
A comma-separated values (CSV) file is a common interchange format for spreadsheets and databases which facilitates a simplistic use of data. Each field is either textual or numeric. Within the CSV, each field is separated from the next by a comma. CSV file format is universally supported for easy ingestion into all major database products.
Please be aware that CSV files are designed to be opened in a database or GI system, and opening them in other software applications could corrupt the data. In particular, Excel has a row limit which might be exceeded by some of our CSV files containing OS NGD data, depending on the order you placed and its size. We recommend that you load CSV files containing OS NGD data directly into a database or GI system, rather than trying to open these files in Excel.
CSV offers users the following key features:
Change-Only Update (COU) files are only supplied in CSV format (they are not supplied in GeoPackage format)
Geometry provided as Well-Known Text (WKT)
Header rows included in the file
There will be one record per line in each file
Fields will be separated by commas
Where string fields contain commas, they will be delimited by double quotes
Double quotes inside strings will be escaped by doubling
Records will be terminated by Carriage Returns and Line Feeds
CSV files will be Unicode encoded in UTF-8
There are now two options available for you to interact with OS NGD sample data:
Sample data for most OS NGD feature types are available through the tool. The sample data always use the latest data schema version available for each feature type.
GeoPackage, CSV
One 5km x 5km area (Exeter only)
GeoPackage, CSV
Three 5km x 5km areas
GeoPackage, CSV
Three 5km x 5km areas
GeoPackage, CSV
Three 5km x 5km areas
GeoPackage, CSV
Three 5km x 5km areas
GeoPackage, CSV
Three 5km x 5km areas
GeoPackage, CSV
Three 5km x 5km areas
GeoPackage, CSV
Three 5km x 5km areas
GeoPackage, CSV
Three 5km x 5km areas
GeoPackage, CSV
Three 5km x 5km areas
GeoPackage, CSV
Three 5km x 5km areas
Sample data for the collections are available in GeoPackage and CSV (comma-separated values) formats.
One zip file of sample data is provided per OS NGD collection. Within each of these zip files, the individual feature types for each collection are separated into their own folder.
The sample data for each OS NGD collection typically cover three 5km x 5km areas in Great Britain: Exeter (England), Newport (Wales), and Inverness (Scotland).
Accessing GeoPackage data via ArcMap
ArcMap (version 10.2.2 or later)
A GeoPackage dataset
These instructions were created using ArcMap version 10.7, but versions from 10.2.2 onwards will also support GeoPackage features.
The GeoPackage layers should now be viewable in the layers list in the Table Of Contents on the left-hand side of the workspace.
Accessing GeoPackage data via MapInfo Professional
MapInfo Professional (version 15.2 or later)
A GeoPackage dataset
These instructions were completed using MapInfo Professional version 2019; however, any version from 15.2 onwards can be used.
The data should now be available in your workspace.
Accessing GeoPackage data via QGIS
QGIS (version 2.10.1 or later)
A GeoPackage dataset
These instructions were created using QGIS version 3.22. Other versions of QGIS can be used, from version 2.10.1 onwards.
The GeoPackage layers should now be viewable in the layers list on the left-hand side of the workspace.
Accessing GeoPackage data via CadCorp
CadCorp SIS (version SIS 9 or later)
A GeoPackage dataset
These instructions were created using CadCorp SIS 9 Desktop Express; however all versions of CadCorp SIS 9 or later support GeoPackage.
The data should now appear on the map.
Reading GeoPackage data via FME
FME is a data integration platform which can read the GeoPackage format and be used to convert and transform the data into other formats or databases. The below example shows how to read a GeoPackage into an FME workbench.
FME Desktop
An FME license
A GeoPackage dataset
In the FME top ribbon, click the Add Reader button
A dialog box will appear.
An orange reader will appear which will display the name of the GeoPackage table that has been ‘read in’.
Temporal filtering allows you to order a one-off snapshot of data from the OS National Geographic Database (NGD) from a current or past date.
To create a new OS NGD data package and apply a temporal filter to it:
Instead of selecting the 'not required' or COU (Change-Only Update) frequency options (which are available under the 'Select updates' drop-down), to apply a temporal filter, you should select the option for a one-off snapshot of a current or past date by ticking the following check box:
You will receive an email confirming that your data package is being created and another one when your new data package is ready to download.
The process to load the COU files will depend on a number of factors based on your own environment and requirements, including:
Database software
Data loading method or software
Feature retention and lifecycle requirements
There are two main scenarios that represent either extreme of the feature lifecycle options:
Latest feature view
Full feature archive
In this scenario, the COU files are processed and only the current version of every feature is retained. This will result in the same data holdings that would be achieved if a new full supply was received on this date.
To achieve this, either post-processing will have to be done once all COU data is loaded into a database, or the loading process will need to evaluate the COU data against your existing data and process accordingly. This processing will be based on the supplied attributes which detail the type of change and the dates for that version.
Each feature type is supplied with a Change Type attribute (changetype
), which is populated from a code list value (changetypevalue
).
Below is a table of the possible change types and the resultant actions required to maintain a latest feature view of the data for the specific feature type. Individual features should be targeted based on that feature type's unique identifier. In the majority of feature types, this will be the osid
, but this is not always the case; therefore, please check the appropriate feature type documentation.
A single feature may be updated multiple times in a single COU file when multiple changes occur within the selected COU frequency. Instead of suppressing all changes other than the last edit, the COU will contain all of the edits which have been made to that feature.
To obtain the current 'live' view of a feature, the latest edit is required; all previous edits can be discounted. In essence, this requires the following two processes:
Discarding all feature records with the exception of the latest Version Available From Date (versionavailablefromdate
)
Discarding all feature records that have a Version Available To Date (versionavailabletodate
) populated, i.e. it is NOT NULL. These records will also have the Change Type Value (changetypevalue
) of 'End Of Life' or 'Moved To A Different Feature Type'.
In this scenario, every record is retained, giving a full lifecycle since the supply started of each feature. This will result in multiple records for each feature.
To enable this in a database, the default primary keys (as defined in the provided DDL scripts) will have to be changed to also include the version available from and to dates (versionavailablefromdate
, versionavailabletodate
).
Loading OS NGD CSV files into databases
It is recommended that you have a basic understanding of database terminology before following the guides in the tabs below. The guides contain generic instructions, and it is recognised that there are multiple ways to load CSV files into databases which may be more suitable to your environment and existing processes.
OS NGD API – Features Technical Specification provides an overview of the endpoints available, as well as the parameters that can be used with each endpoint. The Technical Specification is intended to be used by customers who want to integrate with the API. The service offers the following endpoints:
The OS NGD API – Features supports a generic filter grammar called Common Query Language (CQL) for specifying enhanced filter criteria to return a subset of features. CQL is written using a familiar text-based syntax, making it more readable and better-suited for creating complex filters.
The following table documents the supported operators:
The following table documents the OS NGD datasets available through the OS NGD API – Features showing the themes, collections and lists the available feature types.
OS NGD themes and collections have been created to group similar geographic entities and data types, making it quicker and easier to identify the data you need. The OGC API - Features standard also references feature collections, and in the context of OS NGD datasets, this is equivalent to feature types.
The following naming convention has been applied to the feature collections: theme-collection-featuretype-version
. Short codes have been used for both the theme and collection to keep the feature collection names manageable and not overly long. An example of the short codes used is below:
bld-fts-buildingline-1
Click on the theme to find out more information about the dataset:
You can:
Request specific features using location, attribute, and / or time queries.
Interrogate highly detailed feature information.
Freely discover what OS NGD data collections are available.
Explore the OS NGD data schemas and queryables.
Request data in GeoJSON format.
Visualise OS data and apply your own styling.
You can't:
Create a scalable map of Great Britain across zoom levels.
Request more than 100 features in a single transaction.
Access data from the:
OS NGD Address Theme
OS NGD Administrative and Statistical Units Theme
Waterbody Catchment and River Basin District Catchment Feature Types (of the OS NGD Water Features Collection in the OS NGD Water Theme)
The following sub-sections give step-by-step instructions on how to add attribute filters to a new recipe and provide worked examples of creating both simple and nested filters.
To add attribute filters to a new recipe:
The Advanced Filter Options panel will slide into view from the right, you can begin to build your filter(s):
For a simple filter, select +Add rule.
For a more complex nested filter, select +Add group.
Once you have added all of your relevant filters, click Apply Filter.
Click the Create recipe button.
In the following worked example of creating a simple filter, we will use the OS NGD Buildings Theme and select the Building Part Feature Type from the Building Features Collection. Our aim is to build a filter to select buildings where education is recorded as the land use.
The Advanced Filter Options panel will slide into view from the right, where you can begin to build your filter(s).
In the Advanced Filter Options panel, click + Add rule, then select OSLandUseTierA from the first drop-down.
Leave the operator in the second drop-down as: = (i.e. the equal sign), then select Education from the third drop-down.
Click Apply filter.
Click the Create recipe button
Your filter will return buildings where education (Education) is recorded as the land use (OS Land Use Tier A attribute).
What if, in addition to the simple filter above (returning results for buildings with a land use of education), we want those results to show only buildings over 15 metres in height? What if you also wanted to add an additional filter to show buildings with a land use of rail? To achieve this, you could create a nested filter using the + Add group option.
In this case, you should select And from the And / Or selector.
Next, click + Add group.
The application has drawn an extra box for you. Whatever rules are contained inside this box will be evaluated together, before combining with any rules outside the box.
Before continuing, select whether you would like the rule in the second group to have an And or an Or condition. In this case, you should select Or from the And / Or selector.
In the rule in the extra box, select OSLandUseTierA from the first drop-down, leave the operator as = (i.e. the equal sign) in the second drop-down, and select Transport: Rail from the third drop-down.
Click Apply filter.
Your filter will return results for buildings (Building Part) that have either an education (Education) land use if that building is over 15 metres high or a railway land use (Transport:Rail).
To check what filters have been applied to feature types in an existing recipe:
You are now within the Recipe details screen, where you can view detailed information about the recipe, including the recipe's name, the date it was created, etc. If filters have been applied to the recipe, a filter icon (i.e. a black funnel symbol) will appear under the recipe name alongside text stating: 'Filters have been applied to this recipe'.
Click View all filters to view all of the filters that have been applied to feature types in the recipe.
In the example recipe below, you can see that there is a filter icon (i.e. the black funnel symbol) against the Building Part Feature Type; therefore, this feature type has filters applied to it.
You can visualise sample data online through the new .
You can download sample data (in GeoPackage or CSV formats) from the .
A new is available that lets you visualise product sample data online for three areas (Exeter, Newport and Inverness).
Sample data are available to download from the for the following OS NGD collections:
Temporal filtering is an optional step when you create a new data package against one of your existing recipes. For further information and step-by-step instructions on creating recipes and data packages, please see the .
Change-Only Update (COU) files are only available for CSV data supplies of the OS NGD. Further information about COU data supplies can be found on the page.
Prior to loading the data into a database, it is necessary to create the relevant tables in the database. We have supplied the DDL statements that can be accessed in our .
These instructions are based on version 14, but should work for all supported versions. The instructions assume that you have set-up your database with the spatial extension.
Once connected to your PostgreSQL database, with the relevant schema and table created, the CSV file can be loaded with the following SQL statement using the :
There is a known bug affecting PostgreSQL versions 11, 12 and 13 in Windows environments, where the COPY
command cannot load files larger than 4GB. As a workaround, version 14 (or later) of the COPY
command can be used to load data into the affected database versions.
For reference, the error message states ERROR: could not stat file.
These instructions are based on 2019, but should work for all supported versions.
Once connected to your SQL Server database, with the relevant schema and table created, the CSV file can be loaded with the following SQL statement using the :
However, it is possible to change the destination geometry
column to a nvarchar(max)
type, and then either post process the table or use a a computed column to generate a geometry type column (see code examples below).
It is not possible to load OS NGD CSV files into an Oracle database using the default SQL*Loader utility. The geometries are supplied in Well-Known Text (WKT) format and some of them are too large for SQL*Loader to process.
Find out more about the hierarchy of OS NGD data from the page.
If you are interested in addressing information, provides a detailed view of an address and its lifecycle, giving you direct access to rich address data for geocoding, postcode searching, form-filling and much more.
With OS NGD API – Features, you can filter by attribute, location and / or time to create your own customised data selections. Based on the latest standard, this API can help accelerate your time-to-value by making it easier to build awesome things with our trusted geospatial data. You can use it to reduce your data management overheads, automate your workflows, and innovate at pace.
Provides online access to detailed OS NGD data, including buildings, transport and land.
OS NGD API – Features gives you direct, online access to the OS NGD and schemas using the latest OGC API – Features standard.
Access detailed geometries and rich attribution through OS NGD API – Features for only the data you need using spatial, attribute and/or time queries
Eliminates the need to download, store and maintain large datasets.
Benefit from current, detailed and accurate data to help you generate new location-based insight converting NGD data into meaningful and actionable information.
Reduce workload by offering direct access to the required data.
Provides detailed feature attribution for better and more informed analysis.
Format: Vector (Lines, Points, Polygons)
Data Source: See for further information
Coverage: Great Britain
Update: See for further information
OS Data Hub plan: Premium Plan, Public Sector Plan
If you are interested in addressing information, provides a detailed view of an address and its lifecycle, giving you direct access to rich address data for geocoding, postcode searching, form-filling and much more.
Attribute filtering is a new concept which we have introduced as part of OS Select+Build. The filters can help you to narrow down the exact data you need from the OS National Geographic Database (NGD). If required, you can add attribute filters to individual feature types when you create a new bespoke recipe of OS NGD data using OS Select+Build. (The has step-by-step instructions on how to create a new recipe.)
See the for more information on creating recipes.
However, with the relevant schema and table created in your Oracle database, the CSV file can be loaded using ETL (extract, transform, load) tools, for example, or .
New
Insert as a new feature
Moved From A Different Feature Type
Insert as a new feature
End Of Life
Delete existing feature based on unique identifier
Moved To A Different Feature Type
Delete existing feature based on unique identifier
Modified Attributes
Update the record (see section below)
Modified Geometry
Update the record (see section below)
Modified Geometry And Attributes
Update the record (see section below)
Comparison
EQUAL TO [ = ]
, LESS THAN [ < ]
, LESS THAN OR EQUAL TO [ <= ]
, GREATER THAN [ > ]
, GREATER THAN OR EQUAL TO [ >= ]
, ISNULL
, LIKE
, IN
, BETWEEN
Logical
AND
, OR
, NOT [ <> ]
Array
AEQUALS
, ACONTAINS
, ACONTAINEDBY
, AOVERLAPS
Spatial
INTERSECTS
The following sub-sections provide step-by-step instructions on how to access OS NGD data via OS NGD API – Features in various GIS software packages:
The following sub-sections provide step-by-step instructions on how to access OS NGD data via OS NGD API – Features in various web mapping libraries:
Accessing OS NGD data with OS NGD API – Features via Cadcorp SIS
The Cadcorp Spatial Information System® (Cadcorp SIS®) is an integrated family of geospatial products comprising desktop, web, and developer applications.
Cadcorp SIS Desktop connects directly to the OS Data Hub through dedicated wizards.
Cadcorp SIS (version SIS 9 or later).
In the Overlay Types dialog:
Select Ordnance Survey (GB) > OS (GB) Data Hub, and then click Next.
In the OS (GB) Data Hub dialog:
Select OS National Geographic Database (NGD) API – Features.
API Key: Enter your API key.
Premium/Public Sector Plan: Select this option if you have this plan.
Save in the UI settings database (encrypted): Select this option.
Click Next.
In the OS Data Hub NGD API – Features Data Themes and Feature Types dialog:
Well-known ‘recipe’: Select a predefined recipe, if available.
Data Themes: Select your data themes.
Features: If necessary, use the editing tools (on the right) to delete feature types or to change the order in which they display in your SIS Workspace Definition (SWD). By default, all feature types within the selected data themes are available in the right panel.
Local cache: Select this option to store the data temporarily on your machine. If you save and reopen the SWD, the data will still be available as it is fetched from your local cache.
One-off import: Select this option to do a one-off import of the data. If you save and reopen the SWD, the data will not be available and you will need to re-import it. These imports have a larger file size.
Filtering: These settings are used in conjunction and define how much data is required for display. It is recommended that you always set a spatial filter and feature limit.
Spatial: The Intersect with current view extent option limits the download to only selected features within the current window extent. You can also load features within a specific area of interest using the polygon feature to draw your area of interest on the map BEFORE opening the Add Overlay dialog.
Maximum number of features: Limits the number of feature values downloaded to the number set. This limit is applied per feature within any filtered spatial area.
Click Finish.
The selected layer(s) will then display in the SIS Workspace Definition (SWD) and the data will display in the map area:
Accessing OS NGD data with OS NGD API – Features via ESRI ArcGIS Online
ArcGIS Online is a web-based platform geographic information system (GIS). ArcGIS Online services are managed by Esri and accessed by a client running on a wide range of options.
The instructions that follow demonstrate how to connect to OS NGD API – Features using ESRI ArcGIS Online.
Access to the ESRI ArcGIS Online service.
In the Add Layer dialog:
URL: Enter the base URL for OS NGD API – Features, excluding the API Key. For example, https://api.os.uk/features/ngd/ofa/v1.
Type: Select OGC feature layer.
Select Custom request parameters and enter the following:
Parameter: key
Value: [Insert your OS API Key here]
Click Next.
In the Add Layer dialog:
To add a layer to the map: Select a layer to add to the map and then click Add to map.
The layer will then display in the Layers panel and the data will display on the map:
Features will automatically refresh when you zoom or pan on the map. If you wish to add multiple layers to the same map, repeat steps 2 and 3.
Accessing OS NGD data with OS NGD API – Features via ESRI ArcGIS Pro
ESRI ArcGIS Pro is a desktop geographic information system (GIS) application that allows users to maintain, visualise and analyse spatial data.
The instructions that follow demonstrate how to connect to OS NGD API – Features using ESRI ArcGIS Pro.
ESRI ArcGIS Pro (version 3.4.0 or later).
In the Add OGC API Server Connection dialog:
Server URL: Enter the URL for OS NGD API – Features, excluding the API Key. For example, https://api.os.uk/features/ngd/ofa/v1.
Select Custom request parameters and enter the following:
Parameter: key
Value: [Insert your OS API Key here]
Click OK.
You can explore the available layers in OS NGD API – Features by using the ArcGIS Pro Catalog panel.
In the Catalog panel:
To add a layer to the map: Right-click on a layer and select Add to Current Map.
In the pop-up Add OGC API Layer(s) dialog:
Set the maximum features returned: Set the maximum number of features to be displayed (we suggest 1000).
To specify the extent:
Select the Use Spatial Extent checkbox.
Get extent from: Select Current visible extent.
Click OK to load the features onto the map.
The layer will then display in the Contents panel and the data will display on the map:
Features will not automatically refresh when you zoom or pan on the map. This is purposely designed to protect the API from unnecessary spikes in usage.
If the extent of the screen changes and you need to update the features displayed, right-click on the layer in the Contents panel, then select the OGC Features property for the layer, re-click Current visible extent, and click Apply and OK. This will force ESRI ArcGIS Pro to send a new request to the API and load features based on the new extent.
Accessing OS NGD API – Features via MapLibre GL JS
A text editor like Visual Studio Code or Notepad to edit and save your HTML and JavaScript files.
To enable access to OS APIs an API Key is required. Inside the <script>
tag, add a variable called apiKey
, replacing 'INSERT_API_KEY_HERE'
with the API Key from your project.
Add a variable called collectionId
, replacing 'INSERT_COLLECTIONID_HERE'
with the collection ID for the desired OS NGD feature type and version (for example, bld-fts-buildingpart-1).
To add the OS Maps API, you will need to define the map style using MapLibre GL JS's format. This specifies the source of map tiles, which will be retrieved from OS Maps API in the 'Light' raster tiles style.
Initialise the map object using the maplibregl.Map
class to configure the basemap layer and define its properties – container
, minZoom
, maxZoom
, maxBounds
, style
, center
and zoom
.
Add navigation controls to the map, excluding the compass button and disabling map rotation.
The above code creates the main map instance using the MapLibre GL JS library where you can specify various properties:
container
: Defines where the map should be displayed. In this instance, it is set to the id
of the <div>
element.
minZoom
and maxZoom
: Sets the minimum and maximum zoom level for the map. Users will not be able to go beyond these levels.
maxBounds
: Defines the maximum bounds and restricts panning the map.
style
: Defines the style of the map, configured via a URL pointing at the style specified.
center
: Sets the initial centre point of the map.
zoom
: Sets the initial zoom level of the map.
Create an empty GeoJSON placeholder to hold the feature objects called by OS NGD API – Features.
Create a function called fetchFeatures
that fetches the API based on the current map extent (bounding box) by generating a bbox string.
Construct the API request URL to fetch OS NGD data from OS NGD API – Features. The URL includes the collectionId
, bbox
and apiKey
.
Once the features have been returned in JSON, update the source data of the map's layers to display the features.
Event listeners are triggered when the map loads and finishes moving (panning or zooming) to load and update features based on the map's updated extent. Inside the map.on('load',...)
event handler, we add styles for various types of features, including polygons, linestrings and points so that any collectionId
specified will render.
The map.on('moveend',...)
event handler will then fetch and update the features based on the map's current extent.
Features within the viewport extent will load initially (first 100 features) and will continue to load as you pan and zoom across the map.
Congratulations! You've successfully created a map using MapLibre GL JS and added an OS NGD layer using OS NGD API – Features in a few steps.
Accessing OS NGD data with OS NGD API – Features via QGIS
QGIS is an open GIS (Geospatial Information System) desktop application that allows you to display, interrogate, visualise and create geospatial information including from geo-centric APIs (for example, a WFS).
The instructions that follow demonstrate how to connect to OS NGD API – Features using QGIS.
QGIS (version 3.12.0 or later).
In the Data Source Manager | WFS / OGC API - Features dialog click New and in the New WFS Connection dialog:
Name: Provide a name for the connection. You can reuse this connection in the future.
URL: Copy the OS NGD API – Features endpoint address from the OS Data Hub and paste it into this field.
Your API Key is automatically appended to this URL in the key
parameter.
Authentication: Leave these settings at their defaults. You do not need a username or password as authentication is done through your API Key.
Version: Click Detect to identify the version.
Enable feature paging: Select this option, if necessary.
Page size: Enter a maximum page size.
This limits the page size to a maximum number of features. We recommend a setting of about 100
to speed up response times. Larger values may result in a very slow response time.
Other: Leave the other settings at their defaults.
Click OK.
Data Source Manager | WFS / OGC API - Features dialog:
Select your new connection in the dropdown, if necessary.
Click Connect.
When you click Connect, a list of layers available in OS NGD API – Features populates in the main box:
To add a layer to the map: Select the layer to highlight it. You can select multiple layers by using the Ctrl key.
Only request features overlapping the view extent: Select this option.
Click Add.
The layer will then display in the Layers panel and the data will display on the map:
You have a choice between using Ordnance Survey styles or creating your own. You can customise the content and style to create a professional-looking map that perfectly meets your needs, matches your branding, and pleases your customers.
OS NGD API – Tiles is available in two projections: British National Grid for Great Britain (GB) data and Web Mercator, a global coordinate system.
You can:
Use it as a basemap in GIS, web or mobile applications.
View the whole of Great Britain in unrivalled detail.
Seamlessly pan, zoom, pitch and tilt the map.
Overlay your own data on the basemap to give geographic context to your data.
Trace over OS NGD (Premium Data) detailed geometries.
Customise the map style and content to create the map you need.
Access maps in different projections: British National Grid and Web Mercator.
You can't:
Retrieve all the detailed attribution from OS NGD data.
Access data from the:
OS NGD Address Theme
OS NGD Routing and Asset Management Information (RAMI) Collection (of the OS NGD Transport Theme)
OS NGD API – Tiles Technical Specification provides an overview of the endpoints available, as well as the parameters that can be used with each endpoint. The Technical Specification is intended to be used by customers who want to integrate with the API. The service offers the following endpoints:
The following table details the OS NGD datasets that can be used as overlays to the basemap to add additional information:
The following attribution is available as part of OS NGD API – Tiles:
Accessing OS NGD API – Features via Leaflet
A text editor like Visual Studio Code or Notepad to edit and save your HTML and JavaScript files.
To enable access to OS APIs an API Key is required. Inside the <script>
tag, add a variable called apiKey
, replacing 'INSERT_API_KEY_HERE'
with the API Key from your project.
Add a variable called collectionID
, replacing 'INSERT_COLLECTIONID_HERE'
with the collection ID for the desired OS NGD feature type and version (for example, bld-fts-buildingpart-1).
Define the configuration options for the map, defining minZoom
, maxZoom
, center
, zoom
, maxBounds
, attributionControl
.
minZoom
and maxZoom
: Sets the minimum and maximum zoom level for the map. Users will not be able to go beyond these levels.
center
: Sets the initial centre point of the map.
zoom
: Sets the initial zoom level of the map.
maxBounds
: Defines the maximum bounds and restricts panning the map.
style
: Defines the style of the map, configured via a URL pointing at the style specified.
attributionControl
: When set to 'false', it hides the attribution control which displays map credits.
Initialize the map with the id
of the <div>
element and the configuration option defined in mapOptions
.
Using the 'L.tileLayer
' method, specify the basemap layer for OS Maps API, which includes your API Key to load the tiles to your map.
Create a function called fetchFeatures
that fetches the API based on the current map extent (bounding box) by generating a bbox string.
Construct the API request URL to fetch OS NGD data from OS NGD API – Features. The URL includes the collectionId
, bbox
and apiKey
.
Once the features have been returned in JSON, update the source data of the map's layers to display the features.
Congratulations! You've successfully created a map using Leaflet and added an OS NGD layer using OS NGD API – Features in a few steps.
A preloaded base map, for example, or .
OS NGD API – Features added to an API project in the OS Data Hub with an API Key. See for more information.
A preloaded base map, for example, .
OS NGD API – Features added to an API project in the OS Data Hub with an API Key. See for more information.
A preloaded base map, for example, or .
OS NGD API – Features added to an API project in the OS Data Hub with an API Key. See for more information.
is a free and powerful JavaScript library for displaying interactive maps on the web. It's based on Mapbox GL JS and provides a wide range of features for creating maps with custom styles, markers and interactivity.
OS Maps API and OS NGD API – Features added to an API project in the OS Data Hub with an API Key. See for more information.
Now you can continue to explore Ordnance Survey's to learn more about advanced features and functionality, such as adding markers, pop-ups, and additional layers.
A preloaded basemap, for example, or .
OS NGD API – Features added to an API project in the OS Data Hub with an API Key. See for more information.
As best practice, only load layers that relate to your current task – not all layers. The more features you call, the longer it takes to load them into QGIS. In addition, each feature, regardless of its layer, counts towards your .
OS NGD API – Tiles offers you a vector tile service powered by the OS NGD. It provides a detailed and customisable basemap that's based on the latest to help you create stunning and interactive web maps. It can be used with most web mapping libraries, including OpenLayers, MapLibre GL JS and Leaflet. The major benefit of vector tiles is that they are optimised for use across the internet and are therefore great for building interactive web maps that allow users to zoom, pan, rotate, tilt and more.
Provides lightweight, high-resolution vector tile base maps in different styles and projections for fast rendering in interactive applications.
Access to pre-defined, professional styling which can be customised to meet your own requirements and map designs.
Access build in and detailed overlays to add give additional geographic context.
Loads maps quicker than traditional raster-mapping services.
OS NGD API – Tiles is updated weekly ensuring you have access to the latest data as quickly as possible.
Customise your maps to perfectly meet your needs. You have a choice between using Ordnance Survey styles or creating your own.
Control every aspect of your map with the flexibility to create dynamic interaction with the map and individual features.
Format: Vector Tiles
Data Source: See for further information.
Coverage: Great Britain
Update: See for further information.
OS Data Hub plan: Premium Plan, Public Sector Plan
If you are interested in addressing information, provides a detailed view of an address and its lifecycle, giving you direct access to rich address data for geocoding, postcode searching, form-filling and much more.
This example will provide an introduction on how to use OS NGD API – Features to extract and plot OS NGD data! We’ll be using , a library that builds on Pandas to help manage and analyse spatial data.
OS NGD API – Features added to an API project in the OS Data Hub with an API Key. See for more information.
More examples in an executable notebook format are available through our .
The following table details the OS NGD datasets that were used to create the OS NGD API – Tiles basemap. The result is a detailed OS basemap that combines and OS NGD data.
Find out more about the hierarchy of OS NGD data .
If you are interested in addressing information, provides a detailed view of an address and its lifecycle, giving you direct access to rich address data for geocoding, postcode searching, form-filling and much more.
The inclusion of unique identifiers (IDs), where available, allows you to cross-reference with the full product, for example, with . Find out more about OS NGD .
Although OS NGD API – Tiles will be updated weekly, the data updates are based on the set (for example, the OS NGD Structure Features Collection currency is daily, whereas the OS NGD Water Network Collection currency is monthly).
is an open-source JavaScript library for displaying interactive maps on the web or mobile. A simple and lightweight library that will enable you to display and visualise location data and build dynamic applications.
OS Maps API and OS NGD API – Features added to an API project in the OS Data Hub with an API Key. See for more information.
Now you can continue to explore Ordnance Survey's to learn more about advanced features and functionality, such as adding markers, pop-ups, and additional layers.
Boundary High Water Mark, Ceremonial County, Country, Devolved Parliament Constituency, Devolved Parliament Electoral Region, Electoral Division, GLA Assembly Constituency, Historic County, Historic European Region, Lower Tier Local Authority, Parish Or Community, Polling District, Region, Regional Authority, Upper Tier Local Authority, Ward, Westminster Constituency
asu-bdy
trn-ntwk-railway
wtr-ctch
ngd-base
All
osid, description, name1_text (only applicable to the Named Point, Site and Water Link Set layers), designatedname1_text (only applicable to the Road layer), versionavailablefromdate
asu-bdy
All
osid, description, name1_text (only applicable to the Country layer), name2_text,
pollingdistrictid (only applicable to the Polling District layer), versionavailablefromdate
trn-ntwk-railway
osid, description, railwayuse, operationalstatus, physicallevel, name1_text, versionavailablefromdate
osid, description, versionavailablefromdate
osid,
name1_text,
name2_text,
versionavailablefromdate
wtr-ctch
osid, riverbasindistrictname, versionavailablefromdate
osid, waterbodyname_text, waterbodycategory, versionavailablefromdate
ngd-base
Weekly
asu-bdy
Biannually
trn-ntwk-railway
Monthly
wtr-ctch
Updated as and when updates are received from the authoritative bodies
The following sub-sections provide step-by-step instructions on how to access OS NGD data via OS NGD API – Tiles in various GIS software packages:
The following sub-sections provide step-by-step instructions on how to access OS NGD data via OS NGD API – Tiles in various web mapping libraries:
Accessing OS NGD data with OS NGD API – Tiles via Cadcorp SIS
The Cadcorp Spatial Information System® (Cadcorp SIS®) is an integrated family of geospatial products comprising desktop, web, and developer applications.
Cadcorp SIS Desktop connects directly to the OS Data Hub through dedicated wizards.
Cadcorp SIS (version SIS 9.1 or later).
In the Overlay Types dialog:
Select Ordnance Survey (GB) > OS (GB) Data Hub, and then click Next.
In the OS (GB) Data Hub dialog:
Select OS National Geographic Database (NGD) API – Tiles.
API Key: Enter your API key.
Premium/Public Sector Plan: Select this option if you have this plan.
Save in the UI settings database (encrypted): Select this option.
Click Next.
Accessing OS NGD data with OS NGD API – Tiles via QGIS
QGIS is an open GIS (Geospatial Information System) desktop application that allows you to display, interrogate, visualise and create geospatial information including from geo-centric APIs (for example, a Vector Tiles Service).
The instructions that follow demonstrate how to connect to OS NGD API – Tiles using QGIS.
QGIS (version 3.22.0 or later).
In the Data Source Manager | Vector Tile dialog:
Click New
Select New Generic Connection...
In the Data Source Manager | Vector Tile dialog:
Name: Provide a name for the connection.
Min. and Max. Zoom Levels: Set these as follows based on your preferred projection:
Web Mercator (EPSG: 3857): Min Zoom = 6; Max Zoom = 19
British National Grid (BNG: EPSG: 27700): Min Zoom = 0; Max Zoom = 15
Authentication: Leave these settings at their defaults.
Other: Leave all other settings at their defaults.
Click OK.
Please note: You will need to replace the /{tileMatrix}/{tileRow}/{tileCol} used in the default 'retrieve tile' URL with /{z}/{y}/{x} to be able to connect to OS NGD API – Tiles.
The following pages provide an overview of the OS National Geographic Database (NGD) APIs and how you can access them. They cover the core elements of the design (including data available), technical specifications, and how to get started, amongst other topics.
The APIs are self-documenting and allow you to easily discover what OS NGD data is available before using it. You can explore the various data collections for free to decide what best suits your needs. The data is ready to use in numerous applications (desktop, web, and mobile), enabling you to power your applications with rich, consistent and current information about the real world.
Using GDAL to load a GeoPackage into a database
GDAL version 1.11.0 or above (with access to a command line interface to use it)
A GeoPackage dataset
ogrinfo
<PATH_TO_GEOPACKAGE>
Without any arguments supplied, ogrinfo will return the layers contained within the GeoPackage.
-so
) and ‘List all features of all layers’ (-al
) arguments to view summary information about the layers within the GeoPackageogrinfo
<PATH_TO_GEOPACKAGE>
-so -al
Combined, these arguments will provide summary information about all the layers within the GeoPackage, including projection, schema, feature count and extents.
The arguments below will load all layers from the source GeoPackage into the specified target schema in the database:
ogr2ogr -f PostgreSQL "PG:user=
<USERNAME>
password=
<PASSWORD>
dbname=
<DATABASENAME>
host=
<HOST>
port=
<PORTNUMBER>
active_schema=
<TARGETSCHEMA>
"
<PATHTOGEOPACKAGE>
This will create twp tables in the example_schema
schema:
To help make getting started easier with OS Select+Build and the OS NGD APIs, we have created the following tutorial videos (available from our YouTube channel) to give you step-by-step guidance:
The OS Blog also has the following useful OS NGD data tutorial:
Find out how customers across numerous sectors are using and benefiting from OS NGD data:
Accessing OS NGD API – Features via OpenLayers
OpenLayers is easy to use and can be integrated with a variety of other web development frameworks.
A text editor like Visual Studio Code or Notepad to edit and save your HTML and JavaScript files.
To enable access to OS APIs an API Key is required. Inside the <script>
tag, add a variable called apiKey
, replacing 'INSERT_API_KEY_HERE'
with the API Key from your project.
Add a variable called collectionId
, replacing 'INSERT_COLLECTIONID_HERE'
with the collection ID for the desired OS NGD feature type and version (for example, bld-fts-buildingpart-1).
Create a source for the basemap layer using OS Maps API and initialise the ol.map
class with the applicable map properties – target
, layers
and view
. Add the following code inside the JavaScript block:
The above code creates the main map instance using the OpenLayers library where you can specify various properties:
target
: Defines where the map should be displayed. In this instance, it is set to the id
of the <div>
element.
layers
: An array containing the layers to be added to the map.
view
: Defines the initial view of the main, containing various settings such as projection, extent (the geographic bounds of the map), minimum and maximum zoom levels, centre of the map and the initial zoom level.
Define and initialise the source using the ol.source.Vector
class to make a request to OS NGD API – Features. By utilising the ol.loadingstrategy.bbox
this means that data from OS NGD API – Features will be loaded based on the visible map extent.
To create a separate layer to overlay OS NGD data onto the map, you will need to add the ngdFeatures
layers to the ol.map
object to render both layers on the map.
Features within the viewport extent will load initially (first 100 features) and will continue to load as you pan across the map.
Congratulations! You've successfully created a map using OpenLayers and added an OS NGD layer using OS NGD API – Features in a few steps.
As we release new enhancements into the OS NGD, we will update this page to provide you with a high-level summary of what's launched.
Highlights of the OS NGD data enhancements released to customers in March 2025:
Buildings
New Building Access Location Feature Type added to the Building Features Collection. Building Access Location features identify access points to key public buildings for vehicles and pedestrians, enhancing urban planning, emergency response, and accessibility.
New attribution provided for Buildings:
Roof Shape: Identifies the predominant geometric shape of a building's roof, aiding in visualisation and architectural analysis.
Roof Aspect: Provides information on the orientation of a roof, which is useful for solar energy planning and environmental studies.
Green Roof Presence: Indicates whether a building has a green roof, supporting sustainability and urban greening initiatives.
Solar Panel Presence: Shows if solar panels are installed on a building's roof, helping in renewable energy assessments and planning.
Roof Material: Details the type of predominant material used for a roof, which is important for construction, maintenance, and environmental impact studies.
Building Height: A comprehensive set of five attributes detailing the heights of various parts of a building, including both absolute and relative measurements. This enhancement supports urban planning and Emergency Services.
Geographical Names
Land Use
Structures
Transport
The OS NGD delivery roadmap (as of March 2025) can be seen in the following image; the roadmap details what was delivered in the March 2025 data enhancements release and what is planned for delivery in the upcoming September 2025 and March 2026 data enhancements releases:
The Building Feature Type is a building geometry which represents a single building footprint. This geometry consists of adjoining building parts which have been determined to be part of the same building. When contained in a Land Use Site, adjoining building parts are represented by a single feature.
The Building Feature Type was added to the OS NGD in September 2023 and it will be enhanced with additional attribution over time; these enhancements will be available through the release of new data schema versions for the feature type.
The following pages contain specific advice on how to make the most of the OS NGD Buildings data:
Accessing OS NGD API – Tiles via Leaflet
A text editor like Visual Studio Code or Notepad to edit and save your HTML and JavaScript files.
To enable access to OS APIs an API Key is required. Inside the <script>
tag, add a variable called apiKey
, replacing 'INSERT_API_KEY_HERE'
with the API Key from your project.
Inside the <script>
tag, add another variable called collectionId
with the collection ID for the OS NGD API – Tiles basemap – ngd-base
.
We need to intercept and customise the style request, adding a tiles property to provide a correctly formatted URL and ensure authentication through the apiKey
is enabled to make sure that the correct tiles are requested.
Add the following code inside the JavaScript block:
Initialize the map object using the L.Map
class to configure the vector tile layer and the mapOptions
variable to define its properties – minZoom
, maxZoom
, maxBounds
, center
and zoom
.
The above code creates the main map instance using the Leaflet library where you can specify various properties:
minZoom
and maxZoom
: Sets the minimum and maximum zoom level for the map. Users will not be able to go beyond these levels.
maxBounds
: Defines the maximum bounds and restricts panning the map.
center
: Sets the initial centre point of the map.
zoom
: Sets the initial zoom level of the map.
Congratulations! You've successfully created a vector map using Leaflet using OS NGD API – Tiles in a few steps.
Accessing OS NGD API – Tiles via MapLibre GL JS
A text editor like Visual Studio Code or Notepad to edit and save your HTML and JavaScript files.
To enable access to OS APIs an API Key is required. Inside the <script>
tag, add a variable called apiKey
, replacing 'INSERT_API_KEY_HERE'
with the API Key from your project.
Inside the <script>
tag, add another variable called collectionId
with the collection ID for the OS NGD API – Tiles basemap – ngd-base
.
We need to intercept and customise the style request, adding a tiles
property to provide a correctly formatted URL and ensuring authentication through the apiKey
is enabled to make sure that the correct tiles are requested.
Add the following code inside the JavaScript block:
Initialise the map object using the maplibregl.Map
class to configure the vector tile layer and define its properties – container
, minZoom
, maxZoom
, maxBounds
, style
, center
and zoom
.
Add navigation controls to the map, excluding the compass button and disabling map rotation.
The above code creates the main map instance using the MapLibre GL JS library where you can specify various properties:
container
: Defines where the map should be displayed. In this instance, it is set to the ID
of the <div>
element.
minZoom
and maxZoom
: Sets the minimum and maximum zoom level for the map. Users will not be able to go beyond these levels.
maxBounds
: Defines the maximum bounds and restricts panning the map.
style
: Defines the style of the map, configured via a URL pointing at the default style for the 'collectionId
' defined.
center
: Sets the initial centre point of the map.
zoom
: Sets the initial zoom level of the map.
Congratulations! You've successfully created a vector map using MapLibre GL JS using OS NGD API – Tiles in a few steps.
Accessing OS NGD API – Tiles via OpenLayers
OpenLayers is easy to use and can be integrated with a variety of other web development frameworks.
A text editor like Visual Studio Code or Notepad to edit and save your HTML and JavaScript files.
To enable access to OS APIs an API Key is required. Inside the <script>
tag, add a variable called apiKey
, replacing 'INSERT_API_KEY_HERE'
with the API Key from your project.
Inside the <script>
tag, add another variable called collectionId
with the collection ID for the OS NGD API – Tiles basemap – ngd-base
.
To correctly render the vector tiles within OpenLayers, you will need to fetch
the defined EPSG:3857 Tile Matrix Set and style definitions from the OS NGD API – Tiles service. The two endpoints provide information about the structure of the vector tiles and how the styles are to be applied.
A promise.all
is used to process the data to ensure that both requests are completed before proceeding.
Based on the fetched Tile Matrix Set data, a tile grid is defined using the ol.tilegrid.TileGrid class. The tile grid provides information about the resolution, origin and tile sizes to handle the vector tiles correctly.
Add the following code inside the JavaScript block:
Define the a new vector tiles layer and source that will be used to fetch vector tiles from OS NGD API – Tiles. The ol.layer.VectorTile
uses a ol.source.OGCVectorTile
source to retrieve tiles from the API.
After creating the vector layer, you will need to use a style function to ensure that the Ordnance Survey styles are applied to each tile. Use the olms.applyStyle
function to retrieve the style sheets available for the basemap.
Initialize the map object using the ol.map
class to configure the vector tile layer and define its properties – target
, layers
and view
.
The above code creates the main map instance using the OpenLayers library where you can specify various properties:
target
: Defines where the map should be displayed. In this instance it is set to the ID
of the <div>
element.
layers
: An array containing the layers to be added to the map.
view
: Defines the initial view of the main, containing various settings such as projection, extent (the geographic bounds of the map), minimum and maximum zoom levels, centre of the map and the initial zoom level.
Congratulations! You've successfully created a vector map using OpenLayers using OS NGD API – Tiles in a few steps.
A new building geometry which represents a single building footprint. This geometry consists of adjoining building parts which have been determined to be part of the same building. When contained in a Land Use Site, adjoining building parts are represented by a single feature.
Separate, non-adjoining building parts within a Land Use Site are also represented as Building features.
For the initial capture of Basement Presence attributes, OS has used data captured and supplied by Verisk. This data will be maintained by data updates from Verisk and supplemented by OS Surveyed data.
Values for this attribute are: Present, Not Present, Unknown, Null. As only buildings that contain at least one address are within scope, Null is used for buildings that are out of scope, such as garages or sheds.
Sourced from OS Address attribution.
Values for this attribute are: Present, Not Present, Unknown, Null. As only buildings that contain at least one address are within scope, Null is used for buildings that are out of scope, such as garages or sheds.
The initial data is captured by field surveyors who recorded approximately 88 000 access locations. Ongoing data capture will be conducted by OS field surveyors.
For the initial capture of Building Age Period, OS has used data captured and supplied by Verisk. This data will be maintained by data updates from Verisk and supplemented by OS Surveyed data.
The Building Age Period ranges vary for earlier periods and move to consistent decadal ranges from 1980 onward. Earlier than 1919, it difficult to identify commercial buildings, so there is a catch-all range of pre-1919, as well as more defined ranges going back to 1837 covering only residential buildings.
The Building Age Period can be Unknown where OS does not know the building age and Null if the building is out of scope, that is, the building does not have at least one address (for example, domestic outbuildings such as sheds and separate garages).
For the initial capture of Building Age Year, OS has used data captured and supplied by Verisk. This data will be maintained by data updates from Verisk and supplemented by OS Surveyed data.
If a Building Part has an address and a Building Age, and is part of a larger Building feature with other Building Parts that do not have an address, the resulting Building feature will inherit the Building Age Period of the single addressed part of the Building. This can create anomalies in the data. Where a Building has multiple Building Ages from different Building Parts, the oldest date is used.
The Building Age Year can be Unknown where OS does not know the building age and Null if the building is out of scope, that is, the building does not have at least one address (for example, domestic outbuildings such as sheds and separate garages).
Building height data is created using a combination of manual and automated methods. High-confidence height values are manually measured, while other values are derived using Ordnance Survey's height algorithm; the algorithm processes the height data and assigns confidence levels (such as High, Moderate, Low, Incomplete, or Not Assessed) based on the accuracy and completeness of the data.
For the initial capture of Construction Material, OS has used data captured and supplied by Verisk and OS. OS data identifies static caravans and mobile homes. This data will be maintained by data updates from Verisk and supplemented by OS Surveyed data.
Where multiple Building Parts make up a single Building, the Construction Material will be derived from the Building Part with the largest area.
The Construction Material can be Unknown where OS does not know the material and Null if the building is out of scope, that is, the building does not have at least one address (for example, domestic outbuildings such as sheds and separate garages).
Created using OS Address and OS Land Use Sites data.
There are three data sources for the Number of Floors data:
Ordnance Survey observed data (Field / Remote Survey, Verified Customer Feedback data, or targeted desk-based data improvement). This is the highest quality data.
Energy Performance Certificate (EPC) data (only provided for England and Wales for now, due to perceived data quality at the time of ingestion for Scotland).
Ordnance Survey modelled data (machine learning model trained on truth data and which utilises building heights and topographic data to predict the number of floors).
The following information defines the third party provenance attribute values and how they are created.
Verisk data is sourced from multiple third party data sources and / or created using algorithms. The Verisk data provenance can be identified using the following attributes:
This additional attribution will help users determine the value and suitability of this data to meet specific use cases.
This is not a named third party provenance value; however, the process used to create Building Age Period, Construction Material, and Basement Presence data is partly dependent on the process used to create Verisk UKBuildings data.
Much of the data supplied by Verisk is based on initial capture and classification of building characteristics from vertical and oblique aerial imagery. Trained observers outlined defined areas, encompassing buildings with similar age, use and physical characteristics, using a detailed residential and non-residential classification. This classification provides the basis for many of the age values, and, with age being a key determinant of Basement Presence and Construction Materials, this is a key foundation of this data.
Within the Verisk UKBuildings data, Construction Material was observed for non-residential buildings (in urban areas) and was modelled based on Verisk premise age and type for residential buildings. So, for example, all low Victorian Terrace buildings would have brick walls and slate roof materials. Modern detached houses would have brick walls and tile roof materials.
Address Analysis is an umbrella term describing construction dates derived from investigation of historic address data and modern Postal Address data (post-1996).
Changes in modern Postal Addresses data used to infer when buildings were built. For example, if an address first appears in 2008, it could be assumed that the building relating to that address was built in that year.
Historic address data from Historic Maps and Census data, can indicate that a specific building existed when the data was collected (assuming the building hasn’t been demolished and rebuilt with the same name). For example, if a building called 'The Old Mill' is present on a historic map from 1895 and present in modern address data, it can be assumed that the building Construction Date is earlier than 1895.
Age bands given in EPCs relate to changes in building regulations impacting heating and energy efficiency, and are therefore do not necessarily align to the Building Age Period attribute values.
A building may have more than one EPC or may be given more than one age in a single EPC, which can sometimes lead to inconsistencies. For example, it is common to find buildings in a single housing estate that may not be assigned the same single Building Age.
EPC is the primary source of data for this attribute and is extracted from the Walls Description field. This is often the internal walls, which can lead to a difference in what values are represented across the data. This will be a mix of internal / structural and external construction material.
The Floor Level characteristic of Domestic EPCs, provides confirmation that an address is at basement level, for single storey flats or maisonettes.
Open data sources that can contain multiple references to age, which can lead to challenges when deciding which age to extract.
The sale prices of properties in England and Wales submitted to HMLR for registration.
Verisk have used advanced analytics and data modelling to derive building information where no definitive or observed data can be identified.
Some building characteristics used in this process include:
Known age characteristics of nearby buildings.
Building size, shape, orientation, and distance from road. For example, modern buildings are smaller and parallel to roads.
Address and postcode characteristics.
Local area statistics, such as Census.
Age and other characteristics of the building – uses the concept of architypes to describe standard characteristics of properties of similar age and residential type. Such architypes provide default construction characteristics if other information is not available.
Known characteristics of nearby buildings. For example, buildings along a terrace are likely to have the same construction material.
Local area statistics (ONS).
Age and other characteristics of the building – basements are most commonly found in older buildings, and modern high-rise buildings.
Known characteristics of nearby buildings. For example, if a building along a terrace or road has a basement, it is possible that other buildings on the same terrace or road will also have a basement.
Building size, shape, orientation, distance from road and slope.
Local area statistics (ONS).
HM Land Registry.
Analysis of Local Authority planning and building control data to identify buildings with a basement. Basements were also identified from planning applications.
Valuation Office Agency (Fair Rent Register)
Non-Domestic EPC (England and Wales & Scotland)
Cabinet Office (ePIMS)
Data derived from Verisk UKBuildings data and this manual observation process.
Imagery is captured and processed using a supervised ML model and an Automated Feature Extraction (AFE) algorithm to create a polygonised vector dataset of roof segments, which is then aggregated and transformed into summary attributes, including Primary Roof Material, Solar Panel Presence, and Green Roof Presence.
The data for roof shape and aspect is derived using automated methods that involve Ordnance Survey's topographic data, imagery, and height models. An Automated Feature Extraction (AFE) algorithm delineates the roof faces and smooths their delineation using the Digital Surface Model (DSM). The DSM is overlaid to derive pitch and orientation values for each roof face. The roof faces are then aggregated at the building level, transforming the spatial dataset into summary statistics.
Two open data Valuation Office datasets (Fair Rent Register and 2018 Non-domestic rating data) were used to identify buildings with basements.
Indicates if a basement is present in the building. Basement presence is recorded for addressable buildings. It may be recorded for some non-addressable buildings, but the majority of these will have their basement presence recorded as NULL.
Indicates if the basement contains a self-contained flat.
The locations identified by OS where vehicles, pedestrians or both can enter and / or leave a building. The current scope is only key public buildings within a subset of Land Use Sites as follows:
Hospitals
Stadiums and Sports Arenas – typically those with a capacity greater than 5 000 people.
Shopping Centres – typically those with greater than 50 retail units.
Railway Stations
Major Transport Interchanges – typically airports, international ferry terminals, vehicular ferry terminals with a Land Use Site area greater than 1 000m², and bus / coach stations with a Land Use Site area greater than 5 000m².
Conference Centres – typically those sites whose primary function is to host formal discussions / meetings and exhibitions, and with a capacity greater than 500 people.
Concert Venues – typically those with a capacity greater than 1 000 people.
The period (that is, a range of years) in which the building was constructed. Construction period is recorded for addressable buildings. It may be recorded for some non-addressable buildings, but the majority of these will have their construction period recorded as NULL.
The year in which the building was constructed. This is recorded for buildings constructed post-1999 and where available.
Height attribution for the Building Feature Type. It provides a set of five attributes detailing the heights of various parts of a building, including both absolute and relative measurements.
The primary material from which the building is constructed. Construction material is recorded for addressable buildings. It may be recorded for some non-addressable buildings, but the majority of these will have construction material recorded as NULL.
A single descriptive value intended for a quick understanding of what the feature represents.
Indicates if the roof of the building is at least partially covered with vegetation. This is usually specifically installed on a growing medium with a waterproof membrane, for environmental reasons. This does not imply that the entire roof is covered with green roof; rather, it signifies that green roof segments are present on specific sections of the roof.
The maximum number of occupiable floors at or above ground level within a residential or office building. Integer output (1–99).
A set of attributes that describes the key elements on the alignment(s) of a building roof. It represents an indication of the general shape characteristic of the roof, shown as eight directional attributes in metres squared.
The primary roof material present on the building.
A simple description of the predominant form of the roof. In the data, a flat roof is considered to have a pitch of less than 15 degrees to horizontal, and a pitched roof is greater than 15 degrees.
An indicator of whether solar panels are present on the roof of a building. This does not imply that the entire roof is covered with solar panels; rather, it signifies that solar panels are installed on specific sections of the roof.
The provenance of the Building Age, Construction Material and Basement Presence provided by third party data providers. For example, the name of an organisation and / or the specific dataset provided by that organisation or the data process used to create the data.
Technical articles covering a variety of topics to provide more in-depth examinations of using OS NGD data via OS Select+Build and the OS NGD APIs.
Use our custom stylesheets to easily visualise your chosen OS Select+Build dataset(s). Pick from one of two styles – contextual or analytical – available in QGIS, ArcMap, and SLD format.
OS NGD API – Tiles added to an API project in the OS Data Hub with an API Key. See for more information.
The following pages provide an overview of how to get started using the OS NGD API – Tiles. They cover the core elements to get started in the most common and .
These pages should be used in conjunction with the more detailed pages within the and .
OS NGD API – Tiles added to an API project in the OS Data Hub with an API Key. See for more information.
URL: Input the request URL for the OS NGD API – Tiles collection.
Style URL: Input the request URL for the OS NGD API – Tiles collection.
{INSERT_YOUR_API_KEY}
{INSERT_YOUR_API_KEY}
To learn more about the available collections in OS NGD API – Tiles, you can view what data is available .
These pages should be used in conjunction with the more detailed pages within the which are specifically focussed on the different OS NGD themes, collections and feature types.
The OS NGD APIs are available via the .
The following pages provide an overview of how to get started using OS NGD API – Features. They provide step-by-step instructions to get started in the most common and .
These pages should be read in conjunction with the more detailed pages within the section and the API's .
is a translator library for raster and vector geospatial data formats that is released under an X/MIT style Open Source by the . It comes with a variety of useful command line utilities for data translation and processing. The following section covers the loading of GeoPackage datasets into a database using the ETL tool GDAL. The process will be similar for other databases such as Oracle and SQL Server, as well as converting to other data formats.
A database with extension enabled
Different loading options (including renaming tables, reprojecting the data, etc.) can be found on the page.
If you are a PSGA Member or OS Partner and you'd like to know more about how to get the most out of the OS NGD, head to the or the and watch the recordings of our recent webinars, including 'An introduction to the OS NGD' and 'Maximising the benefits of ordering OS NGD data using OS Select+Build'. New webinars are added to both areas periodically.
Numerous are available on our (a self-serve platform that provides a one-stop shop for all your OS technical geospatial support, including demonstrators, tutorials and case studies). They introduce the OS NGD data themes, collections and feature types and show you what can be achieved using OS NGD data and how. New tutorials are added to the More than Maps site periodically.
The same tutorials are available to PSGA (Public Sector Geospatial Agreement) Members and OS Partners from the and the , respectively (just search for 'Lightning Talks').
: Discover how can benefit a wide range of sectors, including sustainability and energy, insurance and property, and Emergency Services.
: Find out how new data on pedestrian and vehicular access points to key public buildings will help the Emergency Services to enhance their emergency planning and response times and improve their situational awareness.
: Discover how to use OS NGD Buildings features data to locate and map solar panels on roofs across Great Britain.
: Learn how OS and the ONS worked together to measure travel times and access to amenities.
: Learn how the OS NGD is supporting nature conservation in Greater Manchester and saving ecologists lots of time.
: Find out how new data for number of floors, sites, and bridge interactions will help the Emergency Services.
: Discover how OS NGD data can support better planning and future modelling for new housing developments.
: Discover how the British Army use OS NGD API – Features for battlefield training.
: Learn how to determine pavement widths in OS NGD data.
: Find out more about how the OS NGD speed datasets make it easier to analyse travel times, enhance routing analytics and provide accurate insight for safety and infrastructure policy decisions.
: Discover how the North Wales Cave Rescue Organisation has used OS NGD data to enable faster responses to underground incidents in North Wales.
: Learn how ONS are using OS NGD data to provide up-to-date estimates of the value that green and blue spaces add to house prices.
: Explore how using attributes from OS NGD data can help to identify homes which are hard to heat.
: Find out how North Yorkshire Fire & Rescue Service used OS Select+Build to reduce data analysis timeframes.
is a free and open-source JavaScript library for displaying interactive maps on the web. It is a powerful tool that can be used to create a wide variety of map-based applications, from simple web maps to complex GIS applications.
OS Maps API and OS NGD API – Features added to an API project in the OS Data Hub with an API Key. See for more information.
Now you can continue to explore Ordnance Survey's to learn more about advanced features and functionality, such as adding markers, pop-ups, and additional layers.
These buildings enhancements aim to improve visualisation, urban development planning, emergency response, and sustainability initiatives. More information on the March 2025 buildings enhancements is available from the in the 'Using OS NGD Data' section.
New added to the OS NGD Named Features Collection, which includes names submitted by expert third parties via the Vernacular Names Tool in the OS Data Hub. Where possible, the crowd sourced names are linked to other OS NGD features, allowing the use of both official and colloquial names together.
Three new types of site added to : Beach, Military Training Area, and Wind Farm. Over 2 600 new sites have been added to the dataset for this enhancement (1 927 beaches, 90 Military Training Areas and 604 Wind Farms). These are sites that may not be spatially coincident with existing topographic areas (i.e. they may not align with topographic features like field boundaries), unlike other types of site. Beaches will include Site Access Locations with attribution that highlights the nearest public Road Node and the direct distance to that node from the access point on the edge of the beach feature. Military Training Areas and Wind Farms will not include Site Access Locations.
An Access Purpose attribute has been added to features for key public sites to identify what the Site Access Location is being used for (Primary Public, Public, Private, or Emergency). The new data will enhance and support situational awareness for emergency responses, hazard planning, and policing operations at key public sites; the data will also support travel modelling and make it easier to assess accessibility to services for the public.
The addition of nine different types of tunnel to the . These were added to v2 of the schema on 28 March 2025 and v1 on 09 April 2025.
New added to the OS NGD Transport Features Collection to identify the location of pole-mounted street lights and provide a reference to the nearest Road Link or Path Link. This is the first consistent GB-wide dataset of street lights that is updated monthly and maintained to defined quality levels.
New attribution supplied against the and Feature Types to indicate how well-lit they are. The new data will support the identification of safe routes for active travel use cases .
New number of floors attribution added to features to identify the maximum number of occupiable floors at or above ground level within a residential or office building. Over 23.5 million office or residential buildings in Great Britain now have a number of floors value, and a total of nearly 47 million floors have been added to the OS NGD. Among other uses, the new attribution will provide emergency services with more information when responding to real-time incidents, such as a fire in a high-rise building, and will help support insurers to improve their risk profiling and underwriting.
Greater coverage for land use , particularly non-residential sites, with over 1.5 million Sites added to the OS NGD gradually over the last two years. This has brought the total number of Sites contained within the OS NGD to 26 million.
An additional 180 000 points have been added to the OS NGD. These features show where vehicles and / or pedestrians can access Sites and, among other uses, help the emergency services to identify the most efficient routes for reaching an incident.
Additional bridge interaction attribution added to features to identify the type of network (road, path, railway, canal, water or multiple) passing over and / or under bridges. Over 660 000 bridge interactions have been added to the OS NGD.
New attribution provided for :
More information on the buildings enhancements is available from the in the 'Using OS NGD Data' section.
More information on the land cover enhancements is available from the in the 'Using OS NGD Data' section.
New added to the Structure Features Collection to identify the location, nature and properties of a field boundary in rural and moorland areas.
More information on this enhancement is available from the in the 'Using OS NGD Data' section.
New added to the Transport Network Collection to locate where trams are present against the OS road network.
Tram track attribution added indicating the presence of tram tracks on a road. Supplied as new attribution against features.
More information on these enhancements is available from the in the 'Using OS NGD Data' section.
New added to the OS NGD Named Features Collection, which provides enhanced names and the numbers of junctions. Includes both intersects without an official name or number and officially named or numbered junctions.
New added to the OS NGD Building Features Collection.
New added to the OS NGD Transport Network Collection, giving information on the presence of pavements on the Road Network. More information on this enhancement is available from the in the Using OS NGD Data section.
New attribution added to the , giving details about pavement presence: left or right side of road, coverage, and minimum and average width. More information on this enhancement is available from the in the 'Using OS NGD Data' section.
Launch of the new vector tiles API: .
Option to select which data schema version you want to access for certain address feature types (see the and the for more information).
Ability to select a preference for the coordinate reference system you receive your OS NGD data in (see the and for more details).
New ability to share your created recipes with other organisations so that they can use exactly the same selections as you (see the for more details).
New attributes added to existing address feature types and improvements made for addressing floor-level information as part of the release of data schema version 2.0 (see the for more information).
New added to the OS NGD RAMI Collection, giving full Great Britain coverage for speed data.
Improved completeness of the Road Width attribute in the , which extends coverage for road width data from just urban areas to urban areas, rural areas and mountain and moorland areas.
In the future, we plan to deliver over 15 data enhancements to the OS NGD. As we design and develop these data enhancements, more details will be added to the .
is an open-source JavaScript library for displaying interactive maps on the web or mobile. A simple and lightweight library that will enable you to display and visualise location data and build dynamic applications.
OS NGD API – Tiles added to an API project in the OS Data Hub with an API Key. See for more information.
Now you can continue to explore Ordnance Survey's to learn more about advanced features and functionality, such as adding markers, pop-ups, and additional layers.
is a free and powerful JavaScript library for displaying interactive maps on the web. It's based on Mapbox GL JS and provides a wide range of features for creating maps with custom styles, markers and interactivity.
OS NGD API – Tiles added to an API project in the OS Data Hub with an API Key. See for more information.
Now you can continue to explore Ordnance Survey's to learn more about advanced features and functionality, such as adding markers, pop-ups, and additional layers.
is a free and open-source JavaScript library for displaying interactive maps on the web. It is a powerful tool that can be used to create a wide variety of map-based applications, from simple web maps to complex GIS applications.
OS NGD API – Tiles added to an API project in the OS Data Hub with an API Key. See for more information.
Now you can continue to explore Ordnance Survey's to learn more about advanced features and functionality, such as adding markers, pop-ups, and additional layers.
The content on this page supplements that provided on the .
The primary material can be the internal or structural material, or the externally visible material and the can help determine this. Typically, data sourced from EPC will show the internal or structural value.
The content on this page supplements that provided on the .
A useful is available on our (a self-serve platform that provides a one-stop shop for all your OS technical geospatial support, including tutorials, demonstrators and case studies).
General FAQs and answers for OS APIs are available on the and , for example, 'What's a Project?', 'What throttling is applied to the APIs?'
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
2.0 onward
Coverage
Great Britain
All Buildings in scope
Geometry
Not applicable (Building attribution)
Attribution
Basement presence
Presence of self-contained basement flat
Third party provenance
Data Sources
Verisk and Ordnance Survey
Data Updates
Updates from Verisk are assessed within 10 days and, subject to validation, will be updated into the OS NGD within three months. Updates from OS are subject to the standard revision policy. When available, updates are processed up to daily.
Supply Type
Full supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building Access Location
Version
1.0 onward
Coverage
Key public buildings in Great Britain
Geometry
Point
Data Sources
Data captured by OS field surveyors.
Completeness
Access Locations will be collected for key public buildings within a subset of Land Use Sites:
Hospitals
Stadiums and Sports Arenas – Typically those with a capacity greater than 5 000 people
Shopping Centres – Typically those with greater than 50 retail units
Railway Stations
Major Transport Interchanges – Typically airports, international ferry terminals, vehicular ferry terminals with a Land Use Site area greater than 1 000m² and bus / coach stations with a Land Use Site area greater than 5 000m²
Conference Centres – Typically sites whose primary function is to host formal discussions/meetings and exhibitions and with a capacity greater than 500 people
Concert Venues – Typically those with a capacity greater than 1 000 people
Thematic Accuracy
The classification of Access Locations is based upon ground survey collection of externally identifiable access locations.
Currency / Data Updates
Access Locations will be updated into the OS NGD where changes occur to topographic features following the standard revision policy for such features.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
2.0 onward
Coverage
Great Britain
Buildings with at least one address
Geometry
Not applicable (Building attribution)
Attribution
Period of construction
Year of construction, where available
Third party provenance
Data Sources
Verisk and Ordnance Survey
Data Updates
Updates from Verisk are assessed within 10 days and, subject to validation, will be updated into the OS NGD within three months. Updates from OS are subject to the standard revision policy. When available, updates are processed up to daily.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
2.0 onward
Coverage
Great Britain
Buildings with at least one address
Geometry
Not applicable (Building attribution)
Attribution
Construction material
Third party provenance
Data Sources
Verisk and Ordnance Survey
Data Updates
Updates from Verisk are assessed within 10 days and, subject to validation, will be updated into the OS NGD within three months. Updates from OS are subject to the standard revision policy. When available, updates are processed up to daily.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
2.0 onward
Coverage
Great Britain
Buildings with at least one address
Geometry
Not applicable (Building attribution)
Attribution
Building description
Data Sources
Ordnance Survey
Data Updates
Updates from OS are subject to the standard revision policy. When available, updates are processed up to daily.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
4.0 onward
Coverage
Great Britain
Geometry
Not applicable – attributed to Compound Building
Scope
All buildings >4m²
Data Sources
Data extraction by automated methods using OS topographic data, imagery and height data.
Completeness
All buildings in OS topographic data, subject to the availability of imagery and height models.
Thematic Accuracy
The source data is automatically processed. Low confidence outcomes and buildings not visible on imagery will be included.
Currency / Data Updates
Supplier’s three-yearly cyclic revision programme or where changes occur to topographic features following the standard revision policy for such features. These updates will be processed at least monthly.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
3.0 onward
Coverage
Residential and office buildings in Great Britain. For residential buildings, they must contain one or more residential address and be the main building in an OS Land Use Site. For office buildings, they must contain 50% or more office addresses.
Geometry
Not applicable (Building attribution)
Data Sources
Ordnance Survey observed and modelled data. When modelled from the OS algorithm, updated on an annual basis.
Data Updates
When OS height and imagery data is available for a building. When a building is surveyed by OS field capture. When indicated by EPC records, updates will be fed into the OS NGD within one month of publication. When modelled from the OS algorithm, updated into the OS NGD on an annual basis.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
4.0 onward
Coverage
Great Britain
Geometry
Not applicable – attributed to Compound Building
Scope
All buildings >4m²
Data Sources
Data extraction by automated methods using OS topographic data, imagery and height data.
Completeness
All buildings in OS topographic data, subject to the availability of imagery and height models.
Thematic Accuracy
The source data is automatically processed. Low confidence outcomes and buildings not visible on imagery will be included.
Currency / Data Updates
Supplier’s three-yearly cyclic revision programme or where changes occur to topographic features following the standard revision policy for such features. These updates will be processed at least monthly.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
4.0 onward
Coverage
Great Britain
Geometry
Not applicable – attributed to Compound Building
Scope
All buildings >4m²
Data Sources
Data extraction by automated methods using OS topographic data, imagery and height data.
Completeness
All buildings in OS topographic data, subject to the availability of imagery and height models.
Thematic Accuracy
The source data is automatically processed. Low confidence outcomes and buildings not visible on imagery will be included.
Currency / Data Updates
Supplier’s three-yearly cyclic revision programme or where changes occur to topographic features following the standard revision policy for such features. These updates will be processed at least monthly.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
4.0 onward
Coverage
Great Britain
Geometry
Not applicable – attributed to Compound Building
Scope
All buildings >4m²
Data Sources
Data extraction by automated methods using OS topographic data, imagery and height data.
Completeness
All buildings in OS topographic data, subject to the availability of imagery and height models.
Thematic Accuracy
The source data is automatically processed. Low confidence outcomes and buildings not visible on imagery will be included.
Currency / Data Updates
Supplier’s three-yearly cyclic revision programme or where changes occur to topographic features following the standard revision policy for such features. These updates will be processed at least monthly.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
Theme
OS NGD Buildings
Collection
OS NGD Building Features
Feature Type
Building
Version
4.0 onward
Coverage
Great Britain
Geometry
Not applicable – attributed to Compound Building
Scope
All buildings >4m²
Data Sources
Data extraction by automated methods using OS topographic data, imagery and height data.
Completeness
All buildings in OS topographic data, subject to the availability of imagery and height models.
Thematic Accuracy
The source data is automatically processed. Low confidence outcomes and buildings not visible on imagery will be included.
Currency / Data Updates
Supplier’s three-yearly cyclic revision programme or where changes occur to topographic features following the standard revision policy for such features. These updates will be processed at least monthly.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS Select+Build); GeoJSON (OS NGD API – Features)
A Field Boundary is a line feature representing the field boundary features adjacent to, or contained within, areas of agricultural land, trees, rough grassland, or heath. It also includes features adjacent to land in the Rural Payment Agency's (RPA’s) Rural Land Register (RLR) that are situated within urban areas in England. Field Boundary features replicate all, or part of, the underlying OS NGD Structure (Built Obstruction) Line and are classified as Tree Canopy, Wooded Strip, Hedge, Wall, Other, or Unknown (in hierarchy order).
Theme
OS NGD Structures
Collection
OS NGD Structure Features
Feature Type
Field Boundary
Coverage
Great Britain, in Rural and Moorland areas. Features adjacent to, or contained within, areas of Agricultural Land, Trees, Rough Grassland and Heath, OR features adjacent to land in the Rural Payment Agency’s (RPA) Rural Land Register (RLR) that are situated within urban areas in England.
Geometry
Lines that represent physical barriers (Built Obstruction).
Data Sources
Automated classification using OS aerial imagery, digital surface models (DSM), digital terrain models (DTM), and ‘Built Obstruction’ Structure Lines from OS NGD.
Data Updates
3-year cyclical revision from OS aerial imagery (25cm). When the topographic area updates in 10km-by-10km areas are complete, the automated process is run to classify and calculate height and width values. When available, updates are processed up to daily into OS NGD.
Supply Type
Full Supply and Change-Only Update (COU)
Supply Format
GeoPackage and CSV (OS NGD Select+Build);
GeoJSON (OS NGD API – Features); vector tiles (OS NGD API – Tiles)
Licensing Terms
Available to customers under PSGA licensing terms. Commercial terms are available for OS Partners based on the number of hectares.
There are some agreed and known challenges with capturing and publishing data for Building Age, Construction Material, Basement Presence, Number of Floors, Roof Attribution and Building Height:
There is no single, definitive measurement or information available for any of these attributes at a national scale.
There are limited and sometimes conflicting sources of information from which to derive values.
The real world can be very difficult to represent in data. For example, new builds can be made to look like older buildings.
The level of estimated conformance is perfect for 1 to 2 floors 95% of the time, but it reduces with the increasing number of stories. 95% of all buildings that have 5 or more floors will have the correct number of floors value (within 1 floor) recorded when compared with the real world.
It is difficult to accurately predict floor numbers for complex buildings with towers, spires, roof furniture, overhanging vegetation, etc.
All buildings less than 4m² won’t be allocated with roof attribution information
Roofs covered by >80% solar panels or roof furniture will get a value of Unknown.
Change suppression on Building Part (if Building Part geometry has not changed and the height value is within ± 1.5m of the previous value, the previous value will be retained).
These pages contain general tips on using OS NGD Transport data and specific advice on how to make the most of the data provided by individual feature types.
A Field Boundary is a line which identifies the nature of the physical barrier feature and its characteristics when adjacent to, or contained within, specific types of land cover. Field Boundary features are predominately classified in Rural and Moorland areas of Great Britain. Vegetated Field Boundary features are given height and width values to give an indication of size. As both man-made (for example, wall) and vegetated Field Boundary features (for example, hedge) are regarded as structures, they are included in the OS NGD Structures Theme.
There are two known limitations for Street Light data:
Street Light Completeness: Street Lights have been captured from aerial imagery and therefore there are some limitations to completeness. Where features are not visible from aerial imagery (for example, where obscured by tree cover or not visible due to urban shading), these will not be included.
Overlighting and Underlighting: Street Light coverage attribution on Road Links and Path Links is indicative only, and there may be some instances of overlighting and underlighting. An algorithm is used to give an indication of how well-lit a link is; this algorithm is based on an inferred light radius and does not account for information such as the height of a lamp post, the type of bulb, or the presence of any light-blocking obstructions or buildings.
Natural topographic area features are mapped to:
EUNIS habitat type hierarchical view (marine version 2022 & terrestrial version 2021) using Level 1 and Level 2 classification; and
UK BAP Broad Habitats classification 2008
A simple algorithm automatically maps the OS Land Cover Tier B attribute of natural topographic area features to EUNIS and UK BAP classification scheme values using a lookup table prior to product publication. These are output into the Habitat Coverage Reference table.
Mapping the OS land cover classification to EUNIS Level 1 is mandatory. For EUNIS Level 2 and UK BAP it is not always possible to achieve a direct mapping as habitat classifications can be species-based, making it difficult to derive from a land cover classification. In such instances, there will be no entry for these records in the Habitat Coverage Reference table.
Coastal features also receive a habitat mapping. Coastal features are defined as being within the intertidal zone +200 metre buffer above the Mean High Water (Springs) Line.
These pages contain specific advice about the OS NGD land cover enhancements which implement habitat mapping and percentage coverage values.
Tram definition: A rail track dedicated to the movement of passenger tram rolling stock within big towns and cities.
Understanding where tram tracks are present on the road network can provide useful information for maintaining both road and tram assets, understanding risk for road users sharing the same space as trams, and supporting transport network management.
Within the OS NGD there are several feature types which will allow you to view and analyse tram track information, each with their own design and intended use cases.
These are all found within the OS NGD Transport Theme and are listed below:
Tram presence attribution provided on the Road Link feature type.
A dedicated Tram On Road feature type to help you understand the extent of tram track presence on the road network.
A Network representation in the Railway Link feature type.
The following sub-pages give more detailed information about the above three representations and how they can be used, to allow you to decide which best suits your use case.
Field Boundary features are coincident with and reference all, or part of, an underlying OS NGD Structure (Built Obstruction) Line. They represent physical barriers between adjoining areas of land. There are five distinct categories to describe Field Boundary features: Tree Canopy, Wooded Strip, Hedge, Wall, and Other. An 'Unknown' description is applied when a feature hasn’t yet been classified.
Field Boundary features are predominately classified across Rural and Moorland areas in Great Britain where they are adjacent to, or contained within, topographic areas of Agricultural Land, Trees, Rough Grassland or Heath, or when they are adjacent to land in the Rural Payment Agency’s (RPA) Rural Land Register (RLR) where they are situated within urban areas in England. Features adjacent to land in the RPA’s RLR are buffered by 2metres.
OS carries out a flying programme each year, capturing each area of Great Britain at least once every 3 years. The aerial imagery derived from this capture programme can be impacted by seasonal variances, that is, the time of year when the area was flown over, or even the time of day. Earlier in the year, vegetated features may be captured with 'leaf-off', and long shadows are also created which may impact the quality of the feature’s classification and its width measurements.
Additionally, the automated process uses aerial imagery as a top-down view to classify Field Boundary features, so some features may have their true nature obscured by overhanging trees. For example, fences running through woodland can be obscured by trees and can therefore be mistakenly classified as Tree Canopy.
Limitations exist with existing OS NGD Structure Lines, which are output in Field Boundary data:
Where the OS NGD Structure Line data is an ‘Edge or Limit’ of vegetation change rather than ‘Built Obstruction’, the Field Boundary is not classified.
Where features are close together and parallel (for example, a Ditch and a Hedge), the capture specification for OS NGD features will generalise and select one of the features; in this example, the Ditch rather than the Built Obstruction Line would be captured. This generalisation results in no Field Boundary features being classified and this can commonly occur in low-lying areas. Additionally, where Built Obstruction Lines are closely aligned, only one of these is picked up by the automated process and classified as a Field Boundary feature.
Moorland areas have a positional accuracy (RMSE) of 4.09m. The automated process has a search buffer of 2m to find potential vegetated Field Boundary features and 3m buffer for wall features. A search buffer any higher than this will result in numerous false positive classifications with the surrounding area; therefore, some features in Moorland areas may be inaccurately positioned.
Field Boundary features are classified through areas of woodland. This can occur when Built Obstruction Lines exist across areas of woodland and were classified when still visible from aerial imagery. Due to progressive changes in the natural environment, the trees have grown over time and obscured the underlying Built Obstruction Line. Classification from aerial imagery will always classify the Field Boundary feature as 'Tree Canopy’, even if in the real world the feature is actually a fence.
Vegetated field boundary features are given minimum, maximum and average (mean) height and width values. Values are rounded up to the nearest 0.5metres and provide an indication of the height or width rather than an absolute value.
Consideration is given to the natural movement of these features and seasonal variances; therefore, during the calculation process, the Hedge width calculation includes a tolerance of 2.0metres, and the Tree Canopy and Wooded Strip width calculations include a tolerance of 3.0metres.
The minimum, maximum and average height and width values are calculated using the 10th and 90th percentile values, sampled along the length of the Field Boundary feature at regular intervals. The calculated average mean value represents the most appropriate average height or width for each section of vegetated Field Boundary. Wall, Unknown and Other features are not given a height or width value.
Vegetated Field Boundary features adjacent to an area of woodland in the OS NGD Land Theme, which include a classification of Coniferous Trees, Non-Coniferous Trees, Scattered Coniferous Trees or Scattered Non-Coniferous Trees, will have the Is Woodland Boundary attribute populated with ‘True’ and height and width values will be 'null'.
Field Boundary data is created by an automated process. The inputs to the process are OS NGD Structure 'Built Obstruction' Lines, OS aerial imagery (25cm), Digital Surface Model (DSM) and Digital Terrain Model (DTM).
After new imagery is available and the topographic area updates in 10km-by-10km areas are complete, the automated process is run to classify features and calculate height and width values.
Field Boundary features are coincident with and reference the underlying parent OS NGD Structures ‘Built Obstruction’ Line. Field Boundary features follow the existing geometry of the Built Obstruction line.
Field Boundary features may be subdivisions of the Built Obstruction line where different classifications can be identified from OS aerial imagery. Where the line is not recognised as a vegetated or wall feature, the Field Boundary feature is classified as ‘Other’ (for example, fences, or newly planted hedges where features are too small to be identified from 25cm aerial imagery). Where the classification of Field Boundary features has not yet taken place by the automated process, these features are classified as ‘Unknown’.
Where more than one classification is present, the classification hierarchy is used to decide which classification should be applied, that is, Tree Canopy (highest) to Unknown (lowest). Any classified section of Field Boundary feature less than 4.0metres is ignored and subsumed into the surrounding classified sections based on the hierarchy.
The following pages contain specific advice on how to make the most of the OS NGD Field Boundary data:
The Pavement Link feature type can be found in the OS NGD Transport Theme, in the Transport Network Collection.
This feature type provides a geometry to depict pavement presence which is derived from the Road Link feature type geometry and as a result will be coincident with the Road Link features.
A Pavement Link feature is provided when a pavement is present and an individual feature will be created to represent each side of the road. As a result, when a pavement is present on both sides of a road, two Pavement Link features will be provided with the same geometry, whilst the attribution on the feature will specify which side of the road the given feature is associated with.
The Pavement Link feature represents the start and end points of the section of pavement. If comparing this geometry to the Road Link feature then you would expect to find ‘gaps’ in the Pavement Link features where pavements are not fully connected or do not exist.
All Pavement Link features have a linked identifier to the Road Link feature they are associated with (the roadlinkid
attribute).
The Pavement Link feature type aims to give a granular depiction of where a pavement exists along a road link.
To create the Pavement Link feature type we have used an algorithm which uses the pavement polygons which have been captured as part of Ordnance Survey’s topographic data capture and the road link data.
When allocating a pavement as left- or right-hand side we use the direction of ‘digitisation’ of the associated Road Link feature, (as determined by the startnode
and endnode
attribution of the road link), with a separate Pavement Link feature being provided for each side of the road, which in some instances can result in overlapping geometries.
Understanding where (extent and side of the road) a pavement exists along any given road link. This provides additional information above and beyond that on the road link for identifying start and end points of a pavement. This is particularly useful when undertaking street works to identify whether a pavement might be impacted in any way by the planned street works.
Identifying more accurately where pinch points exist along a stretch of pavement, using the more detailed pavement link geometry to identify their location.
Pavement Link features are a discontinuous set of geometries and therefore not a routable network. Pavement Link features provide a more accurate representation of start and end points of pavements, which are not contiguous or topologically structured meaning the data is not intended for routing use cases.
Within the OS NGD Transport Theme, in the Transport Network Collection, there is a Road Link feature type which represents a line geometry for Great Britain’s road system.
This feature type provides a routable network, when used in conjunction with the Road Nodes feature type. Specific pavement attribution is provided against a road link (Version 2 schema) as described below.
Total metres of pavement present (includes both sides of the road).
Total coverage of pavement as a percentage (includes both sides of the road), e.g. if there is 50% coverage on the left-hand side, and 50% coverage on the right-hand side without any overlap then a 100% value will be assigned.
Total metres of pavements on the left side of the road.
Percentage coverage of pavement on the left side of the road.
Total metres of pavement on the right side of the road.
Percentage coverage of pavement on the left side of the road.
Minimum Width of the pavement along the road link (includes both sides of the road)
Average Width of the pavement along the road link (includes both sides of the road)
To assign pavement information to Road Links we have used an algorithm which uses the pavement polygons which have been captured as part of Ordnance Survey’s topographic data capture and the road link data. Therefore the pavement attribution has not been surveyed as identified in its metadata attributes.
When allocating a pavement as left- or right-hand side of a road the direction of ‘digitisation’ of the Road Link feature is used, as determined by the startnode
and endnode
attribution of the road link.
To ensure this feature type remains a fully routable network, some generalisation has taken place when assigning the pavement attribution. For example, to account for small gaps in pavement coverage at road junctions – meaning the pavement presence will still be set at 100% in these scenarios. This does not mean we have generalised or altered the road network data itself, just the way we assign pavement presence attribution.
Routing applications, which could use the specific pavement attribution to build logic to consider where roads are walkable. For example, a routing engine could decide that if there is 90% pavement coverage then this can be used for walking in their models.
High level understanding of whether a pedestrian can walk down a road.
Identify road links where there are significant pinch points in pavements.
Support analysis to identify how many roads in a given area have pavement coverage, and to identify those with lower overall pavement coverage to aid decision making.
Support asset management by allowing analysis into how many metres of pavement exist in an area of interest.
Provide understanding of whether adequate pavements exist to link new housing developments to key hubs in the local area.
Visualisation use cases to depict exactly where a pavement is located.
Within the OS NGD Transport Theme, in the OS NGD Transport Network Collection, the Railway Link Feature Type represents geometry of Great Britain’s Rail Network.
This feature type provides a routable network when used in conjunction with the Railway Node Feature Type. The Rail network includes tram tracks as well as train tracks. Trams can be identified by the description attribute, which describes the nature of the railway the feature is representing (for example, description = Tram).
The Railway Link feature type provides a generalised geometry for the rail network of Great Britain. The generalisation of the rail network ensures full connectivity between relevant rail nodes. Rail track generalisation can be typically 3 or 4 sets of rail tracks represented as one link, for example multiple siding tracks. However, this may not always be the case, for example tracks that pass either side of a station platform are normally included to ensure connectivity at a station.
Routing along the rail network, including trams
Visualising track centreline geometry. Railways Links provide the generalised geometry of rail and tram tracks
Identifying which road links have tram track on them
The Tram On Road Feature Type can be found in the OS NGD Transport Network Collection of the OS NGD Transport Theme. This feature type provides a stand-alone geometry to depict where tram tracks are on the road network. This geometry is derived from the Road Link Feature Type and as a result will be coincident with the Road Link features.
A Tram On Road feature is provided where a tram track is present on the road network. The feature represents the section of the Road Link where there is a tram track closely associated with it. When comparing this geometry to the Road Link feature type you would expect to find ‘gaps’ in Trams on Road features where tram tracks do not coincide with the entire Road Link.
All Tram On Road features have a linked identifier (Road Link ID attribute) to the Road Link feature they are associated with.
The Tram On Road Feature Type aims to give a granular depiction of the where tram tracks exist on a road link.
To create the Tram On Road Feature Type we have used an algorithm which assesses Railway Links, road surface polygons (part of the OS NGD Transport Features Collection: Road, Track, and Path topographic data) and Road Links.
The algorithm takes Railway Links with description value ‘Tram’ and applies a buffer to identify which road polygons intersect and are therefore closely associated with these Tram links. All Road Links within the intersected polygons are then candidates for inclusion in the dataset. Further logic within the algorithm determines which Road Links are attributed with tram presence. A Tram on Road feature is created to indicate exactly where the tram interacts closely with the Road Link, with its geometry derived from the Road Link.
Note that certain types of tram link are not considered by the algorithm, including "preserved", "static museum" and "funicular". These types of tram link are not required for transportation and navigation use cases, as they mainly serve a leisure purpose.
Understanding where (the extents of) tram tracks are on the road network
Visualisation of the physical extents of where tram tracks are on roads
Routing along the tram network. Tram on Road consists of a discontinuous set of geometries, which is not a routable network. Instead, the Railway Link feature type will help with this use case.
A tram track centre line. Tram on Road uses Road Link geometry. The Railway Link feature type provides geometry for the generalised rail network, including tram tracks.
Within the OS NGD Transport Theme, in the Transport Network Collection, the Road Link feature type represents a line geometry for Great Britain’s road system.
This feature type provides a routable network, when used in conjunction with the Road Node feature type. Specific tram attribution is provided against a road link (schema version 3.0 onward) as described below.
Attribution indicating the presence of trams:
The extent of tram track present on the Road Link, either full or partial
The direction the tram track applies, in relation to the direction of digitisation of the Road Link
To determine tram presence information on roads, we have used an algorithm which assesses Railway Links, road surface polygons (part of OS NGD Transport Features Collection: Road, Track and Path topographic data) and Road Links.
The algorithm takes Railway Links with the description value ‘Tram’ and applies a buffer to identify which road polygons intersect and are therefore closely associated with these Tram links. All Road Links within the intersected polygons are then candidates for inclusion in the dataset. Further logic within the algorithm determines which Road Links are attributed with tram presence. The entire Road Link receives the attribution of ‘partial’ or ‘full’ presence.
Note that certain types of tram link are not considered by the algorithm, including "preserved", "static museum" and "funicular". These types of tram link are not required for transportation and navigation use cases, as they mainly serve a leisure purpose.
Identify all road links that have a tram track on them.
Support asset management uses cases by identifying whether a Road Link has a tram track on it which will impact street works and reinstatement jobs.
Support transport network management by identifying which Road Links will be impacted during tram track maintenance or incidents on the tram network, and what this would mean for wider traffic flows, road closures and diversions.
Visualisation use cases to depict the exact extent of the tram tracks.
Routing along the tram network – the Railway Link feature type will help with this use case.
A Road Track or Path feature type is found within the OS NGD Transport Theme, under the Transport Features Collection.
This feature type provides a polygon representation for transport-related features, which includes pavements. To identify the features which represent pavements you can filter on the Description
attribute for a value of Pavement
. This will result in you obtaining a polygon representation of the pavements for your areas of interest.
Pavement polygons have been captured as part of Ordnance Survey’s topographic data capture and are ‘surveyed’ features. These features are not segmented per road/street but are contiguous until broken by a real-world feature such as a road.
These features (unlike those described in following sections) do not contain specific attribution on pavement width, total presence, or sides of specific roads and streets.
An accurate depiction of the location and extent of pavements, primarily suited for visualisation use cases.
Allocation of pavement widths for entire pavement polygons (noting these polygons are not clipped to roads).
This polygon dataset has not been designed as and is not a routable network.
The pavements are not split into polygons only for roads they correspond to.
A linked dataset to the road link or pavement link data. There is no relationship between these polygons and the other two related feature types: Road Link and Pavement Link.
Pavement definition - A raised, paved or man-made surface for pedestrian use at the side of a road.
Understanding the location of pavements can help provide insight into the accessibility of an area for pedestrians, as well as giving useful information for maintaining and monitoring these features as assets.
Within the OS NGD there are several feature types which will allow you to view and analyse pavement data, each with their own designs and intended use cases. These pavement representations are all found within the OS NGD Transport Theme and are listed below:
The following sections give more detailed information about the above three representations and how they can be used, to allow you to decide which of them is best suited for your use case.
Street Light definition: A point representation of a pole mounted light which is positioned to artificially illuminate sections of a road or path.
The land cover enhancements align the OS land cover classifications to European Nature Information System (EUNIS) and UK Biodiversity Action Plan (BAP) Broad Habitats classification scheme values and provide a percentage of each land cover classification. These enhancements apply to ‘natural’ topographic area features which exist across several OS NGD themes:
A percentage cover value is also assigned to the OS Land Cover Tier B attribute for those features above the Mean High Water (Springs) line. Water features are not given a percentage cover value.
The image below provides examples of these natural land cover features in the OS NGD.
A known collection ID.
bld-fts-building-1
Possible values: Get information about an OS NGD feature collection
A known collection ID.
bld-fts-building-1
Possible values: Get a list of all the available OS NGD feature collections
A known collection ID.
bld-fts-building-1
Possible values: The optional bbox parameter specifies a supported bounding box. Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four comma-separated numbers: Lower left corner, coordinate axis 1 (e.g. min x axis) Lower left corner, coordinate axis 2 (e.g. min y axis) Upper right corner, coordinate axis 1 (e.g. max x axis) Upper right corner, coordinate axis 2 (e.g. max y axis)The default coordinate reference system of the values is WGS 84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter bbox-crs
.
[-0.183678,51.474968,-0.068321,51.540143]
The coordinate reference system of the bbox
parameter. It must be a 2D coordinate reference system supported by the collection. Default is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84).
The coordinate reference system of the response geometries. It must be a coordinate reference system supported by the collection. Default is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84).
Either a local date, a date-time with UTC time zone (Z) or an open or closed interval. Open ranges in time intervals at the start or end are supported using a double-dot (..) or an empty string for the start/end. Date and time expressions adhere to RFC 3339. Examples:A date-time: '2021-12-12T23:20:50Z'A closed interval: '2021-12-12T00:00:00Z/2021-12-18T12:31:12Z'Open intervals: '2021-12-12T00:00:00Z/..' or '../2021-12-18T12:31:12Z'An interval until now: '2018-02-12T00:00:00Z/..' or '2018-02-12T00:00:00Z/'Selects features that have a temporal property that intersects the value of the parameter.
2018-02-12T00:00:00Z/..
The optional limit parameter limits the number of items that are presented in the response document. Minimum = 1. Maximum = 100. Default = 100.
The optional offset parameter skips past the specified number of features in the collection. Minimum = 0. Default = 0.
The optional filter parameter is a filter expression in CQL format which is applied when retrieving resources to determine which resources are included in a result set.
Specify which of the supported CRSs to use to encode geometric values in a filter expression. It must be a 2D coordinate reference system supported by the collection. Default is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84).
The optional filter-lang parameter is the specific language used for the filter parameter. Default = cql-text
A known collection ID.
bld-fts-building-1
Possible values: A known collection ID.
bld-fts-building-1
Possible values: A feature ID which is the identifier(id) for the feature.
11111111-1111-1111-1111-111111111111
The coordinate reference system of the response geometries. It must be a coordinate reference system supported by the collection. Default is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84).
Identifier for a supported TileMatrixSet
Local identifier of a collection
Local identifier of a collection
Identifier for a supported TileMatrixSet
Identifier selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile.
15
Row index of the tile on the selected TileMatrix.
11179
Column index of the tile on the selected TileMatrix.
16558
Local identifier of a collection
Identifier for a supported TileMatrixSet
Identifier selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile.
15
Row index of the tile on the selected TileMatrix.
11179
Column index of the tile on the selected TileMatrix.
16558
Local identifier of a collection
Local identifier of a collection
{"conformsTo":["http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/core","http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/json","http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/html","http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/oas30","http://www.opengis.net/spec/ogcapi-common-2/1.0/conf/collections","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tileset","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tilesets-list","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/geodata-tilesets","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/dataset-tilesets","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/geodata-selection","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/jpeg","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/png","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/mvt","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/geojson","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/tiff","http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/netcdf"]}
Local identifier of a collection
Local identifier of a collection
An identifier representing a specific style.
Local identifier of a collection
An identifier representing a specific style.
Styling resourece base name.
sprites
See the for Field Boundary feature definitions.
There are known areas of Great Britain where the data quality may be lower. See for additional information.
The content on this page supplements that provided on the page.
The is the date on which the latest imagery capture was gathered and used to identify the Field Boundary feature. Where a feature has not yet been classified, it is ‘Unknown’ and the Imagery Evidence Date will be 'null'.
The is a Boolean flag to identify whether a field boundary is adjacent to a land cover area classified as woodland. ‘Woodland’ is defined as a land cover polygon with a classification of Coniferous Trees and / or Non-Coniferous Trees.
The content on this page supplements that provided on the page.
A buffer based on the average width of the Road Link is used to identify if a pavement exists along a Road Link. Generally, a pavement is associated with a road if it is immediately beside the road edge or at a short distance, without a physical barrier. Where the pavement is further away from the road edge or a physical barrier exists, the feature will be captured as a Path, as it will not meet the .
A pavement centre line. If you would like a more accurate visual depiction of pavements the data in the provides a better solution.
A buffer based on the average width of the Road Link is used to identify if a pavement exists along a Road Link. Generally, a pavement is associated with a road if it is immediately beside the road edge or at a short distance, without a physical barrier. Where the pavement is further away from the road edge or a physical barrier exists, the feature will be captured as a Path, as it will not meet the .
Understanding exactly where a pavement starts and ends along a road – the will help with this use case.
in the Road Track or Path feature type.
provided on the Road Link feature type describing the presence and dimensions of pavements associated with the specific Road Link.
to help you understand where individual pavements start and end, and the pavement widths for each side of the road.
features are used to identify the location of pole-mounted street lights. New attribution has been supplied against the and Feature Types to indicate how well-lit they are.
The feature’s OS Land Cover Tier B attribute is mapped to EUNIS and UK BAP Broad Habitats classification scheme values where the topographic area feature is ‘natural’, i.e. the attribute is one of ‘Excavated or Deposited’, ‘Open Vegetation’, ‘Mineral’, ‘Multiple’, ‘Trees’, ‘Under Construction’ or ‘Water’.
The land cover enhancements are supplied in a new cross-reference table. See the relating to the Land Feature Type.
OS NGD Land
Land
OS NGD Structures
Structure
OS NGD Transport
Rail
OS NGD Transport
Road Track Or Path
OS NGD Water
Water