You can either fork the stylesheets from the GitHub repository or download the repository and extract the files.
Four different types of stylesheets are provided (SLD, LYR, LYRX and QML) to help users apply the styles in as many applications as possible. Each stylesheet type is discussed in a separate section below.
Styled Layer Descriptors (SLD) stylesheets
Styled Layer Descriptor (SLD) stylesheets are used by a number of desktop applications and geographic servers for styling both vector and raster data. SLDs are an OGC standard.
Note: The SLDs released by OS were written and tested in GeoServer; you may need to adapt them to work with your software.
The following steps guide you through the process of loading the SLDs in GeoServer and associating them with OS MasterMap Topography Layer.
The instructions assume that you have already setup a workspace and store, and added the OS MasterMap Topography Layer data.
To use the SLD stylesheets:
Login to the GeoServer admin panel.
Geoserver UI displaying the Welcome screen
Click Open Layers in the Data menu in the left panel to view the OSMM topography layers: “boundaryline”, “cartographicsymbol”, “cartographictext”, “topographicarea”, “topgraphicline” and “topographicpoint”.
Click Choose File in the Style file field at the bottom of the page, select one of the SLD files on your computer, and click Upload.
Geoserver Style file field in the Styles UI
The page will refresh to display the uploaded SLD file.
Geoserver New style UI showing uploaded SLD stylesheet
Click Submit.
Repeat this procedure (steps b. to e. above) for the other SLD files.
To associate the uploaded SLD files with their respective data layers:
Click Layers in the Data menu in the left panel.
Geoserver Data menu options
Click a layer (for example, “topographicarea”) to open the Edit Layer view.
Geoserver Edit Layer UI
Select the Publishing tab, scroll to the Default Style field, and select the SLD (uploaded in the previous step) that matches the selected data layer in drop-down menu.
Geoserver Default Style Style field
Repeat this procedure (steps a. to c. above) for the other layers.
Once all the SLDs have been associated with layers you can view the data.
The SLDs have a minimum viewing scale of 1:4000.
We recommend adding a background colour layer of RGB (228, 244, 247).
LYR (Esri Layer) stylesheets
The following steps guide you through the process of loading the LYR (Esri Layer) stylesheets in ArcMap and associating them with OS MasterMap Topography Layer.
To use the LYR (Esri Layer) stylesheets:
Install the OSMasterMap font on your computer:
This gives you the OS MasterMap symbology.
Navigate to the “OSMM-Topography-Layer-stylesheets/Schema version 9/Stylesheets/ESRI stylesheets (LYR)” folder and double-click “OSMasterMap.ttf”.
Click Install in the OSMasterMap (True Type) dialog.
You may need Administrator privileges to install a new font.
OSMAsterMap font installation
In ArcMap, open a new blank map.
Use the Catalog to navigate to “OSMM-Topography-Layer-v9.lyr” and load it into your project.
ArcMap UI showing OSMM Topography Layer (with all data layers) loaded in the Layers panel
The red exclamation marks next to the layer names means you need to repair the data source.
Connect the LYR stylesheets to the OS MasterMap Topography Layer data layers:
Double-click a layer, for example “TopographicArea”.
In the Layer Properties dialog, select the Source tab and click Set Data Source.
In the Data Source dialog, navigate to the database containing OS MasterMap Topography Layer, select the matching layer, and click Add.
ArcMap Data Source dialog showing OSMM Topography data layers.
Repeat this procedure (the three steps above) for the other data layers.
We recommend setting a reference scale of 1:2000 and viewing the map between 1:500 and 1:4000 for maximum legibility. The minimum viewing scale is set at 1:4000.
We also recommend adding a background colour layer of RGB (228, 244, 247).
Your map should now look similar to this:
ArcMap window showing OSMM Topography data layers loaded into the main data window
LYRX (ArcGIS Pro) stylesheets
The following steps guide you through the process of loading the LYRX stylesheets into ArcGIS Pro and associating them with OS MasterMap Topography Layer.
To use the LYRX stylesheets:
Install the OSMasterMap font on your computer: This gives you the OS MasterMap symbology.
Navigate to the “OSMM-Topography-Layer-stylesheets/Schema version 9/Stylesheets/ArcGIS Pro stylesheets (LYRX)” folder and double-click “OSMasterMap.ttf”.
Click Install in the OSMasterMap (True Type) dialog.
OSMasterMap (TrueType) dialog
You may need Administrator privileges to install a new font.
In ArcGIS Pro, open a new blank map.
Use the Catalog to navigate to “OSMM Topography Layer (Preferred style).lyrx” and load it into your project.
ArcGIS Pro UI showing OSMM Topography Layer (with all data layers) loaded in the Contents panel
The red exclamation marks next to the layer names means you need to repair the data source.
To fix the broken data links, connect the LYRX stylesheets to the OS MasterMap Topography Layer data layers:
Double-click a layer, for example “TopographicArea”.
In the Change data source dialog, navigate to the database containing OS MasterMap Topography Layer, select the matching layer, and click Add.
ArcGIS Pro Data Source dialog showing OSMM Topography data layers
Repeat this procedure (steps a. and b. above) for the other data layers.
We recommend setting a reference scale of 1:2000 and viewing the map between 1:500 and 1:4000 for maximum legibility. The minimum viewing scale is set at 1:4000.
We also recommend adding a background colour layer of RGB (228, 244, 247).
Your map should now look similar to this:
ArgGis main map window with OSMM Topography data layers shown
QML (QGIS) stylesheets
The following steps guide you through the process of loading the QML stylesheets in QGIS and associating them with OS MasterMap Topography Layer.
To use QML (QGIS) stylesheets:
Navigate to the “OSMM-Topography-Layer-stylesheets/Schema version 9/Stylesheets/QGIS stylesheets (OML)” folder and double-click “OSMasterMap.ttf”.
Click Install in the OSMasterMap (True Type) dialog.
OSMasterMap (TrueType) dialog
You may need Administrator privileges to install a new font.
Copy the “osmmsymbols” folder into the QGIS “svg” folder on your computer.
The “osmmsymbols” folder is in “OSMM-Topography-Layer-stylesheets/Schema version 9/Stylesheets/QGIS stylesheets (QML)” folder of the extracted GitHub files.
The “svg” folder is typically in “C:\<program folder>\QGIS <version>\apps\qgis-ltr\svg”, for example, “C:\Program Files\QGIS 3.22.4\apps\qgis-ltr\svg”.
You may need to re-open QGIS if you had it open during this step.
Load in the OS MasterMap Topography Layer data from your database.
To load the stylesheets:
Double-click a layer to open the Layer Properties dialog:
In the Layer Rendering section (bottom left), click Style > Load Style.
In the Database Styles Manager dialog, click “…” next to the File field, select the QML file (.qml) that matches the selected layer, and then click Load Style.
The QML files are in the “/OSMM-Topography-Layer-stylesheets-master/Schema version 9/Stylesheets/QGIS stylesheets (QML)” folder of the extracted GitHub files.
Click OK to close the Layer Properties dialog.
Repeat this procedure (steps a. to d. above) for the other OS MasterMap Topography Layer layers
For the best visibility, we recommend you order the layers as follows: “cartographictext”, “cartographicsymbol”, “topographicpoint”, “boundaryline”, “topographicline”, “topographicarea”. You can use drag and drop to reorder the layers.
We recommend viewing the map at a scale of between 1:500 and 1:4000. For maximum legibility we have set the minimum viewing scale at 1:4000.
We recommend adding a background colour of R:228,G:244,B:247
Your map should now look similar to this:
Mapbox GL styles
A Mapbox style is a document that defines the visual appearance of a map: what data to draw, the order to draw it in, and how to style the data when drawing it. A style document is a JSON object with specific root level and nested properties. This specification defines and describes these properties.
The Mapbox GL styles (.json) for OS MasterMap Topography Layer Vector Tiles are for use in Mapbox Studio, Maputnik and other compatible software.
They have been designed to work with the data as it is supplied.
The fonts and sprites required for each style are supplied for if you want to use the styles offline/locally. You will need to host these locally and input the host locations into the .json file where prompted.