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...
These pages describe the single feature type (BLPU (Type 21 Record)) available for the OS Emergency Services Gazetteer (OS ESG).
The attributes associated with the feature type are listed on the following page. The following information can be found about each attribute:
The name of the attribute and what it is describing.
The values the attribute can take. For example, a numeric value or a string. This is provided for both data formats – GeoPackage and CSV.
The maximum total number of decimal digits to be stored. This number includes both the left and the right sides of the decimal point. The precision must be a value from 1 through the maximum precision of 38. The SQL Server default precision is 18.
Scale (s) is the number of decimal digits that are stored to the right of the decimal point. This number is subtracted from precision (p) to determine the maximum number of digits to the left of the decimal point. Scale must be a value from 0 through p, and can only be specified if precision is specified. The default scale is 0 and so 0 <= s <= p. Maximum storage sizes vary, based on the precision.
The name of the code list used in association with the attribute (if applicable) and a hyperlink to the page displaying that code list.
Values are given here to indicate the maximum length that you will find in the attribute, to aid in developing applications.
A True or False value to denote whether the attribute always has to be populated with a value (False) or can be NULL (True).
The schema version the data above applies to.
The OS ESG is available in two formats:
GeoPackage – Full Supply only
Comma-separated values (CSV) – Full Supply and Change-Only Updates (COU)
The GPKG and CSV formats conform to the AddressBase Premium specification.
It is not available in Geography Markup Language (GML) format.
GeoPackage is an open standard data format as defined by the Open Geospatial Consortium (OGC). 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.
COUs are not available in GeoPackage format.
The ordering area is all of Great Britain for GeoPackage format or you can select areas of interest (AOIs).
GeoPackage offers users 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.
CSV files are a delimited text file that uses commas or other characters to separate individual elements of a feature. It is used to store data, often in the form of a table. These tables can be freely loaded into databases and programs, allowing for the easy loading and updating of data holdings.
Full Supply and COUs are available in CSV format.
The ordering area is all of Great Britain for CSV format or you can select AOIs.
In the CSV supply of OS ESG:
There is one record per line in each file.
Fields are separated by commas.
String fields are delimited by double quotes.
No comma is placed at the end of each row in the file.
Records are terminated by Carriage Return / Line Feed.
Double quotes inside strings are escaped by doubling.
COUs are available in this format.
Where a field has no value in a record, two commas are placed together in the record (one for the end of the previous field and one for the end of the null field). Where the null field is a text field, double quotes are included between the two commas, for example -, “”,
The CSV data is transferred using Unicode encoded in UTF-8. Unicode includes all the characters in ISO-8859-14 (Welsh characters).
The transfer is normally in a single file, but the data can be split into multiple files using volume numbers. The OS ESG records are provided within continuous files cut at approximately 1 million lines, as referred to above.
The product will be refreshed on a monthly basis.
The OS ESG references unique street reference numbers (USRNs) in AddressBase Premium; however, there is a disconnect in publication schedules between the two products, with the OS ESG publishing monthly and AddressBase Premium publishing every six weeks.
The following table shows the corresponding publication schedule alignments between the two products:
Please note that the publication schedule alignments between the two products MAY change for future releases, especially as we add more datasets to the OS ESG.
For information on how to open, use and understand a GeoPackage dataset, please refer to our . Further detailed information on GeoPackage can be taken from the .
This means different record types (for example, s and s) can be found in the same CSV file.
The CSV header files are available to download from the .
The OS ESG product is supplied as an online download from the . You can select a data format (GeoPackage or CSV) during the download process.
OS ESG release | Corresponding AddressBase Premium Epoch |
---|
March 2024 | Epoch 108 |
April 2024 | Epoch 109 |
May 2024 | Epoch 110 |
June 2024 | Epoch 110 |
July 2024 | Epoch 111 |
August 2024 | Epoch 112 |
September 2024 | Epoch 112 |
October 2024 | Epoch 113 |
November 2024 | Epoch 114 |
December 2024 | Epoch 114 |
January 2025 | Epoch 115 |
February 2025 | Epoch 116 |
March 2025 | Epoch 117 |
The OS ESG product offers a national view for Great Britain and supports the Emergency Services with incident response, incident reporting and situational awareness.
The OS Emergency Services Gazetteer (OS ESG) provides a national, consistent, and maintained view of the locations and names of places and objects.
This product is updated monthly.
The OS ESG is easily filterable so you can select the features that you are interested in based on the classifications allocated to those features.
The gazetteer provides a single centralised source of information which allows for easier, faster and more precise identification of incident locations.
Using our ability to analyse and collate information, the OS ESG provides Emergency Services with the data they need to estimate emergency response times.
Analysing trends and patterns of road traffic collisions to both help identify risk and support incident planning.
The OS ESG enables emergency responders to be more accurately informed, improving response times and public safety:
Quick and accurate gazetteer searches
Support incident reporting
Enhanced data sharing across emergency services
Supports incident analysis and modelling
Operational reporting
Access: Download
Data theme: Geographical Names
Data structure: Vector – Points
Coverage: Great Britain
Format: CSV, GeoPackage
Ordering area: All of Great Britain or custom ordering options (areas of interest – AOIs) available for both formats
OS Data Hub plan: Premium Plan, Public Sector Plan
Access to this product is free for PSGA (Public Sector Geospatial Agreement) Members. Find out if you are a PSGA Member or try out a sample of OS ESG data by accessing the OS ESG product page on the OS website where you will find links to all of the relevant resources.
The OS ESG product is supplied as an online download from the OS Data Hub.
These pages describe the two data types available for the OS Emergency Services Gazetteer (OS ESG):
The attributes associated with each data type are listed on the following pages. The following information can be found about each attribute:
The name of the attribute and what it is describing.
The values the attribute can take. For example, a numeric value or a string. This is provided for both data formats – GeoPackage and CSV.
The maximum total number of decimal digits to be stored. This number includes both the left and the right sides of the decimal point. The precision must be a value from 1 through the maximum precision of 38. The SQL Server default precision is 18.
Scale (s) is the number of decimal digits that are stored to the right of the decimal point. This number is subtracted from precision (p) to determine the maximum number of digits to the left of the decimal point. Scale must be a value from 0 through p, and can only be specified if precision is specified. The default scale is 0 and so 0 <= s <= p. Maximum storage sizes vary, based on the precision.
The name of the code list used in association with the attribute (if applicable) and a hyperlink to the page displaying that code list.
Values are given here to indicate the maximum length that you will find in the attribute, to aid in developing applications.
A True or False value to denote whether the attribute always has to be populated with a value (False) or can be NULL (True).
The schema version the data above applies to.
The code list describes the record as postal or not, as defined by AddressBase logic. This code list is used in association with the ADDRESSBASE_POSTAL (CSV) / addressbase_postal (GKPG) attribute on the table.
Value | Description |
---|
This technical specification provides detailed technical information about the OS ESG. It is targeted at technical users and software developers.
The OS Emergency Services Gazetteer (OS ESG) is a product that offers a national view for Great Britain (i.e. England, Wales and Scotland). The product was designed to support the Emergency Services with incident response, incident reporting and situational awareness by providing pivotal features such as road and motorway junctions.
The OS ESG is structured as a series of relational tables:
, which shows fixed locations.
, which identifies the BLPUs.
, which provides feature codes.
This technical specification includes the following sections:
N | Record that is not a postal address. |
The Land Property Identifier (LPI) Data Type defines a structured entry that identifies a BLPU. The AddressBase Premium data structure provides the facility to describe a BLPU by more than one LPI. In England and Scotland there is one Approved LPI (English), whereas in Wales there are two Approved LPIs (English and Welsh).
The earliest date on which you can request a one-off snapshot of a date in the past for data in this data type is 27 March 2024.
The following sub-sections provide details about the attributes included with this data type, their types in the different output formats, and other important metadata about them.
Please note, the following attributes will not be populated within the OS ESG: SAO Start Number, SAO Start Suffix, SAO End Number, SAO End Suffix, SAO Text, PAO Start Number, PAO Start Suffix, PAO End Number, and PAO End Suffix.
A non-persistent integer which is autogenerated and is required within the OGC GeoPackage format.
Attribute Name: fid (GKPG), Not provided (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Nullable: false
Data Schema Version: 1.0
Identifies this Record as an LPI Record (type 24).
Attribute Name: Not provided (GKPG), RECORD_IDENTIFIER (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 2
Nullable: false
Data Schema Version: 1.0
The type of record change.
Please see the 'Available formats' section in the OS ESG Overview for more information
Attribute Name: change_type (GKPG), CHANGE_TYPE (CSV)
Code List Name: ChangeTypeCode
Size: 1
Nullable: false
Data Schema Version: 1.0
The order in which the records were processed to create the data supply.
Attribute Name: Not provided (GKPG), PRO_ORDER (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 16
Nullable: false
Data Schema Version: 1.0
The Unique Property Reference Number (UPRN). This is a foreign key used to reference the LPI to the corresponding BLPU.
Attribute Name: uprn (GKPG), UPRN (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 12
Nullable: false
Data Schema Version: 1.0
The unique key for the LPI and primary key for this table. A 14-character string, prefixed with '7655L' then a nine-digit sequential number.
Attribute Name: lpi_key (GKPG), LPI_KEY (CSV)
Data Types: String (CSV), String (GKPG)
Max Length: 14
Nullable: false
Data Schema Version: 1.0
A code that identifies the language used for the LPI record (the names and / or descriptions in PAO_text and SAO_text).
Attribute Name: language (GKPG), LANGUAGE (CSV)
Code List Name: LanguageCode
Size: 3
Nullable: false
Data Schema Version: 1.0
The logical status of this record.
Attribute Name: logical_status (GKPG), LOGICAL_STATUS (CSV)
Code List Name: LogicalStatusCode
Size: 1
Nullable: false
Data Schema Version: 1.0
The date on which this LPI record was inserted into the database.
Attribute Name: start_date (GKPG), START_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: false
Data Schema Version: 1.0
The date on which this record ceased to exist in the database.
Attribute Name: end_date (GKPG), END_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: true
Data Schema Version: 1.0
The date on which any of the attributes on this record were last changed.
Attribute Name: last_update_date (GKPG), LAST_UPDATE_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: false
Data Schema Version: 1.0
The date on which the record was inserted into the database.
Attribute Name: entry_date (GKPG), ENTRY_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: false
Data Schema Version: 1.0
The number of the secondary addressable object (SAO) or the start of the number range.
Attribute Name: sao_start_number (GKPG), SAO_START_NUMBER (CSV),
Data Types: Integer (GKPG), Integer (CSV)
Size: 4
Nullable: true
Data Schema Version: 1.0
The suffix to the SAO_START_NUMBER.
Attribute Name: sao_start_suffix (GKPG), SAO_START_SUFFIX (CSV)
Data Types: String (GKPG) , String (CSV)
Max Length: 2
Nullable: true
Data Schema Version: 1.0
The end of the number range for the SAO, where the SAO_START_NUMBER contains the first number in the range.
Attribute Name: sao_end_number (GKPG), SAO_END_NUMBER (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 4
Nullable: true
Data Schema Version: 1.0
The suffix to the SAO_END_NUMBER.
Attribute Name: sao_end_suffix (GKPG), SAO_END_SUFFIX (CSV)
Data Types: String (GKPG) , String (CSV)
Max Length: 2
Nullable: true
Data Schema Version: 1.0
Additional location information where transport or water networks interact with the feature to provide the names and / or numbers of those networks. The pipe symbol (|) is used to separate multiple names.
Please note, SAO Text will be in alphanumeric order. Where names are known to be Gaelic in origin, these will appear first in records in Scotland. In Wales, the known Welsh names will be on the Welsh LPI (CYM), and the known English names will be on the English LPI (ENG). Where it is not known, or the name in use is in both languages, the same name may appear on both the English and Welsh LPI.
Attribute Name: sao_text (GKPG), SAO_TEXT (CSV)
Data Types: String (GKPG) , String (CSV)
Max Length: 400
Nullable: true
Data Schema Version: 1.0
The number of the primary addressable object (PAO) or the start of the number range.
Attribute Name: pao_start_number (GKPG), PAO_START_NUMBER (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 4
Nullable: true
Data Schema Version: 1.0
The suffix to the PAO_START_NUMBER.
Attribute Name: pao_start_suffix (GKPG), PAO_START_SUFFIX (CSV)
Data Types: String (GKPG), String (CSV)
Max Length: 2
Nullable: true
Data Schema Version: 1.0
The end of the number range for the PAO where the PAO_START_NUMBER contains the first number in the range.
Attribute Name: pao_end_number (GKPG), PAO_END_NUMBER (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 4
Nullable: true
Data Schema Version: 1.0
The suffix to the PAO_END_NUMBER.
Attribute Name: pao_end_suffix (GKPG), PAO_END_SUFFIX (CSV)
Data Types: String (GKPG), String (CSV)
Max Length: 2
Nullable: true
Data Schema Version: 1.0
The proper name(s) used to identify the feature. Where the official name is not known, a default value is given based on the classification. The pipe symbol (|) is used to separate multiple names.
Please note, PAO text will be in alphanumeric order. Where names are known to be Gaelic in origin, these will appear first in records in Scotland. In Wales, the known Welsh names will be on the Welsh LPI (CYM), and the known English names will be on the English LPI (ENG). Where it is not known, or the name in use is in both languages, the same name may appear on both the English and Welsh LPI.
Attribute Name: pao_text (GKPG), PAO_TEXT (CSV)
Data Types: String (GKPG), String (CSV)
Max Length: 90
Nullable: true
Data Schema Version: 1.0
The Unique Street Reference Number (USRN). This is a foreign key linking the Street record to the LPI record.
Attribute Name: usrn (GKPG), USRN (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 8
Nullable: false
Data Schema Version: 1.0
Unique Street Reference Number (USRN) for a Street intersecting or near a junction. BLPUs will be assigned a USRN; these only refer to the USRNs published in AddressBase Premium.
This field indicates how the feature was matched to a Street. 1 is matched manually to the most accessible USRN, and 2 is matched spatially to the nearest USRN, which may not be the nearest accessible street.
Attribute Name: usrn_match_indicator (GKPG), USRN_MATCH_INDICATOR (CSV)
Code List Name: USRNMatchIndicatorCode
Size: 1
Nullable: false
Data Schema Version: 1.0
Additional location information indicating, for example, a city or town and any relevant other named urban areas. Where relevant, island names are included. In non-urban areas, the Lower Tier Local Authority is provided. (NEAR) indicates either within 1km of a settlement onshore, or within 500m of a named island or 1km from a Lower Tier Local Authority offshore.
Attribute Name: area_name (GKPG), AREA_NAME (CSV)
Data Types: String (GKPG), String (CSV)
Max Length: 100
Nullable: true
Data Schema Version: 1.0
Please note, settlement boundaries and islands used are an OS geographic depiction of the extent of settlements and should not be mistaken for official administrative or electoral boundaries. Please see Named Features - OS National Geographic Database for further information. Lower Tier Local Authority Areas used are from Boundaries - OS National Geographic Database.
Detail on the vertical position of the property, if known and provided by the authority.
Attribute Name: level (GKPG), LEVEL (CSV)
Data Types: String (GKPG), String (CSV)
Max Length: 30
Nullable: true
Data Schema Version: 1.0
The status of the feature.
Attribute Name: official_flag (GKPG), OFFICIAL_FLAG (CSV)
Code List Name: OfficialFlagCode
Size: 1
Nullable: true
Data Schema Version: 1.0
The code lists for the OS ESG.
A code list is a controlled set of allowable labels or codes represented as an alphanumeric attribute. The pages in this section show the code lists used within the OS Emergency Services Gazetteer (OS ESG). Some of the code lists only apply to attributes of the feature type and both structured data types, whereas others will only apply to attributes of either the feature type or one of the two structured data types.
The pages in this section display the code lists in alphabetical order, with one code list provided per page.
Please note, not all of the code lists listed will be populated within the OS ESG product.
The Classification (Type 32 Record) Data Type defines a structured entry that provides the code for the type of feature.
The earliest date on which you can request a one-off snapshot of a date in the past for data in this data type is 27 March 2024.
The following sub-sections provide details about the attributes included with this data type, their types in the different output formats, and other important metadata about them.
A non-persistent integer which is autogenerated and is required within the OGC GeoPackage format.
Attribute Name: fid (GKPG), Not provided (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Nullable: false
Data Schema Version: 1.0
Identifies this record as a Classification Record (type 32).
Attribute Name: Not provided (GKPG), RECORD_IDENTIFIER (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 2
Nullable: false
Data Schema Version: 1.0
The type of record change.
Please see the 'Available formats' section in the OS ESG Overview for more information.
Attribute Name: change_type (GKPG), CHANGE_TYPE (CSV)
Code List Name: ChangeTypeCode
Size: 1
Nullable: false
Data Schema Version: 1.0
The order in which the records were processed to create the data supply.
Attribute Name: Not provided (GKPG), PRO_ORDER (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 16
Nullable: false
Data Schema Version: 1.0
The Unique Property Reference Number (UPRN). This is a foreign key used to reference the classification records to the corresponding BLPU.
Attribute Name: uprn (GKPG), UPRN (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Size: 12
Nullable: false
Data Schema Version: 1.0
The unique key for the classification record and primary key for this table.
Attribute Name: class_key (GKPG), CLASS_KEY (CSV)
Data Types: String (GKPG), String (CSV)
Max Length: 14
Nullable: false
Data Schema Version: 1.0
Alphanumeric code used to classify the feature.
Attribute Name: classification_code (GKPG), CLASSIFICATION_CODE (CSV)
Data Types: String (GKPG) , String (CSV)
Max Length: 6
Nullable: false
Data Schema Version: 1.0
The name of the classification scheme used for this record.
Attribute Name: class_scheme (GKPG), CLASS_SCHEME (CSV)
Data Types: String (GKPG), String (CSV)
Max Length: 60
Nullable: false
Data Schema Version: 1.0
The classification scheme version number.
Attribute Name: scheme_version (GKPG), SCHEME_VERSION (CSV)
Data Types: float (GKPG), Real (CSV)
Precision: 2
Scale: 1
Nullable: false
Data Schema Version: 1.0
The date on which this classification record was first loaded into the database.
Attribute Name: start_date (GKPG), START_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: false
Data Schema Version: 1.0
The date on which this classification record ceased to exist.
Attribute Name: end_date (GKPG), END_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: true
Data Schema Version: 1.0
The date on which an attribute on this record was last changed.
Attribute Name: last_update_date (GKPG), LAST_UPDATE_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: false
Data Schema Version: 1.0
The date on which the record associated with this classification record was inserted into the database.
Attribute Name: entry_date (GKPG), ENTRY_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: false
Data Schema Version: 1.0
The Basic Land and Property Unit (BLPU) Feature Type is a real-world object that is an area of land, property or structure of fixed location, having uniform occupation, ownership or function.
The earliest date on which you can request a one-off snapshot of a date in the past for data in this feature type is 27 March 2024.
The following sub-sections provide details about the attributes included with this feature type, their data types in the different output formats, and other important metadata about them.
Please note, the following attributes will not be populated within the OS ESG: Parent_UPRN and Multi_Occ_Count.
A non-persistent integer which is autogenerated and is required within the OGC GeoPackage format.
Attribute Name: fid (GKPG), Not provided (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Nullable: false
Data Schema Version: 1.0
Identifies this record as a BLPU Record (type 21).
Attribute Name: Not provided (GKPG), RECORD_IDENTIFIER (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Max Length: 2
Nullable: false
Data Schema Version: 1.0
The type of record change.
Attribute Name: change_type (GKPG), CHANGE_TYPE (CSV)
Max Length: 1
Nullable: false
Data Schema Version: 1.0
The order in which the records were processed in to create the data supply.
Attribute Name: Not provided (GKPG), PRO_ORDER (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Max Length: 16
Nullable: false
Data Schema Version: 1.0
Unique Property Reference Number (UPRN) assigned by Ordnance Survey.
Attribute Name: uprn (GKPG), UPRN (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Max Length: 12
Nullable: false
Data Schema Version: 1.0
Logical status of this record as given by Ordnance Survey. This attribute shows whether the record is currently live or historic.
Attribute Name: logical_status (GKPG), LOGICAL_STATUS (CSV)
Max Length: 1
Nullable: false
Data Schema Version: 1.0
A code identifying the current state of the BLPU.
Attribute Name: blpu_state_date (GPKG), BLPU_STATE_DATE (CSV)
Max Length: 1
Nullable: true
Data Schema Version: 1.0
Date at which the BLPU achieved its current state as defined in the BLPU State field.
Attribute Name: blpu_state_date (GKPG), BLPU_STATE_DATE (CSV)
Condition: BLPU State Date must be present if BLPU State is present.
Data Types: Date (GKPG), Date (CSV)
Nullable: true
Data Schema Version: 1.0
UPRN of the parent Record if a parent-child relationship exists.
Attribute Name: parent_uprn (GKPG), PARENT_UPRN (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Max Length: 12
Nullable: true
Data Schema Version: 1.0
A value in metres defining the x location in accordance with the British National Grid.
Attribute Name: x_coordinate (GKPG) , X_COORDINATE (CSV)
Data Types: Double (GKPG), Real (CSV)
Precision: X_COORDINATE 8
Scale: 2
Nullable: false
Data Schema Version: 1.0
A value in metres defining the y location in accordance with the British National Grid.
Attribute Name: y_coordinate (GKPG) , Y_COORDINATE (CSV)
Data Types: Double (GKPG), Real (CSV)
Precision: Y_COORDINATE 9
Scale: 2
Nullable: false
Data Schema Version: 1.0
A value defining the Latitude location in accordance with the ETRS89 coordinate reference system.
Attribute Name: latitude (GKPG), LATITUDE (CSV)
Data Types: Double (GKPG), Real (CSV)
Precision: LATITUDE 9
Scale: 7
Nullable: false
Data Schema Version: 1.0
A value defining the Longitude location in accordance with the ETRS89 coordinate reference system.
Attribute Name: longitude (GKPG), LONGITUDE (CSV)
Data Types: Double (GKPG), Real (CSV)
Precision: LONGITUDE 8
Scale: 7
Nullable: false
Data Schema Version: 1.0
Representative Point Code. This describes the accuracy of the coordinate that has been allocated to the BLPU as indicated by Ordnance Survey.
Attribute Name: rpc (GKPG), RPC (CSV)
Max Length: 1
Nullable: false
Data Schema Version: 1.0
Unique identifier of the authority responsible for the maintenance of this record.
Attribute Name: local_custodian_code (GKPG), LOCAL_CUSTODIAN_CODE (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Max Length: 4
Nullable: false
Data Schema Version: 1.0
The date on which the record was inserted into the database.
Attribute Name: start_date (GKPG), START_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: false
Data Schema Version: 1.0
The date on which the record was closed in the database.
Attribute Name: end_date (GKPG), END_Date (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: true
Data Schema Version: 1.0
The date on which any of the attributes on this record were last changed.
Attribute Name: last_update_date (GKPG), LAST_UPDATE_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: false
Data Schema Version: 1.0
The date on which this record was inserted into the database.
Attribute Name: entry_date (GKPG), ENTRY_DATE (CSV)
Data Types: Date (GKPG), Date (CSV)
Nullable: false
Data Schema Version: 1.0
A count of all of the child UPRNs for this record where a parent-child relationship exists.
Attribute Name: multi_occ_count (GKPG), MULTI_OCC_COUNT (CSV)
Data Types: Integer (GKPG), Integer (CSV)
Max Length: 4
Nullable: false
Data Schema Version: 1.0
This field will be populated with ‘N’ within the OS ESG; all the BasicLandPropertyUnit features are considered as 'Not a postal address'.
Attribute Name: addressbase_postal (GKPG), ADDRESSBASE_POSTAL (CSV)
Max Length: 1
Nullable: false
Data Schema Version: 1.0
This code list describes the physical nature of the address record. This code list is used in association with the BLPU_STATE (CSV) / blpu_state (GKPG) attribute.
Value | Description |
---|---|
This overview introduces the OS ESG and gives context for all users – highlighting key features, providing examples of potential uses, and listing details such as supply formats, currency, etc.
The OS Emergency Services Gazetteer (OS ESG) is a single centralised source of critical information that allows first responders to precisely identify locations when the need is greatest.
It was developed in collaboration with the Emergency Services, who provided invaluable feedback. It provides enhanced data, such as road and motorway junctions, that improves incident response, incident reporting and situational awareness.
The OS ESG offers a national view for Great Britain (i.e. England, Wales and Scotland). It is published in the AddressBase Premium format and aligns fully with requirements specified during extensive user engagement.
The OS ESG does not provide data for Northern Ireland, the Isle of Man, Jersey or Guernsey.
The key features of the OS ESG product are:
Easy to filter and apply features: The OS ESG is easily filterable so you can select the features that you are interested in based on the classifications allocated to those features.
Enhanced data for incident response and reporting: The gazetteer provides a single centralised source of information which allows for easier, faster and more precise identification of incident locations.
The OS ESG enables emergency responders to be more accurately informed, improving emergency response times and public safety:
Quick and accurate gazetteer searches
Supports incident reporting and planning (for example, giving more accurate emergency response times)
Enhanced data sharing across emergency services
Supports incident and risk analysis and modelling (for example, analysing trends and patterns of road traffic collisions to both help identify risk and support incident planning)
Improves operational reporting
The OS ESG is published in the AddressBase Premium format, aligning with requirements specified during user engagement. This is to ensure ease of use for the Emergency Services already consuming OS Address data in this format.
The OS ESG only includes the BasicLandPropertyUnit (BLPU), LandPropertyIdentifier (LPI) and Classification components, not the full AddressBase Premium model.
The following datasets are available within the OS ESG:
This contents of this table are subject to change with future releases of the product.
This overview includes the following section:
A helpful introductory Lightning Talk on the OS ESG is available on our 'More than Maps' site (a self-serve platform that provides a one-stop shop for all your OS technical geospatial support, including tutorials, demonstrators and case studies).
This code list identifies the type of change that has been made to a feature. Please see the for more information. This code list is used in association with the CHANGE_TYPE (CSV) / change_type (GKPG) attribute.
Value | Description |
---|
The code list describes within which country the feature falls (England, Wales or Scotland). This code list is used in association with the COUNTRY (CSV) / country (GKPG) attribute on the table.
Value | Description |
---|
This code list allows the identification of either a Change-Only Update (COU) Supply or a Full Supply. This code list is used in association with the FILE_TYPE (CSV) attribute found in the record.
Value | Description |
---|
This code list describes the classification code for each feature. The classification codes will be expanded as necessary for future releases.
The new bridge interaction classification codes that are due to be added to this code list in December 2024 are included (and clearly labelled) in the table below.
Value | Description |
---|
This code list identifies the language of the feature displayed. This code list is used in association with the LANGUAGE (CSV) / language (GKPG) attribute found in tables, and also the table for CSV supply.
Value | Description |
---|
Please see the for more information.
Code List Name:
Code List Name:
Code List Name:
Code List Name:
Code List Name:
Dataset Name | Dataset Description |
---|---|
The OS Emergency Services Gazetteer Classification Scheme is available to download from the .
The new bridge interaction classification codes (listed in the Classification Code code list above) will be added to the OS Emergency Services Gazetteer Classification Scheme In December 2024. In the meantime, these codes are available from the as a separate file.
2
In use.
Name and Location of Road Junctions
Road Junction features will be provided for junctions where two or more named or numbered roads intersect. For junctions which have an official name or number, the official names will be provided where identified.
Geographical Names
A subset of Geographical Names features, such as named water and named geographic features, will be provided in the OS ESG. Extensive features greater than 20km² will not be provided.
CT18CA | Aqueduct Over Canal (Available from early December 2024). |
CT18MU | Aqueduct Over Multiple (Available from early December 2024). |
CT18NN | Aqueduct Over No Network (Available from early December 2024). |
CT18PA | Aqueduct Over Path (Available from early December 2024). |
CT18RA | Aqueduct Over Railway (Available from early December 2024). |
CT18RO | Aqueduct Over Road (Available from early December 2024). |
CT18WA | Aqueduct Over Water (Available from early December 2024). |
CT16CA | Bridge Over Canal (Available from early December 2024). |
CT16MU | Bridge Over Multiple (Available from early December 2024). |
CT16NN | Bridge Over No Network (Available from early December 2024). |
CT16PA | Bridge Over Path (Available from early December 2024). |
CT16RA | Bridge Over Railway (Available from early December 2024). |
CT16RO | Bridge Over Road (Available from early December 2024). |
CT16WA | Bridge Over Water (Available from early December 2024). |
CT19CA | Canal Aqueduct Over Canal (Available from early December 2024). |
CT19MU | Canal Aqueduct Over Multiple (Available from early December 2024). |
CT19NN | Canal Aqueduct Over No Network (Available from early December 2024). |
CT19PA | Canal Aqueduct Over Path (Available from early December 2024). |
CT19RA | Canal Aqueduct Over Railway (Available from early December 2024). |
CT19RO | Canal Aqueduct Over Road (Available from early December 2024). |
CT19WA | Canal Aqueduct Over Water (Available from early December 2024). |
CT17CA | Footbridge Over Canal (Available from early December 2024). |
CT17MU | Footbridge Over Multiple (Available from early December 2024). |
CT17NN | Footbridge Over No Network (Available from early December 2024). |
CT17PA | Footbridge Over Path (Available from early December 2024). |
CT17RA | Footbridge Over Railway (Available from early December 2024). |
CT17RO | Footbridge Over Road (Available from early December 2024). |
CT17WA | Footbridge Over Water (Available from early December 2024). |
CT14MJ | Motorway Junction. |
CT20CA | Multi-Network Bridge Over Canal (Available from early December 2024). |
CT20MU | Multi-Network Bridge Over Multiple (Available from early December 2024). |
CT20NN | Multi-Network Bridge Over No Network (Available from early December 2024). |
CT20PA | Multi-Network Bridge Over Path (Available from early December 2024). |
CT20RA | Multi-Network Bridge Over Railway (Available from early December 2024). |
CT20RO | Multi-Network Bridge Over Road (Available from early December 2024). |
CT20WA | Multi-Network Bridge Over Water (Available from early December 2024). |
LO02CR | Named Area Of Coastal Rock. |
CT07RL | Named Area Of Railway Land. |
LW04AS | Named Area Of Sea. |
LW04BA | Named Bay. |
LO02CH | Named Cirque Or Hollow. |
LO02CS | Named Cliff Or Slope. |
LO02HD | Named Coastal Headland. |
LO02RA | Named Coastal Ravine. |
LW04ES | Named Estuary. |
LO02GI | Named Group Of Islands. |
LW04HA | Named Harbour. |
LO02HM | Named Hill Or Mountain. |
LW04IM | Named Inland Water Marsh. |
LO02IS | Named Island. |
ZM05LS | Named Linear Structure. |
LO02CL | Named Other Coastal Landform. |
LO02GA | Named Other Geographic Area. |
LO02OC | Named Other Land Cover. |
LO02OL | Named Other Landform. |
LO02RH | Named Range Of Hills Or Mountains. |
LO02SH | Named Spot Height. |
LW04IW | Named Stretch Of Inland Water. |
LW04TW | Named Stretch Of Tidal Water. |
LO02TC | Named Tidal Land Cover. |
LO02NV | Named Valley. |
LW04WF | Named Waterfall. |
CT15CA | Railway Bridge Over Canal (Available from early December 2024). |
CT15MU | Railway Bridge Over Multiple (Available from early December 2024). |
CT15NN | Railway Bridge Over No Network (Available from early December 2024). |
CT15PA | Railway Bridge Over Path (Available from early December 2024). |
CT15RA | Railway Bridge Over Railway (Available from early December 2024). |
CT15RO | Railway Bridge Over Road (Available from early December 2024). |
CT15WA | Railway Bridge Over Water (Available from early December 2024). |
CT11CA | Road Bridge Over Canal (Available from early December 2024). |
CT11MU | Road Bridge Over Multiple (Available from early December 2024). |
CT11NN | Road Bridge Over No Network (Available from early December 2024). |
CT11PA | Road Bridge Over Path (Available from early December 2024). |
CT11RA | Road Bridge Over Railway (Available from early December 2024). |
CT11RO | Road Bridge Over Road (Available from early December 2024). |
CT11WA | Road Bridge Over Water (Available from early December 2024). |
CT14RJ | Road Junction. |
CT14RD | Roundabout. |
CT21CA | Underpass Under Canal (Available from early December 2024). |
CT21MU | Underpass Under Multi-Network (Available from early December 2024). |
CT21NN | Underpass Under No Network (Available from early December 2024). |
CT21RA | Underpass Under Railway (Available from early December 2024). |
CT21RO | Underpass Under Road (Available from early December 2024). |
I | Insert. |
U | Update. |
D | Delete. |
E | England. |
W | Wales. |
S | Scotland. |
F | Signifies the supply is a Full Supply. |
C | Signifies the supply is a COU file. |
ENG | English. |
CYM | Welsh. |
The following sub-sections provide details about the attributes included with this data type.
Please note, a header record is not provided in GPKG and the attributes that follow refer to only CSV.
Identifies the record as a Header Record (type 10).
Attribute Name: RECORD_IDENTIFIER (CSV)
Type: Integer
Size: 2
Nullable: false
Data Schema Version: 1.0
The name of the data provider organisation.
Attribute Name: CUSTODIAN_NAME (CSV)
Type: char
Size: 40
Nullable: false
Data Schema Version: 1.0
The unique identifier for the data provider code.
Attribute Name: LOCAL_CUSTODIAN_CODE (CSV)
Type: Integer
Size: 4
Nullable: false
Data Schema Version: 1.0
The date on which the data supply was generated.
Attribute Name: PROCESS_DATE (CSV)
Type: Date
Nullable: false
Data Schema Version: 1.0
The sequential number of the volume in the transfer set.
For geographic supplies, this number will always be zero (0).
Attribute Name: VOLUME_NUMBER (CSV)
Type: Integer
Size: 3
Nullable: false
Data Schema Version: 1.0
The date of data entry for this volume.
Attribute Name: ENTRY_DATE (CSV)
Type: Date
Nullable: false
Data Schema Version: 1.0
The time of file creation in HH:MM:SS format in a 24-hour clock.
Attribute Name: TIME_STAMP (CSV)
Type: Time
Nullable: false
Data Schema Version: 1.0
The version number of the product schema, for example, 1.0, 2.0.
The version number relates to the product schema and not to this Technical specification document.
Attribute Name: VERSION (CSV)
Type: char
Size: 7
Nullable: false
Data Schema Version: 1.0
Indicates whether the data supply is a Full Supply or a Change-Only Updates Supply.
Attribute Name: FILE_TYPE (CSV)
Type: FileTypeCode
Size: 1
Nullable: false
Data Schema Version: 1.0
The sub-pages in this section define dataset metadata for the CSV format of OS Emergency Services Gazetteer (OS ESG) data:
The attributes associated with each data type are listed on the following pages. The following information can be found about each attribute:
The name of the attribute and what it is describing.
The nature of the attribute (for example, a numeric value or a code list value).
The maximum length of the values in the attribute.
A True or False value to denote whether the attribute always has to be populated with a value (False) or can be NULL (True).
The schema version the data above applies to.
The following sub-sections provide details about the attributes included with this data type.
Please note, a header record is not provided in GeoPackage and the attributes that follow refer to only CSV.
Identifies the record as a Trailer Record (type 99).
Attribute Name: RECORD_IDENTIFIER (CSV)
Type: Integer
Size: 2
Nullable: false
Data Schema Version: 1.0
The sequential number of the next volume in the transfer set.
For geographic supply, this will always be zero (0). For non-geographic supply, zero (0) denotes the last file in the transfer set.
Attribute Name: NEXT_VOLUME_NAME (CSV)
Type: Integer
Size: 3
Nullable: false
Data Schema Version: 1.0
A count of the number of records in the volume (excluding the header record, metadata and trailer records).
Attribute Name: RECORD_COUNT (CSV)
Type: Integer
Size: 16
Nullable: false
Data Schema Version: 1.0
The date of data entry.
Attribute Name: ENTRY_DATE (CSV)
Type: Date
Nullable: false
Data Schema Version: 1.0
The time of creation in HH:MM:SS format in a 24-hour clock.
Attribute Name: TIME_STAMP (CSV)
Type: Time
Nullable: false
Data Schema Version: 1.0
The following sub-sections provide details about the attributes included with this data type.
Please note, a header record is not provided in GeoPackage and the attributes that follow refer to only CSV.
Identifies the record as a Metadata Record (type 29).
Attribute Name: RECORD_IDENTIFIER (CSV)
Type: Integer
Size: 2
Nullable: false
Data Schema Version: 1.0
The name of the Gazetteer; this will most likely reflect the product name, for example, OS Emergency Services Gazetteer.
Attribute Name: GAZ_NAME (CSV)
Type: char
Size: 60
Nullable: false
Data Schema Version: 1.0
The geographic domain of the gazetteer, for example, England, Wales and Scotland.
Attribute Name: TER_OF_USE (CSV)
Type: char
Size: 60
Nullable: false
Data Schema Version: 1.0
A list of other datasets used to contribute to the creation of the product.
Attribute Name: LINKED_DATA (CSV)
Type: char
Size: 100
Nullable: false
Data Schema Version: 1.0
The organisation with overall responsibility for the gazetteer.
Attribute Name: GAZ_OWNER (CSV)
Type: char
Size: 15
Nullable: false
Data Schema Version: 1.0
The frequency with which the data is maintained and sent to the customer.
Attribute Name: NGAZ_FREQ (CSV)
Type: char
Size: 1
Nullable: false
Data Schema Version: 1.0
The organisation or department responsible for the compilation and maintenance of the data.
Attribute Name: CUSTODIAN_NAME (CSV)
Type: char
Size: 40
Nullable: false
Data Schema Version: 1.0
The Unique Property Reference Number (UPRN) of the custodian location.
Attribute Name: CUSTODIAN_UPRN (CSV)
Type: Integer
Size: 12
Nullable: false
Data Schema Version: 1.0
A four-digit code identifying the gazetteer custodian.
Attribute Name: LOCAL_CUSTODIAN_CODE (CSV)
Type: Integer
Size: 4
Nullable: false
Data Schema Version: 1.0
The coordinate reference system used in the gazetteer to describe the position, for example, British National Grid.
Attribute Name: CO_ORD_SYSTEM (CSV)
Type: char
Size: 40
Nullable: false
Data Schema Version: 1.0
The unit of measurement of coordinates.
Attribute Name: CO_ORD_UNIT (CSV)
Type: char
Size: 10
Nullable: false
Data Schema Version: 1.0
The date on which metadata was last updated.
Attribute Name: META_DATE (CSV)
Type: Date
Nullable: false
Data Schema Version: 1.0
The classification scheme(s) used in the gazetteer.
Attribute Name: CLASS_SCHEME (CSV)
Type: char
Size: 60
Nullable: false
Data Schema Version: 1.0
The date at which the gazetteer can be considered to be current.
Attribute Name: GAZ_DATE (CSV)
Type: Date
Nullable: false
Data Schema Version: 1.0
The language used for the descriptors within the gazetteer, for example, ‘ENG’.
Attribute Name: LANGUAGE (CSV)
Type: LanguageCode
Size: 3
Nullable: false
Data Schema Version: 1.0
The character set used in this gazetteer.
Attribute Name: CHARACTER_SET (CSV)
Type: char
Size: 30
Nullable: false
Data Schema Version: 1.0
This getting started guide provides instructions for using the OS ESG in different software applications. Users with limited technical knowledge will be able to follow this guide.
The OS ESG can be downloaded from the Premium Downloads section of the OS Data Hub.
It comes in two geospatial data formats:
GeoPackage
Comma-separated values (CSV)
The GeoPackage is formed of three tables: LPI, BLPU and Classification. This data does not need pre-processing before it can be used.
The CSV follows the AddressBase Premium data schema and contains rows of data with the following record identifiers: type 21, type 24 and type 32. This schema often requires pre-processing before it can be used. See 'Using the CSV data' on this page for guidance on how to do this.
The GeoPackage format of the OS ESG does not require splitting as a GeoPackage can contain multiple tables.
The GeoPackage data supply contains three tables:
BLPU
LPI
Classification
It’s important to understand that only the BLPU table has a geometry
field and this may dictate how you use it in your GIS software.
For general guidance on how to work with GeoPackage, please read our Getting Started with GeoPackage guide.
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 applications support GeoPackage natively.
It is possible to use Extract, Transform, Load (ETL) tools to convert the data into different formats and to load into databases.
The following sub-section provides step-by-step instructions for FME:
To use GDAL to load the GeoPackage datasets into a PostgreSQL database using the ETL tool, please read and adapt the instructions in the generic Getting Started with GeoPackage guide > GDAL guide.
This section guides you through the process of pre-processing the OS ESG CSV data as a stand-alone dataset; this means splitting the data by record identifiers and appending the header files.
The OS ESG header files are available to download from the OS ESG Downloads page.
We have included instructions for two pre-processing options – gawk and Python:
To load the data into a database, you need to first create the tables and columns required for the data; these can be found in the OS ESG GitHub repository and depend on the type of database you have.
Once you have created the tables, follow the guidance in Loading CSV files to load the data into your database.
Each table in the OS ESG has a UPRN (Unique Property Reference Number). This identifier is what links the rows of data together between tables.
Please follow guidance from your software provider on how to join datasets if using the CSV or GeoPackage directly (without a database load)
If you have the data in a database you can link it in the following way:
The OS ESG classification scheme is available to download from the OS ESG Downloads page.
A helpful introductory Lightning Talk on the OS ESG is available on our 'More than Maps' site (a self-serve platform that provides a one-stop shop for all your OS technical geospatial support, including tutorials, demonstrators and case studies).
This code list is an indicator of whether a features record corresponds to an entry in the official Street Name and Numbering register. This code list is used in association with the OFFICIAL_FLAG (CSV) / official_flag (GKPG) attribute found on the LPI table.
Value | Description |
---|---|
The code list identifies the accuracy value of the coordinates allocated to the feature. This code list is used in association with the RPC (CSV) / rpc (GKPG) attribute found on the BLPU table.
Value | Description | Implementation notes |
---|---|---|
This code list identifies how the USRN has been allocated to a features record. This code list is used in association with the USRN_MATCH_INDICATOR (CSV) / usrn_match_indicator (GKPG) attribute found on the LPI table.
Value | Description |
---|---|
The header files (CSV format only) and classification scheme for the OS ESG are available to download from this page.
To follow the separation of record type, the CSV (Comma-Separated Values) headers for each record type are available to download here:
The record types are provided in the following order:
Information and instructions about how to append the header files is available in the OS ESG Getting Started Guide.
Download the OS ESG Classification Scheme file below to understand the classification codes used for features and their breakdown:
The new bridge interaction classification codes (listed in the Classification Code code list) will be added to the OS Emergency Services Gazetteer Classification Scheme in December 2024. In the meantime, they are available in the following separate file:
In the top navigation, select Map > Add Data .
Click the Add Data button at the top of the workspace.
N
Unofficial Address.
2
General Internal Position
The address seed is contained within an OS MasterMap Topography Layer building but is more than 2.5m away from its calculated centre. Or The seed is in an internal position based on the nature of the premises, for example, Development Land, House Boat.
2
Matched spatially to the nearest USRN. Not necessarily the access street.
1
Approved.
3
Alternative.
8
Historical.
Complex junctions error
At some complex junctions (where many Road Links intersect), multiple junction features are being created, rather than the one required.