This getting started guide provides instructions for using OS Open Names in different software applications. Users with limited technical knowledge will be able to follow this guide.
OS Open Names is a geographic directory that contains basic information about identifiable places in Great Britain. The content is divided into themes based on type and local type classification values. The data contains accurate and current settlement names, road names and numbers, postcodes and their locations, additional contextual information and links to other datasets. The primary use of the product is to provide the location of named places to support a wealth of activities, such as discovery, identification, visualisation, geocoding, routing and navigation, and linking of diverse information.
This getting started guide focuses on using the product in comma-separated values (CSV) format.
As OS Open Names data is supplied in separate CSV files labelled by two-digit grid references, the files require processing before you can load them into a GIS.
The first step is to combine the individual CSV files with the header CSV file. To move and rename the header CSV file:
Extract opname_csv_gb.zip to a folder on your computer.
Open the Doc folder and either move or copy OS_Open_Names_Header.csv into the Data folder.
Rename OS_Open_Names_Header.csv to a_OS_Open_Names_Header.csv.
Adding the “a_” prefix ensures that the files will be merged in the correct order. The header file will be added first in the output file as it is now at the top of the file list.
This section contains an example of one way to combine the individual CSV files into a single file using a batch (.bat) file.
The combined CSV file will be approximately 1.7Gb with about 2.9 million records. If opened in Microsoft Excel, only the first million records can be seen as the software cannot display more than this.
To combine the CSV files using a batch function:
Copy the following text and paste it into a new Notepad file: copy *.csv outputfile.csv.
Save the Notepad file with the .bat file extension (for example, combine_csv.bat) in the Data folder that contains the 819 CSV files.
Close the .bat file, navigate to the Data folder and double click on the batch (.bat) file that you saved in the previous step.
A MS-DOS window will open automatically and then close when the process is complete.
A new CSV file named outputfile.csv will display in the Data folder. You can now delete the other CSV files if you like.
outputfile.csv contains the content previously in the 819 individual CSV files that was copied over during the batch file process.
You will now have an output file that is ready to be used in a GIS application or database.
outputfile.csv might be too large to be opened in a text editor such as Excel.
The OS Open Names product is supplied in three formats (CSV, GML and GeoPackage) as an online download and as an application programming interface (API), both of which can be accessed from the OS Data Hub.
Updates are supplied quarterly (January, April, July and October) and are provided as a complete resupply. Any features that are deleted between supplies are not included in the resupply.
OS Open Names covers named places for Great Britain.
The approximate file size of each data format is as follows:
CSV: 1.65Gb
GML: 9.1Gb
GeoPackage: 2.1Gb
The file structure of OS Open Names CSV format supply is:
Root folder: Readme.txt (summary of supplied data).
Doc folder: OS_Open_Names_Headers.csv (description of column headers) and licence.txt (important licencing information).
Data folder: 819 files in CSV format.
Each file contains data for a 20x20km area labelled with the corresponding grid reference, for example, HP40.csv.
The structure of OS Open Names supplied in CSV is described in the Technical Specification.
The file structure of OS Open Names GeoPackage format supply is:
Root folder: Readme.txt (summary of supplied data).
Doc folder: licence.txt (important licencing information).
Data folder: opname_gb.gpkg (single file in GeoPackage format).
This file is a self-contained database.
The structure of OS Open Names supplied in GeoPackage
The file structure of OS Open Names GML format supply is:
Root folder: Readme.txt (summary of supplied data).
Doc folder: OS_Open_Names_Headers.csv (description of column headers) and licence.txt (important licencing information).
Data folder: 819 files in GML format.
Each file contains data for a 20x20km area labelled with the corresponding grid reference, for example, HP40.gml.
The structure of OS Open Names supplied in GML format is described in the Technical Specification.
OS Open Names metadata is ISO 19115 UK GEMINI 2 compliant. For more information, see OSOpenNames.xml.
This section describes how to load the combined CSV output file into five commonly-used GIS applications:
For guidance on using the product in GeoPackage format, please see the.