LogoLogo
OS Docs HomeOS NGDOS APIsOS Download ProductsMore than MapsContact Us
  • More than Maps
  • Geographic Data Visualisation
    • Guide to cartography
      • Introduction to cartography
      • Types of maps
      • Symbology
      • Colour
      • Text on maps
      • Generalisation
      • Coordinate reference systems
      • Projections
      • Scale
      • Map legends
      • Map layout
      • Relief representation
      • North arrows
    • Guide to data visualisation
      • Introduction to data visualisation
      • GeoDataViz design principles
      • Types of visualisation
      • Thematic mapping techniques
      • Data visualisation critique
      • Accessible data visualisation
      • Ethical data visualisation
      • Software
      • Data
    • GeoDataViz assets
      • GeoDataViz basemaps
      • Stylesheets
      • GeoDataViz virtual gallery
      • Equal area cartograms
      • How did I make that?
        • Apollo 11 Landing
        • North York Moors National Park, 70 years
        • Snowdonia National Park, 70 years
        • Great Britain's National Parks
        • Great Britain's Islands
        • Great Britain's AONB's and National Scenic Areas
        • Famous shipwrecks of Pembrokeshire
        • Trig pillars today
        • Britain's most complex motorway junctions
      • #30DayMapChallenge
  • Data in Action
    • Examples
  • Demonstrators
    • 🆕Product Viewer
    • Addressing & location demonstrators
      • Address Portfolio overview
      • Which address product should you use?
      • AddressBase
      • AddressBase Core
      • AddressBase Plus
      • AddressBase Premium
      • Address Classifications
      • Addressing Lifecycle
      • OS Emergency Services Gazetteer
      • What are Vertical Streets?
      • Why are there differences in boundaries?
    • Contextual demonstrators
    • Customer best practice
      • Channel Shift
      • Data Management and OS Data Hub
      • End User Licence vs Contractor Licence
      • 🆕 IDs vs Spatial Relationships
      • Why we should capture good quality addresses at source
      • Why we Snap and Trace
    • Network Demonstrators
      • OS Detailed Path Network
      • OS Multi Modal Routing Network
        • OS Multi Modal Routing Network
      • Water Networks overview
      • OS MasterMap Highways Network and OS NGD Speeds
      • OS MasterMap® Highways Network and OS Open Roadsâ„¢
    • OS MasterMap Generation APIs
      • Using the OS Features API
      • Using the OS Features API Archive
      • Using the OS Downloads API
      • Using OS APIs in ESRI Software
    • 🆕OS NGD (National Geographic Database)
      • OS NGD Address
      • OS NGD Boundaries
      • 🆕OS NGD Buildings
        • 🆕Building and Building Access Feature Types
        • Building Part and Building Line Feature Types
      • 🆕OS NGD Geographical Names
      • OS NGD Land
      • OS NGD Land Cover enhancements
      • 🆕OS NGD Land Use
      • OS NGD Land Use enhancements
      • 🆕OS NGD Structures
        • 🆕OS NGD Structures
        • Field Boundaries
      • 🆕OS NGD Transport Features
      • 🆕OS NGD Transport Network
      • OS NGD Transport RAMI
      • OS NGD Water Features
      • OS NGD Water Network
      • OS NGD API - Features
      • Ordering OS NGD data
      • Change only updates
      • OS NGD Versioning
      • Creating a topographic map from OS NGD Data
      • Analytical styling for OS NGD data
    • OS MasterMap® demonstrators
    • 🆕Product & API Comparisons
      • 🆕Comparison of Water Network Products
  • Tutorials
    • GeoDataViz
      • Thematic Mapping Techniques
      • Downloading and using data from the OS Data Hub
      • How to download and use OS stylesheets
      • How to use the OS Maps API
      • Creating a bespoke style in Maputnik
    • GIS
      • Analysing pavement widths
      • Basic routing with OS Open Data and QGIS
      • Walktime analysis using OS Multi-modal Routing Network and QGIS
      • Creating 3D Symbols for GIS Applications
      • Constructing a Single Line Address using a Geographic Address
      • Creating a Digital Terrain Model (DTM)
      • Visualising a road gradient using a Digital Terrain Model
      • Visualising a road gradient using OSMM Highways
    • 🆕APIs
      • 🆕Using OS APIs with EPC API
      • 🆕OS APIs and ArcGIS
  • Deep Dive
    • Introduction to address matching
    • Guide to routing for the Public Sector
      • Part 1: Guide to routing
      • Part 2: Routing software and data options
      • Part 3: Building a routable network
    • Unlocking the Power of Geospatial Data
    • Using Blender for Geospatial Projects
    • A Guide to Coordinate Systems in Great Britain
      • Myths about coordinate systems
      • The shape of the Earth
      • What is position?
        • Types of coordinates
        • We need a datum
        • Position summary
      • Modern GNSS coordinate systems
        • Realising WGS84 with a TRF
        • The WGS84 broadcast TRF
        • The International Terrestrial Reference Frame (ITRF)
        • The International GNSS Service (IGS)
        • European Terrestrial Reference System 1989 (ETRS89)
      • Ordnance Survey coordinate systems
        • ETRS89 realised through OS Net
        • National Grid and the OSGB36 TRF
        • Ordnance Datum Newlyn
        • The future of British mapping coordinate systems
        • The future of British mapping coordinate systems
      • From one coordinate system to another: geodetic transformations
        • What is a geodetic transformation?
        • Helmert datum transformations
        • National Grid Transformation OSTN15 (ETRS89–OSGB36)
        • National Geoid Model OSGM15 (ETRS89-Orthometric height)
        • ETRS89 to and from ITRS
        • Approximate WGS84 to OSGB36/ODN transformation
        • Transformation between OS Net v2001 and v2009 realisations
      • Transverse Mercator map projections
        • The National Grid reference convention
      • Datum, ellipsoid and projection information
      • Converting between 3D Cartesian and ellipsoidal latitude, longitude and height coordinates
      • Converting between grid eastings and northings and ellipsoidal latitude and longitude
      • Helmert transformation worked example
      • Further information
  • Code
    • Ordnance Survey APIs
    • Mapping
    • Routing with pgRouting
      • Getting started with OS MasterMap Highways and pgRouting
      • Getting started with OS MasterMap Highways Network - Paths and pgRouting
      • Getting started with OS NGD Transport Theme and pgRouting
      • Getting started with OS NGD Transport Path features and pgRouting
  • RESOURCES
    • 🆕Data Visualisation External Resources
