๐Ÿ†•Technical specification

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 with pivotal features such as road and motorway junctions.

The OS ESG is structured as a series of relational tables: Basic Land and Property Unit (BLPU) which shows fixed locations, Local Property Identifier (LPI) which identifies the BLPUs, and Classification, which provides feature codes.

Available formats

The OS ESG is published in GeoPackage (GPKG) and Comma-Separated Values (CSV) formats. It will not be released in Geography Markup Language (GML) format.

Note:

The GPKG and CSV and formats conform to the AddressBase Premium specification.

GPKG

Update types: Full supply only.

CSV

Update types: Full supply and COU.

Formats overview

GPKG

GPKG is an open, standards-based data format as defined by the Open Geospatial Consortium (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.

Note:

  • Change only updates (COU) are not available in GKPG format.

  • Older versions of GIS software may need updating before being able to display and interact with GKPG files.

GPKG 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 140 TB, so lots of data can be easily accommodated.

  • 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-in-and-play format.

CSV

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.

  • Change only updates (COU) 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.

This means different record types, for example, BLPUs and LPIs can be found in the same CSV file.

To follow the separation of record type, the CSV headers for each record type are available here:

The record types are provided in the following order:

Last updated