Apply & Store Styling for an OS MasterMap Topography Layer

Apply & Store Styling for an OS MasterMap Topography Layer

Overview

This guide is aimed at ADS customers that have Astun provided OSMM data extracts stored in their Spatial Data Warehouse (SDW). Here we will show you how to apply styling to an OS MasterMap Topography Layer for QGIS Users and store the styling in your SDW.

Step-by-step guide

  1. Browse to the OSMM-Topography-Layer-stylesheets repository and Download the Zip file.

  2. Unzip the contents and navigate to Schema version 9StylesheetsQGIS stylesheets (QML)

  3. To get the OS MasterMap symbology you need to install the OSMasterMap fonts by double-clicking the
    OSMasterMap.ttf file and a new dialogue window will appear:

  4. Click Install.

  5. Copy the osmmsymbols folder (which you will find in the same folder as the OSMasterMap.ttf e.g. OSMM -Topography-Layer-stylesheets -> Schema version 9 -> Stylesheets -> QGIS stylesheets (QML) directory) into the QGIS SVG directory (a typical Windows file path is C:\Program Files QGIS xxxx\apps\qgis\svg, where xxxx represents whatever version of QGIS you are running).

  6. In QGIS load the OS MasterMap Topography Layer data from your SDW database e.g.

  7. Right-click on a LayerPropertiesStyleLoad Style

  8. Navigate to the directory containing the QML files (those ending .qml) → select the QML file that corresponds to that Layer → click Open → click OK.

  9. Repeat this step for the other OS MasterMap Topography Layers.

  10. OS recommends:

    1. viewing the map between 1:500 and 1:4000 for maximum legibility and we have set the
      minimum viewing scale at 1:4000

    2. the following layer order and visibility

  11. To store the OS Styling to your SDW :

    1. Right-click on a Layer after applying the OS styling and select → PropertiesStyleSave Style  

    2. Select Save style as In Database (Postgres) and enter a Style name → Click OK

  12. The styling is stored in the SDW public.layer_styles table e.g.