Powered by GitBook

Website

  • Ordnance Survey

Data

  • OS Data Hub
On this page
  • What is Geographic Data Visualisation?
  • The benefits of GeoDataViz
  • Why is visualising analytical data helpful?​
  • Colour palettes for different data types
  • Labelling OS NGD data​
  • Styling OS NGD labels​
  • Labelling OS NGD data​
  • Adding labels to network data​
  • Styling OS NGD data on attribute values​

Was this helpful?

  1. Demonstrators
  2. OS NGD (National Geographic Database)

Analytical styling for OS NGD data

A Lightning Talk

PreviousCreating a topographic map from OS NGD DataNextOS MasterMap® demonstrators

Last updated 8 months ago

Was this helpful?

What is Geographic Data Visualisation?

Geographic Data Visualisation (or GeoDataViz) is the technique of presenting data visually. It doesn’t always have to be geographic data, but in our case at OS, it tends to have a spatial nature. ​

​It is a broad term, encompassing maps but also animations, charts, 3D visuals and dashboards. ​

Much more on this topic can be found in our

The benefits of GeoDataViz

So, why is GeoDataViz useful for you? Well, it can help you to…​

Why is visualising analytical data helpful?​

The OS National Geographic Database is really richly attributed, which makes it perfect for using analytically to solve complex problems across a huge range of sectors.​

​Whether you’re using the OS NGD in a GIS, manipulating it using something like PostGIS or Dbeaver, or coding with Python or R to pull out and interrogate the data – it can be very useful to be able to visualise what the data is showing you. ​

​This will allow you to better communicate the message of your data – whether to yourself, to colleagues, stakeholders or customers.

Colour palettes for different data types

Data comes in different types, and in order to make the best sense of it, it’s important to use the right colour palette. It’s also good to think about avoiding clashing colours, and where possible to ensure that your colour palette is accessible for those with colour visual deficiency.​

​See the 3 types of data and example colour palettes for each below:​

Labelling OS NGD data​

Adding labels to your dataset is a really easy way to add geographical context, and easily demonstrate information which may have otherwise been overlooked e.g. location of a school or the location of a high street. ​

​The OS NGD is an analytical dataset, which means it doesn’t have a separate labelling layer like ‘cartotext’ in the OS MasterMap Topography Layer.​

​However, it is possible to add labels to help with interpretation of OS NGD data. Many of the feature types within the OS NGD have a ‘name1_text’ attribute, which contains naming information that you can use to generate labels from. ​

In the image above we have also used the ‘topographic_area’ AND ‘topographic_line’ layers from OS MasterMap Topography, in the ‘Light’ style as a basemap. ​

Styling OS NGD labels​

Now that you’ve generated some labels, you may see that they aren’t placed as well as they could be, or are ​

​For Land Use -> Features -> Sites, the polygons are attributed as such that labels will only appear on every few buildings, as not to overwhelm your map with labels. ​

​Here, we have also applied some styling to the labels so that they fit with our cartographic style of the map. This was:​

  • Amending the font​

  • Changing the font size​

  • Adding a white halo to the text so that it has sufficient contrast from the backdrop​

  • Setting the label placement to be centred in the middle of the Site polygon. ​

Labelling OS NGD data​

Here we are using the Land Use -> Features -> Sites layer from the OS NGD, which shows the full extent of a site as one polygon. The labels for these polygons will sit roughly in the centre of the site, which may not always be where the building sits within the site. Therefore, there may be some instances where the label sits within the site, but not on top of the building feature it is referring to. ​

Adding labels to network data​

We can do a similar thing to label some of the network datasets in the OS NGD. ​

​Upon applying labels to the road network dataset, for example, you’ll see that these repeat very regularly and labels are applied to every segment of the network, which isn’t always helpful from a cartographic perspective. ​

​We have tweaked the label style by doing the below to create the label style seen at the bottom on the right hand side:​

  • Told it not to repeat labels within 50 millimeters on the same line feature​

  • Changed the font and font size​

  • Added a halo to our text to increase the contrast. ​

In the image above the labels have been generated from name1_text + set label spacing buffers + format font size and colours + add a halo​

Styling OS NGD data on attribute values​

By using the previously mentioned colour palettes to style OS NGD data, it becomes much easier to interpret. You can identify trends, outliers, and spatial patterns in the data much more easily than you may have if you hadn’t presented this analytical dataset in a visual way.​

​See the three below examples for evidence of this:​

  • Left - OS NGD Building connectivity, styled with a Red-Amber-Green colour palette;

  • Centre - OS NGD Building use, styled with a qualitative colour palette

  • Right - OS NGD Transport Network: Road Link styled with a sequential colour palette


Links that may be useful:

This content has been developed from what was originally a Lightning Talk PowerPoint slide set. These slides are available to PSGA members to view and download from the

PSGA members area of the OS website
🆕
Guide to data visualisation
OS NGD Documentation Platform | osngd
Logo
OS Data HubOrdnanceSurvey
Logo
OS Select+Build | OS productsOrdnance Survey
An example of a 3D data visualisation
Labelling OS NGD sites on ‘name1_text’ attribute value.​
Styling the OS NGD Sites labels to help with map aesthetics and interpretation.​
Clifton College label within the site, but not on the College building
Page cover image
Logo